RE: Change the deployment path to another name than the .WARs name + WAR specific Classpath

2009-08-09 Thread fritzdimmel
Hi, Thanks a lot! This was the solution to my problem. I've another questions regarding WAR-specific configuration: Is it possible to: -) configure CLASSPATH extensions to single WAR files (maybe directly in this config file (cont/Catalina//.xml)) -) do configuration settings to override configs

Re: Console Output Not Going Anywhere

2009-08-09 Thread Allen Williams
Well, I'm not too sure what I did, but now I'm getting the System.err.println messages in the aforementioned stderr.log. After I pointed (in the init.d script) command line arguments (outfile=... and errfile=...) I started getting messages in this file, but none of mine. I looked, and somewhe

Re: Console Output Not Going Anywhere

2009-08-09 Thread Ken Bowen
It's really quite quick: -- Download the tarball from tomcat.apache.org; -- Untar the ball in some convenient location (you don't need to touch your existing setup). -- Copy your war files from your existing webapps to the new webapps -- Start the newly installed tomcat with bin/startup.sh -- L

Re: tomcat connection limit

2009-08-09 Thread Thomas G. Lau
[r...@app1-testing ~]# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 71680 max locked memory (kbytes, -l) 32 max memory

Re: Console Output Not Going Anywhere

2009-08-09 Thread Allen Williams
That sounds like it might be a bit time consuming. I don't mind trying it, but I'm going to be traveling next week, so I'll have to do it when I return. Caldarale, Charles R wrote: From: Allen Williams [mailto:anw-d...@infoisland.net] Subject: Re: Console Output Not Going Anywhere Debian 2.6

RE: TC 6.0.20 - how to know session restored on restart?

2009-08-09 Thread Caldarale, Charles R
> From: David Wall [mailto:d.w...@computer.org] > Subject: Re: TC 6.0.20 - how to know session restored on restart? > > This must be a multi-thread timing issue because I had > not had this happen on several other restarts. AFAIK, Tomcat initialization is single-thread. > Does this behavior mak

Re: TC 6.0.20 - how to know session restored on restart?

2009-08-09 Thread David Wall
work well enough for me. We already stored some info in the session so that we could also determine the user who is associated with the session among others, so we just created an object to hold this info and it implements HttpSessionActivationListener and sure enough, on tomcat restart, it

RE: Console Output Not Going Anywhere

2009-08-09 Thread Caldarale, Charles R
> From: Allen Williams [mailto:anw-d...@infoisland.net] > Subject: Re: Console Output Not Going Anywhere > > Debian 2.6.26, tomcat from the Debian package (apt-get, etc.), starting > it with the init.d script. Just for grins, try downloading the 6.0.20 tarball from tomcat.apache.org, install tha

Re: Console Output Not Going Anywhere

2009-08-09 Thread Allen Williams
Debian 2.6.26, tomcat from the Debian package (apt-get, etc.), starting it with the init.d script. I did find the startup command line had output and error directed to SYSLOG, but I changed that and directed to /var/log/tomcat6/stdout and /var/log/tomcat6/stderr; although there's a few bytes

Re: How to enable containerLog for one particular class only?

2009-08-09 Thread Mark Thomas
Eric B. wrote: > "Mark Thomas" wrote in message > news:4a7caf38.7060...@apache.org... >> Eric B. wrote: >>> Hi, >>> >>> I'm trying to understand how to enable some logging for a particular >>> class. >>> In org.apache.catalina.realm.JNDIRealm, there are log messages written >>> using >>> contai

RE: Console Output Not Going Anywhere

2009-08-09 Thread Caldarale, Charles R
> From: Allen Williams [mailto:anw-d...@infoisland.net] > Subject: Re: Console Output Not Going Anywhere > > It is the "standard" internal tomcat logging mechanism contained in the > distribution of tomcat 6, based on java.util.logging. 1) What platform (OS) are you running on? 2) Are you using

Re: Console Output Not Going Anywhere

2009-08-09 Thread Allen Williams
I had added a few lines from the deployed version trying to get it to work, but, on my tomcat5.5 system, this original code: public class AppInitializer implements ServletContextListener { public void contextInitialized(ServletContextEvent e) { log.write("AppInitializer::Cont

Re: Console Output Not Going Anywhere

2009-08-09 Thread Allen Williams
It is the "standard" internal tomcat logging mechanism contained in the distribution of tomcat 6, based on java.util.logging. I am not sure exactly what you're saying, but it does not seem to be consistent with the documentation here, which seems to indicate all this stuff is built-in: http:/

Re: Console Output Not Going Anywhere

2009-08-09 Thread Filip Hanik - Dev Lists
That makes sense, Tomcat 6 doesn't use commons logging by default problem explained. if you want tomcat to use commons logging, you could build the extras package Filip On 08/08/2009 07:34 PM, Martin Gainty wrote: getLogger() is a method from org.apache.commons.logging.impl.Log4JLoggerhttp:/