DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28985>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28985

It is not possible to use a shared filter from a shared jar file in the multiuser 
scenario

           Summary: It is not possible to use a shared filter from a shared
                    jar file in the multiuser scenario
           Product: Tomcat 5
           Version: 5.0.24
          Platform: All
               URL: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-
                    loader-howto.html
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


We would like to be  able to do the following:

1) Create a filter and package it in a jar file
2) Use it in all applications by declaring it in $CATALINA_BASE/conf/web.xml
3) Do this on a per-user basis in the multiuser scenario, by putting the jar
file under CATALINA_BASE.

Putting the jar file in $CATALINA_HOME/common/lib does not work for us, as that
will apply to all users.

Putting the jar file under $CATALINA_BASE/shared/lib does not work either,
because in that case, the applications in $CATALINA_HOME/server/webapps (admin
and manager) are not able to read the filter class and throw a
ClassNotFoundException.

Shouldn't it be possible to do this? How?

Would it help if the Common classloader also loaded classes from
$CATALINA_BASE/common/lib ? Any ideas on this would be appreciated. Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to