This problem bother me quite a lot. When runtime exception, like Null Pointer or Incompatible Class, happens, my tomcat always quit silently, leaving nothing in log. This make debugging much harder. So I wanna these runtime printed into catalina.out, is any solution available?
Asked
Active
Viewed 1,385 times
0
-
Make sure that you are not catching the exceptions and eating them up. Unchecked exceptions should be logged in catalina.out – Anshu Oct 15 '12 at 09:49
-
What version of Tomcat? What logging framework are you using (default logging or log4j/slf4j)? Have you modified the default logging configuration? Does your webapp install any error handlers? Have you looked in any other log files under `$CATALINA_BASE/logs`? – Christopher Schultz Oct 15 '12 at 12:02