Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/local/java Server version: Apache Tomcat/6.0.18 Server built: Jul 22 2008 02:00:36 Server number: 6.0.18.0 OS Name: Linux OS Version: 2.6.9-42.0.10.ELhugemem Architecture: i386 JVM Version: 1.5.0_08-b03 JVM Vendor: Sun Microsystems Inc.
On Wed, Jan 13, 2010 at 3:54 PM, Konstantin Kolinko <knst.koli...@gmail.com> wrote: > 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org