Extracting startup errors from Spring contexts
Posted
by sehugg
on Stack Overflow
See other posts from Stack Overflow
or by sehugg
Published on 2010-04-17T20:07:30Z
Indexed on
2010/04/17
21:03 UTC
Read the original article
Hit count: 247
Consider the following output from a Tomcat server under Eclipse:
INFO: Initializing Coyote HTTP/1.1 on http-8080
INFO: Initialization processed in 634 ms
INFO: Starting service Catalina
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
SEVERE: Error listenerStart
SEVERE: Context [/MyServlet] startup failed due to previous errors
I would like to figure out what exception caused "Error listenerStart", but Spring seems to be preventing me from finding the error via Eclipse. I'd love to start Catalina manually, but that doesn't seem to do anything.
What's the best way to find the hidden exception? I'm not afraid to use torture methods.
© Stack Overflow or respective owner