Summary: | Error instantiating servlet class | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | bernard <bht> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | ||
Priority: | P2 | ||
Version: | 5.5.9 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | All |
Description
bernard
2005-09-13 07:04:40 UTC
Hmm, I'm actually a little bit confused as to why ths happens. If you look at StandardWrapper line 1060 or so, the exception is properly thrown with the root caused attached, so a full stack trace should print out. I added a log.debug statement to make sure the full stack trace is in the log anyways. Perhaps this is the problem: public ServletException(String message, Throwable rootCause) { super(message); this.rootCause = rootCause; } It's still in the latest svn revision (assuming this is the trunk): http://svn.apache.org/repos/asf/tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/jsr154/src/share/javax/servlet/ServletException.java I have tested this with the latest code from svn and the stack trace is displayed as expected. |