tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yi-Xiong Zhou <>
Subject How to let tomcat output the stackTrace of an Exception
Date Fri, 26 Oct 2001 15:25:03 GMT

I got an SQLException in user authentication after tomcat have reconnected
the JDBC Realm. I would like to see the full message of the Exception. How
can I get it? I have set debug="2" in server.xml and still not getting the
full message. Could anyone tell me how to let tomcat print out the full
error message? 

Here is what I got :

2001-10-25 06:27:51 - ContextManager: JDBCRealm: There was an SQLException
while in authenticate: null
2001-10-25 06:27:51 - ContextManager: JDBCRealm: SQLException:
java.sql.SQLException: Io exception: Broken pipe
2001-10-25 06:27:55 - ContextManager: JDBCRealm: The database connection is
null or was found to be closed. Trying to re-open it.
2001-10-25 06:27:55 - ContextManager: JDBCRealm: There was an SQLException
while in authenticate: yzhou
2001-10-25 06:27:55 - ContextManager: JDBCRealm: SQLException:
java.sql.SQLException: invalid arguments in call
2001-10-25 06:27:55 - Ctx(  ): 404 R(  + /css/templates.css + null) null

This error message happens when I am trying to do user logon after the
tomcat had not receive request for a long time (overnight). The logon is a
container managed, FORM based user authentication. 

I am using tomcat 3.3 on linux with jdk 1.3.1

Your helps are greatly appreciated.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message