You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/09/10 19:27:42 UTC

DO NOT REPLY [Bug 12280] - Bogus exception stack trace

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12280>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12280

Bogus exception stack trace

patrick.luby@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From patrick.luby@sun.com  2002-09-10 17:27 -------
Tomcat's WebAppLoader class expects the webapp's class loader to be a subclass
of java.net.URLClassLoader. The URLClassLoader class has a getClasspath() method
that is used to build a classpath string for the Jasper compiler.

If the webapp's class loader is not a subclass of URLClassLoader, then Tomcat's
WebAppLoader class will attempt to invoke the class loader's getClasspath()
method via reflection.

In your particular instance, you are using a custom class loader as the webapp's
class loader. Since this custom class loader has no getClasspath() method nor
does it subclass URLClassLoader, Tomcat generates the warning to warn that the
classpath for the webapp's class loader (and its parent class loaders) will be
missing from any Jasper compilations.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>