tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7682] - Unable to initiate filter properly if Filter class is loaded by Catalina System Classloader
Date Tue, 02 Apr 2002 16:28:24 GMT
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=7682>.
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=7682

Unable to initiate filter properly if Filter class is loaded by Catalina System Classloader

craig.mcclanahan@sun.com changed:

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



------- Additional Comments From craig.mcclanahan@sun.com  2002-04-02 16:28 -------
This is not a bug ... it is user error.

If you consult the class loader documentation shipped with Tomcat
(http://localhost:8080/tomcat-docs/class-loader-howto.html), you will see that
the system class loader is *above* the common class loader that contains
servlet.jar.  Therefore, any classes loaded from the system class loader will
not be able to find the servlet API classes, so you won't be able to put filters
or servlets there.

PLEASE do what the documentation tells you to do!  Put your shared classes into
the standard directories ("lib" or "common/lib") and you will not have any
problems like this.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message