You have the invoker enabled. It is evil. Get rid of it.
http://tomcat.apache.org/faq/misc.html#evil

> java.lang.ClassNotFoundException: sa.ca

-Tim

Akhthar Parvez K wrote:
Hello,

I have a tomcat server (ver:- 5.5.9) installed on my server and all jsps and
servlets are working fine except the servlet with URL pattern
"*.<something>". eg:- I have the following entry in my web.xml

=====================
       <servlet>
                <servlet-name>test</servlet-name>
              <servlet-class>ServletsTestPage</servlet-class>
        </servlet>

        <servlet-mapping>
                <servlet-name>test</servlet-name>
              <url-pattern>*.ca</url-pattern>
        </servlet-mapping>

        <servlet>
                <servlet-name>test2</servlet-name>
            <servlet-class>HelloWorldServlet</servlet-class>
        </servlet>

        <servlet-mapping>
                <servlet-name>test2</servlet-name>
              <url-pattern>/test2</url-pattern>
        </servlet-mapping>

======================

I am able to access the servlet with the URL pattern /test by the link
http://mydomain.com/servlet/test2. But I am getting the error message "The
requested resource (/servlet/sa.ca) is not available." when I access the
servlet with the URL pattern "*.ca" by the link
http://mydomain.com/servlet/as.ca

I got the following message in catalina.out

============================

Dec 12, 2005 10:17:53 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet org.apache.catalina.INVOKER.sa.ca as unavailable
Dec 12, 2005 10:17:53 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Error loading WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
[EMAIL PROTECTED]
 sa.ca
java.lang.ClassNotFoundException: sa.ca
        at org.apache.catalina.loader.WebappClassLoader.loadClass(

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

Reply via email to