Fetching connector from jmx by name

2020-11-30 Thread Fred Al
Hello! Is it possible to put an identifier on a connector and use that identifier to retrieve the connector by identifier from JMX? Regards Fredrik

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Fred Toth
I've been going down this trail. Thanks again, Fred On 6/9/2014 1:03 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fred, On 6/9/14, 10:59 AM, Fred Toth wrote: I'm confused. I thought (apparently mistakenly) that there was always a session, but I mus

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Fred Toth
as soon as I click on the manager or status links, I get the key. So I guess there's a key available only when code creates a session? And not all the time, even though (I think) there's a session cookie all the time? I'd appreciate any clarification on this. Thanks, Fred

Re: Adding user session id to access log with %S doesn't work?

2014-06-08 Thread Fred Toth
Hi Dan, Yes, the rest of the log is correct, and yes, I am certain I have an active session (I can see the cookie in my browser). Thanks, Fred On 6/8/2014 4:30 PM, Daniel Mikusa wrote: On Jun 8, 2014 4:01 PM, "Fred Toth" wrote: Hi, This feature is in the doc since at least tom

Adding user session id to access log with %S doesn't work?

2014-06-08 Thread Fred Toth
some trick to this? I haven't found anything online or in bugzilla. Also posted to stack overflow: http://stackoverflow.com/questions/24110188/cant-configure-tomcat-access-log-session-id-with-s Thanks, Fred

Re: Mystery migrating from tomcat 6 to 7

2012-11-13 Thread Fred Toth
x27;ve been carrying this along as the application and servers and frameworks have evolved. In this current case, it appears to be completely unnecessary. Thanks again, Fred

Re: Mystery migrating from tomcat 6 to 7

2012-11-12 Thread Fred Toth
On 11/12/2012 4:24 PM, Konstantin Kolinko wrote: 2012/11/13 Fred Toth : Hello again, I've found my problem, sort of. In this particular application, ever since tomcat 5, we've been remapping the DefaultServlet url-pattern. Works fine in 5 and 6, but not in 7. Which means I'

Re: Mystery migrating from tomcat 6 to 7

2012-11-12 Thread Fred Toth
why having this setup in tomcat 7 causes my app to fail completely, but taking this out cures the core problem. URLs start working properly, but now I have access control problems that were solved by the above. Could be the topic of another thread after I dig some more. Thanks, Fred On 11/1

Re: Mystery migrating from tomcat 6 to 7

2012-11-12 Thread Fred Toth
d no, we're not using an NFS share. Normal mount points. (I'm curious though. What's wrong with running the app from NFS?) Any other ideas about where I can look? Again, all I have to do is switch to tomcat 6 and everything works normally. Thanks all, Fred On 11/7/2012 3:20 PM, P

Re: Mystery migrating from tomcat 6 to 7

2012-11-02 Thread Fred Toth
startup in 7487 ms". Also, no amount of waiting changes behavior. Again, when I get my 404 errors, I get nothing in catalina.out, as if to say tomcat isn't even seeing the request as an error. (Note also that I'm running on port 80 temporarily while debugging.)

Mystery migrating from tomcat 6 to 7

2012-11-02 Thread Fred Toth
d be "/data/whatever", but somehow it appears that though the app deployed, the context is somehow wrong or broken. Also, the manager app lists the application normally, shows it as running, shows it at the correct context, etc. Anybody seen this? For reference, here's

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
Just for information, I got to run tomcat7 on AWS Linux (CentOS) as a daemon and using port 80. Cheers, Fred On Sat, Aug 25, 2012 at 4:24 PM, Fred Janon wrote: > Thanks Martin. > > I get a warning in the system log at boot time, I don't understand what it > means or wh

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
Thanks Martin. I get a warning in the system log at boot time, I don't understand what it means or where it comes from: *warning: `jsvc' uses 32-bit capabilities (legacy support in use)* Any idea? Thanks Fred On Sat, Aug 25, 2012 at 3:11 PM, Martin Gainty wrote: > > Its

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
g.2012-08-25.txt -rw--- 1 tomcat tomcat0 Aug 25 09:47 manager.2012-08-25.log Thanks all for your help. Fred On Sat, Aug 25, 2012 at 11:30 AM, Fred Janon wrote: > Hi Martin, > > I realized that some of the directories were created with the ec2-user in > some of my previous trie

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
Hi Martin, I realized that some of the directories were created with the ec2-user in some of my previous tries before running daemon.sh. I am deleting all these dirs/files and see if daemon.sh works now. Cheers, Fred On Sat, Aug 25, 2012 at 9:20 AM, Fred Janon wrote: > Thanks for

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
I assumed that jsvc would take that identity to do everything, including creating the dirs and files. Thanks Fred On Sat, Aug 25, 2012 at 3:40 AM, Martin Gainty wrote: > save yourself a ton of permission-errors grief > > login tomcat > mkdir /datadisk1/tomcat/conf/Catalina/localho

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Fred Janon
Thanks for all of that, Chris. Cheers, Fred On Fri, Aug 24, 2012 at 9:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Fred, > > On 8/24/12 12:02 PM, Fred Janon wrote: > > Excellent, thank

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-24 Thread Fred Janon
ee the whole command passed to jsvc but I am not fluent in shell scripts and I can't get to echo it yet. Fred On Fri, Aug 24, 2012 at 10:45 PM, Jeff MAURY wrote: > It probably means your current user (ec2-user) has not the rights to run as > tomcat user. > Try the same command with sud

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Fred Janon
Hi Chris, Excellent, thanks for all these suggestions. I never really understood why Tomcat standalone would be that much slower than something else serving files like you pointed it out. So good things to look at and try out. thanks for the SSL pointer as well, I need it. Thanks again. Fred

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-24 Thread Fred Janon
talina start INFO: Server startup in 1613 ms I am not sure my "export TOMCAT_USER=tomcat" is right, or if I am missing something. Regards, Fred On Fri, Aug 24, 2012 at 12:01 PM, Jeff MAURY wrote: > Fred, > > you are getting confused by the term OpenJDK. It comes in two flavor, J

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-23 Thread Fred Janon
K, but not in the Linux one. Cheers, Fred On Fri, Aug 24, 2012 at 7:51 AM, Jeff MAURY wrote: > You need a JDK to be installed on your machine and it seems you've only a > JRE > > Jeff > > > On Thu, Aug 23, 2012 at 10:12 PM, Fred Janon wrote: > > > Hi, > >

Re: redirecting people to maintenance mode

2012-08-23 Thread Fred Janon
;s default configuration, so httpd beats Tomcat out-of-the-box." Do you mean the Default Servlet configuration ( http://tomcat.apache.org/tomcat-7.0-doc/default-servlet.html )or any servlet? Where can I learn more about optimizing serving static content with Tomcat? I want to stick with Tomcat alone

Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-23 Thread Fred Janon
t; >&6 { { echo "$as_me:$LINENO: error: You should retry --with-os-type=SUBDIR" >&5 echo "$as_me: error: You should retry --with-os-type=SUBDIR" >&2;} { (exit 1); exit 1; }; } fi fi - Thanks Fred

Apache/Tomcat_means...?

2011-06-22 Thread Fred
on server separatelyThanks in advance, Fred,

Tomcat app. can no longer connect to MySQL

2010-03-28 Thread fred basset
ame result. Nothing has changed recently in the area of database connectivity. The platform is Fedora Core 10, latest versions of Tomcat, Hibernate and the JDK. Any ideas? Thkx, Fred 26 Mar 10:57:22 ERROR main org.springframework.web.servlet.DispatcherServlet - Context initializat

Any way to pre-compile JSPs in Tomcat

2010-03-25 Thread fred basset
As per the subject line, can I configure Tomcat to pre-compile the JSPs before we ship out a .war file? thx, Fred - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Tomcat 5.5x Service stops on Console Logout of Win32

2010-03-13 Thread Fred Cheese
w&d=22332 Is there something I'm missing or am I maybe putting -Xrs into the wrong place? I'm using Tomcat5w.exe to edit the service. Thanks! -Fred - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

qn. on redirectPort for AJP

2010-03-13 Thread fred basset
Hi All, What is the redirect port in the config. below used for? Does it mean I need to have a tomcat connector listening on that port if I want to use AJP? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.or

how to configure log4j path to work both in Tomcat and from the CLI?

2010-03-02 Thread fred basset
Hi All, I use log4j, I'm trying to configure it so that log4j uses a non hardcoded path, and it resolves the path both when running under tomcat and running my unit tests from the CLI with ant. Here's the relevant line from log4j.properties: log4j.appender.R.File=${catalina.home}/logs/myapp.log

Re: Viewing JSP's compiled code

2010-01-29 Thread fred basset
7;s" way of doing this is to add a "getXXX" in "p"s class > that calls > The java function and returns the value.  Then, you could just write > something like: > > ${p.XXX} > > Replacing XXX with the name of the function. > > > > -Orig

Re: Viewing JSP's compiled code

2010-01-29 Thread fred basset
n Fri, Jan 29, 2010 at 8:57 AM, Caldarale, Charles R wrote: >> From: fred basset [mailto:fredbasset1...@gmail.com] >> Subject: Viewing JSP's compiled code >> >> Simple question, how do I keep and view the source code generated when >> a JSP is compiled? > > Lo

Viewing JSP's compiled code

2010-01-29 Thread fred basset
Hi All, Simple question, how do I keep and view the source code generated when a JSP is compiled? Thanks, Fred - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: Which version of Tomcat to use on Centos?

2009-11-24 Thread fred basset
Thanks guys, good responses, I think I'll not use the Centos packages and go with the "official" versions for the reasons mentioned. On Tue, Nov 24, 2009 at 2:34 PM, André Warnier wrote: > fred basset wrote: >> >> Hi All, >> >> I've got a new serve

Which version of Tomcat to use on Centos?

2009-11-24 Thread fred basset
hassles is this the best JVM to use with Tomcat or should I use the original version from Sun? Thanks, Fred - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

JNDI-Datasource: what happens if the database is not ready when Tomcat starts?

2009-08-25 Thread Fred Janon
the apps or wait until the DB is ready? Thanks Fred

Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Fred Janon
Yes, I always download the JDK and use the server jvm in there. I don't think the JRE download includes the server jvm anymore, at least not in the few I downloaded lately. Fred On Thu, Aug 13, 2009 at 22:08, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > >

Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Fred Janon
Complementary question: what is the recommended JVM to use with Tomcat: client/jvm.dll or server/jvm.dll? Thanks Fred On Thu, Aug 13, 2009 at 21:56, Christoph Kukulies wrote: > jre_1.5.0_06/client/jvm.dll >

Re: Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native

2009-07-31 Thread Fred Janon
. Cheers, Fred On Fri, Jul 31, 2009 at 22:13, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Fred Janon [mailto:fja...@gmail.com] > > Subject: Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native > > > > I needed to enable HTTPS so I copied the SSL

Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native

2009-07-31 Thread Fred Janon
e logs didn't show any error at all and that Tomcat, mySQL and my app worked great on 3 other machines with XP Pro and SBS. Just sharing for the next person banging her/his head... Fred

Best Linux JVM to use for Tomcat?

2008-11-11 Thread fred basset
Hi All, I have a site running with Tomcat 5.5.27 on Centos 5.2 32 bit. Which is the best JVM on Linux to use with Tomcat? I'm currently using Sun's JDK 1.6.0. Thank you, Fred

Solution to integrating error-page with struts2

2008-09-19 Thread Fred Toth
f we forward a request to DefaultServlet for a resource that doesn't exist, I want to trap that in my struts 2 "not found" action. Thanks. Fred - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [

Re: deploy a war file

2008-05-19 Thread Fred K
hi, there are a few ways: - expend the war manually (jar -xvf my.war) into the ./webapps sub directory of your Tomcat. - use the tomcat manager if installed to upload the war. http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html Rgds - Fred On Tue, May 20, 2008 at 12:26 AM, ashok

Re: Wily Introscope

2008-04-24 Thread Fred K
Hi, yes (solaris and linux - no difference) note that there is some information about on the http://wilytech.com > community (this peer support area is open to all customers). Rgds - Fred On Thu, Apr 24, 2008 at 6:13 PM, Vance A. Arocho <[EMAIL PROTECTED]> wrote: > >

Extending DefaultServlet, broken welcome-file

2008-04-23 Thread Fred Toth
(isDirectory) if there's a welcome file serve the welcome file But no luck. Perhaps this is buried in the ProxyDirContext that abstracts the actual file system resources? Again, I'm lost. Can anyone shed light on this? Thanks, Fred --

Re: Can I move the TomCat installation to another directory ?

2008-04-13 Thread Fred K
applications were not in webapps then you need to check their context e.g. myapps.xml files. Rgds - Fred On Sat, Apr 12, 2008 at 10:41 AM, Ben Stover <[EMAIL PROTECTED]> wrote: > I installed TomCat (under WinXP) to > > D:\server\java\TomCat\ > > Can I just move the whole dire

Tomcat Smart Card (CAC card) problem

2007-02-28 Thread Thurber, Fred
I am trying to get a smart card to work with Tomcat. The smart card in question is a DoD CAC (Common Access Card). I believe that I have setup my Connector element correctly in my server.xml: The issue seems to be with the IE /Tomat handshake. When IE hits my Tomcat site, it puts up a di

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-02-01 Thread Fred K
Hi Kamal, Not sure if this makes a difference in this case. When I compiled apache I added a flag with: export LDFLAGS="-static-libgcc" to statically link the libgcc. Rgds, Fred On 2/1/07, Kamalakar Vuggumudi <[EMAIL PROTECTED]> wrote: Thanks Rainer. I found libgcc_s.so i

Ajp connector attributes *Processors vs *Threads

2006-07-13 Thread Fred K
s. So the questions are: - what is the difference between the *Processors and the *Threads ? - if they are equivalent then why is maxProcessors defaults 20 and the maxThreads default is 10 times more: 200? - what happens when both set of attributes are set? Many Thanks - Fred

5.5.17, Fedora 5, Selinux

2006-05-04 Thread Fred Harris
Is anybody running TC 5.5.17 on Fedora 5? I'm having problems with selinux. If I turn selinux off, everything's fine. Does anybody know how to disable it specifically for Tomcat or Java? I'm getting messages like the following. It's some kind of execmem test which I don't know how to turn o

Suggestion for documentation update about jvmRoute

2006-02-12 Thread Fred K
when using the JK load balancer, this identifier must match the corresponding worker's name defined in the JK workers.properties configuration. Regards - Fred

weird mod_jk loggin delay?

2006-02-05 Thread Fred K
instantly. With 1.2.3-dev it wrote the logfile instantly. Does anybody observe this too ? Is this unique to my installations? Am I missing some configuration setting ? Is there some log buffer ? Where do I need to look, I do not think i see any buffer setting in mod_jk.c? Your help is greatly

Broken Architecture documentation pdf on tomcat.apache.org

2006-01-29 Thread Fred K
EHPFDM+Arial'. Some characters may not display or print correctly." Should I reopen the bugzilla ticket? Many thanks - Fred

Configuring and using jkstatus for only one Tomcat instance

2006-01-29 Thread Fred K
ill it take more resources, more memory, leakage,) Your help is greatly appreciated, Regards - Fred

Why does mod_jk write a file ./conf/ajp13.id

2006-01-29 Thread Fred K
help is greatly appreciated, Thank you - Fred

Is mod_jk buffering its log ? Is this a problem ?

2006-01-29 Thread Fred K
with some partial character loss (that was not the case for version 1.2.3-dev). Am I missing some configuration setting ?? Where do I need to look ? Your help will be greatly appreciated, Thank you - Fred

Get install directory?

2005-12-07 Thread Fred Baube
Hi all, How can I find out what directory Tomcat was installed to, so that I can navigate its directories ? Do I have to check environment variables ? thx fred -- F.Baube [EMAIL PROTECTED] - To unsubscribe, e-mail