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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to