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 9172] New: - ClassLoader issue with custom Valve
Date Thu, 16 May 2002 18:16:02 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=9172>.
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=9172

ClassLoader issue with custom Valve

           Summary: ClassLoader issue with custom Valve
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: brian@experts-exchange.com


I'm trying to load a custom valve with the following tag.
<Valve className="com.ee.servlet.HandleJspServlet"/>
It will be loaded fine from within the server/lib directory, however I got a
ClassNotFoundException when I placed it's Jar file in the WEB-INF/lib directory.
 The problem is that the HandleJspServlet class depends on our sites main jar
file, forcing us to have to place it in the $tomcat_home/common/lib directory. 
This slows down developement, becuase we can't have our main jar file reloaded
everytime we recreate it.  If the Valve could be loaded from the Context it's
in, that would solve our problem.

Brian

--
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