RE: Why do stacktraces from servlets print to stdout, when the other end up in the log4j -log file?

2009-06-10 Thread Imner, Andreas
: Christopher Schultz [mailto:ch...@christopherschultz.net] Skickat: den 9 juni 2009 21:57 Till: Tomcat Users List Ämne: Re: Why do stacktraces from servlets print to stdout, when the other end up in the log4j -log file? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas, On 6/9/2009 3:31 PM, Imner

SV: Why do stacktraces from servlets print to stdout, when the other end up in the log4j -log file?

2009-06-10 Thread Imner, Andreas
to null. When I changed the code to, Object obj = request.getAttribute(javax.servlet.error.exception); ... The exception is properly fetched and everyting works as expected also in Tomcat /Andreas -Ursprungligt meddelande- Från: Imner, Andreas [mailto:andreas.im...@kgk.se] Skickat: den 10

Why do stacktraces from servlets print to stdout, when the other end up in the log4j -log file?

2009-06-09 Thread Imner, Andreas
My companys web application uses log4j 1.2.8 for logging and have just recently switched from Weblogic to Tomcat 6.0.18. Since the we switched to Tomcat, when we do some logging within a servlet private static final Log log = LogFactory.getLog(ExceptionHandlerServlet.class); log.error(some

Making Apache httpd fallback to local file after receiving 404 from backend Tomcat?

2009-05-20 Thread Imner, Andreas
Hi all I'm setting up a website using Apache webserver 2.2.11 / mod_jk 1.2.28 (Windows Server 2000) that connects to two backend Apache Tomcat 6.0.18 server (Windows Server 2003) with load balancing. The webserver also uses mod_proxy to forward some requests to an IIS5 server running on the

SV: Making Apache httpd fallback to local file after receiving 404 from backend Tomcat?

2009-05-20 Thread Imner, Andreas
20 maj 2009 11:14 Till: Tomcat Users List Ämne: Re: Making Apache httpd fallback to local file after receiving 404 from backend Tomcat? Imner, Andreas wrote: Hi all I'm setting up a website using Apache webserver 2.2.11 / mod_jk 1.2.28 (Windows Server 2000) that connects to two backend