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 28985] New: - It is not possible to use a shared filter from a shared jar file in the multiuser scenario
Date Fri, 14 May 2004 15:55:23 GMT
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: tomcat-dev@jakarta.apache.org
        ReportedBy: petr.jiricka@netbeans.com


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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message