You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marcin <ml...@galadriel.homelinux.net> on 2003/10/13 22:51:20 UTC

Why Tomcat doesn't reload my filters

Hi,

I wrote a web application with filters. When
Tomcat starts it works fine. When I try to reload
it using manager I get exceptions in log files.

This is a part of my web.xml file concerning filters:

<filter>
    <filter-name>files</filter-name>
    <filter-class>scs.util.SCSMultipartFilter</filter-class>
    <init-param>
        <param-name>dir.upload</param-name>
        <param-value>files/</param-value>
    </init-param>
</filter>
<filter>
    <filter-name>papers</filter-name>
    <filter-class>scs.util.SCSMultipartFilter</filter-class>
    <init-param>
        <param-name>dir.upload</param-name>
        <param-value>WEB-INF/papers/</param-value>
    </init-param>
</filter>
<filter-mapping>
        <filter-name>files</filter-name>
        <url-pattern>/files</url-pattern>
</filter-mapping>
<filter-mapping>
    <filter-name>papers</filter-name>
    <url-pattern>/abstract</url-pattern>
</filter-mapping>
<filter-mapping>
    <filter-name>papers</filter-name>
    <url-pattern>/fulls</url-pattern>
</filter-mapping>
<filter-mapping>
    <filter-name>papers</filter-name>
    <url-pattern>/papers</url-pattern>
</filter-mapping>

and here are parts of Tomcat logs:

............................................................................
............................

2003-10-13 21:37:53 StandardContext[/scs]: Exception starting filter files
java.lang.ClassNotFoundException: scs.util.SCSMultipartFilter
............................................................................
............................
2003-10-13 21:37:53 StandardContext[/scs]: Exception starting filter papers
java.lang.ClassNotFoundException: msielski.scs.util.SCSMultipartFilter
............................................................................
............................

Thanks for help in advance.

Best regards

Marcin


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Why Tomcat doesn't reload my filters

Posted by Marcin <ml...@galadriel.homelinux.net>.
Hi,


> There's a Bug:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096
>
> Fixed with a hotfix you'll need to download:
>
http://www.apache.org/dist/jakarta/tomcat-4/binaries/4.1.27-hotfix-22096.zip
>
> Hope that works for ya...

Jep, thanks for help.

Best regards

Marcin


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Why Tomcat doesn't reload my filters

Posted by Justin Ruthenbeck <ju...@nextengine.com>.
Most likely...

There's a Bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096

Fixed with a hotfix you'll need to download:
http://www.apache.org/dist/jakarta/tomcat-4/binaries/4.1.27-hotfix-22096.zip

Hope that works for ya...
justin


At 02:04 PM 10/13/2003, you wrote:
>Hi,
>
> > What version of Tomcat are you using?
>
>Apache Tomcat/4.1.27
>
>Best regards
>
>Marcin
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


____________________________________
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
    See http://www.nextengine.com/confidentiality.php
____________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Why Tomcat doesn't reload my filters

Posted by Marcin <ml...@galadriel.homelinux.net>.
Hi,

> What version of Tomcat are you using?

Apache Tomcat/4.1.27

Best regards

Marcin

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Why Tomcat doesn't reload my filters

Posted by Justin Ruthenbeck <ju...@nextengine.com>.
What version of Tomcat are you using?

At 01:51 PM 10/13/2003, you wrote:
>Hi,
>
>I wrote a web application with filters. When
>Tomcat starts it works fine. When I try to reload
>it using manager I get exceptions in log files.
>
>This is a part of my web.xml file concerning filters:
>
><filter>
>     <filter-name>files</filter-name>
>     <filter-class>scs.util.SCSMultipartFilter</filter-class>
>     <init-param>
>         <param-name>dir.upload</param-name>
>         <param-value>files/</param-value>
>     </init-param>
></filter>
><filter>
>     <filter-name>papers</filter-name>
>     <filter-class>scs.util.SCSMultipartFilter</filter-class>
>     <init-param>
>         <param-name>dir.upload</param-name>
>         <param-value>WEB-INF/papers/</param-value>
>     </init-param>
></filter>
><filter-mapping>
>         <filter-name>files</filter-name>
>         <url-pattern>/files</url-pattern>
></filter-mapping>
><filter-mapping>
>     <filter-name>papers</filter-name>
>     <url-pattern>/abstract</url-pattern>
></filter-mapping>
><filter-mapping>
>     <filter-name>papers</filter-name>
>     <url-pattern>/fulls</url-pattern>
></filter-mapping>
><filter-mapping>
>     <filter-name>papers</filter-name>
>     <url-pattern>/papers</url-pattern>
></filter-mapping>
>
>and here are parts of Tomcat logs:
>
>............................................................................
>............................
>
>2003-10-13 21:37:53 StandardContext[/scs]: Exception starting filter files
>java.lang.ClassNotFoundException: scs.util.SCSMultipartFilter
>............................................................................
>............................
>2003-10-13 21:37:53 StandardContext[/scs]: Exception starting filter papers
>java.lang.ClassNotFoundException: msielski.scs.util.SCSMultipartFilter
>............................................................................
>............................
>
>Thanks for help in advance.
>
>Best regards
>
>Marcin
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


____________________________________
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
    See http://www.nextengine.com/confidentiality.php
____________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org