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 2001/10/29 17:48:27 UTC

DO NOT REPLY [Bug 4493] - classes loaded by TOMCAT_HOME/lib classloader and webapp/WEB-INF/lib classloader won't interact

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=4493>.
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=4493

classes loaded by TOMCAT_HOME/lib classloader and webapp/WEB-INF/lib classloader won't interact

marc.saegesser@apropos.com changed:

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



------- Additional Comments From marc.saegesser@apropos.com  2001-10-29 08:48 -------
This isn't so much a bug as a feature.  The classes in tomcat/lib and 
webapps/WEB-INF/lib are loaded by different class loaders.  The class loader 
for tomcat/lib has no way to load classes found in webapps/WEB-INF/lib.  You'll 
either have to put all the jars in tomcat/lib or in each webapp.

Class loading has improved quite a bit in TC 4.0 so you might want to 
investigate switching to that version.

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