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-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAktOGMUACgkQ9CaO5/Lv0PDtpgCgkIAwz0xX7kGo5quDsD4/kDFi
> ApoAn2J1j4GZhEZEtgQ1nj82MUO/MG8D
> =Rp86
> -----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

Reply via email to