tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Weird Classloader Scenario - Is This Possible?
Date Wed, 02 Jun 2004 18:37:27 GMT

We have a fairly generic servlet framework that is used across more than 
one web app deployed to tomcat 4.1.30 on win2k using java 1.4.2_03-b02. 
The framework was initially included in the WEB-INF/lib for each 
application.  However, I was hoping the framework jar could reside in 
shared/lib.  This framework code basically uses a request handler to pass 
incoming requests to a webapp-specific request processor.  The request 
handler instantiates a request processor via 
 Basically, as expected, the classloader fails to load the request 
processor class with the framework jar now in shared/lib.

Is there a loader scheme that I can use in the shared/lib jar that can be 
used to instantiate classes from my webapp (WEB-INF/classes)?

Matt Hanson
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message