ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread C C
Hello, I'm seeing a difference in the way Tomcat handles logging exceptions thrown by a servlet, and I wonder if it's a configuration change or if this is simply how Tomcat is expected to behave. Tomcat versions tested: 5.5.26, 6.0.35, 7.0.25 OS: Windows 7 Java: 1.5.0_22 for Tomcat 5.5.26 and

Re: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread Konstantin Kolinko
2012/2/9 C C ccb...@yahoo.com: Hello, I'm seeing a difference in the way Tomcat handles logging exceptions thrown by a servlet, and I wonder if it's a configuration change or if this is simply how Tomcat is expected to behave. Tomcat versions tested: 5.5.26, 6.0.35, 7.0.25 OS: Windows 7

Re: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 2/9/12 2:40 PM, C C wrote: To test, I created a webapp with a single servlet, ExceptionServlet, that simply throw a ServletException in its service() method, e.g.: public class ExceptionServlet extends HttpServlet { protected void

RE: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: ServletException logging changes between 5.5 and 6.0/7.0? In order to use log4j with Tomcat 6.0 and 7.0, you need to download some Tomcat extras as described here: http://tomcat.apache.org/tomcat-7.0-doc

Re: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/9/12 4:06 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: ServletException logging changes between 5.5 and 6.0/7.0? In order to use log4j with Tomcat 6.0 and 7.0, you

RE: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread ken dias
unsubscribe From: chuck.caldar...@unisys.com To: users@tomcat.apache.org Date: Thu, 9 Feb 2012 15:06:39 -0600 Subject: RE: ServletException logging changes between 5.5 and 6.0/7.0? From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: ServletException logging

RE: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread ken dias
unsubscribe From: chuck.caldar...@unisys.com To: users@tomcat.apache.org Date: Thu, 9 Feb 2012 15:06:39 -0600 Subject: RE: ServletException logging changes between 5.5 and 6.0/7.0? From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: ServletException logging

RE: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread Caldarale, Charles R
From: ken dias [mailto:kend...@hotmail.com] Subject: RE: ServletException logging changes between 5.5 and 6.0/7.0? unsubscribe Zero-for-three... http://tomcat.apache.org/lists.html#tomcat-users - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL

Re: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread C C
Hi Christopher, - Original Message - From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Thursday, February 9, 2012 1:00 PM Subject: Re: ServletException logging changes between 5.5 and 6.0/7.0? -BEGIN PGP SIGNED

Re: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 2/9/12 5:00 PM, C C wrote: From: Christopher Schultz ch...@christopherschultz.net So log4j.properties is located in WEB-INF/classes? Where is log4j.jar? My log4j.properties is in WEB-INF/classes, and log4j.jar is in WEB-INF/lib.

Re: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread Konstantin Kolinko
So log4j.properties is located in WEB-INF/classes? Where is log4j.jar? My log4j.properties is in WEB-INF/classes, and log4j.jar is in WEB-INF/lib. Okay. Do you have any other code in this example webapp -- for instance, something that actually loads the log4j.properties file? I don't