Tomcat not showing root cause of initialization failure
I'm trying to investigate some issues i have with my application, but i cannot get tomcat to show any meaningful error message.
When running Tomcat with my app deployed all i can see in logs that would indicate any problems are these messages:
ERROR org.springframework.ws.transpor开发者_运维问答t.http.MessageDispatcherServlet - Context initialization failed
ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/myApp] - StandardWrapper.Throwable
ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/myApp] - Servlet /myApp threw load() exception
I cannot get it to show any stack trace or even exception name that would help solve my problem.
Is there any way to make Tomcat show more details about the root cause of failure? I'm using tomcat 5.5.32, with root log4j logger set to DEBUG (and no other loggers defined)
Which logs are you looking at? Usually, catalina.out
shows that you have an initialisation error, with the details in localhost.${timestamp}.log
.
精彩评论