tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morten Haavaldsen" <morten.haavald...@carrot.no>
Subject SV: Servlet mapping problem - catalina does not map a servlet as defined in web.xml...
Date Fri, 11 Jan 2002 14:12:50 GMT
Correction to the question:

The .jar file is located under the 

webapps/jaxm-provider/WEB-INF/lib/provider.jar

So what the mapping refers to in the web.xml is in the same context...


/Morten

-----Opprinnelig melding-----
Fra: Morten Haavaldsen 
Sendt: 11. januar 2002 15:09
Til: tomcat-user@jakarta.apache.org
Emne: Servlet mapping problem - catalina does not map a servlet as
defined in web.xml...


Hi!


I am running the catalina and the following does not work:

http://localhost:8080/jaxm-provider/digest

generates an error...file not found...

(the .jar file contaiming the servlet is located under /common/lib and that should be ok!
)

jakarta-tomcat-4.0.1/webapps/jaxm-provider/WEB-INF/web.xml

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


    <servlet>
        <servlet-name>
            digest
        </servlet-name>
        <servlet-class>
            com.sun.xml.messaging.provider.AdminServlet
        </servlet-class>
	<load-on-startup>
	  3
	</load-on-startup>
    </servlet>


Any clue on how to get the mapping to work??


/Morten

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message