d in "obj" being set 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, Andrea
-Ursprungligt meddelande-
Från: 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: SH
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
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) tha
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 sa