Hi-

I've added a servlet via ant to tomcat, and I've added the following line to
server.xml:

<Context path="/adder" docBase="webapps/adder" debug="9" reloadable="true">
</Context>

The web application is in $TOMCAT_HOME/webapps/adder, and everyhting seems to
have built correctly.  However, when I stop and start TOMCAT, I get this error:

XmlMapper: Can't find method setDescription in Wrapper(addservlet null) CLASS
class org.apache.tomcat.core.ServletWrapper XmlMapper: Debug level: 2
XmlMapper: Set locator : com.sun.xml.parser.Parser$DocLocator@ebf01f20

No matter what, I am getting 404 errors whatever i try to get tomcat to
recognize my servlet.  Does anyone know why this is happening?

Thanks in advance.

Arun

P.S. - Here is my web.xml file

<web-app>

     <display-name>Adder</display-name>
    <description>
        Some description.
    </description>

    <servlet>
      <servlet-name>addservlet</servlet-name>
      <description>
        Some description.
      </description>
      <servlet-class>addservlet</servlet-class>
    </servlet>

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

    <session-config>
      <session-timeout>30</session-timeout>
    </session-config>


</web-app>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to