I have asked already: what is your Tomcat version and your Java version? If you do not know, please run "catalina.sh version"
org.apache.juli.FileHandler uses java.util.logging.SimpleFormatter by default, and you should look in your JDK sources to see how that class is implemented. As of 6u16 it calls printStackTrace(pw) on the exception. 2010/1/14 Mohit Anchlia <mohitanch...@gmail.com>: > I am looking at file in "vi" and don't see stack trace > On Wed, Jan 13, 2010 at 11:02 AM, Christopher Schultz > <ch...@christopherschultz.net> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Mohit, >> >> On 1/11/2010 9:10 PM, Mohit Anchlia wrote: >>> I am seeing following exception in localhost file with no stack trace. >> >> [snip] >> >>> Jan 11, 2010 4:12:57 PM org.apache.catalina.core.StandardWrapperValve invoke >>> SEVERE: Servlet.service() for servlet SwchServlet threw exception >>> java.lang.ArrayIndexOutOfBoundsException >> >> As others have pointed out, /your/ servlet has a problem. >> >> It looks like StandardWrapperValve is catching the exception and logging >> it (see StandardWrapperValve.java:153 in Tomcat 6.0.20). The call to the >> logger includes the exception object, so a stack trace should be emitted >> to the log using a SEVERE level (which you can see above). >> >> There is no configuration that I know of that can optionally omit stack >> traces from the logs. >> >> Are you looking at the whole file, or are you just grepping for >> "Exception" and not seeing the exception's stack trace? >> >> - -chris >> -----BEGIN PGP SIGNATURE----- >> -----END PGP SIGNATURE----- >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org