0 Replies Latest reply on Oct 20, 2004 8:23 AM by miles1

    Problem deploying web service on Jboss 4.0.0

    miles1 Newbie

      Hello all,

      I am using the following web.xml in my web service war:

      <?xml version="1.0"?>
      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

      <web-app>

      <servlet-name>omutilServlet</servlet-name>
      <servlet-class>omservice.OmutilSoapBindingImpl</servlet-class>


      <servlet-mapping>
      <servlet-name>omutilServlet</servlet-name>
      <url-pattern>/omutilServlet</url-pattern>
      </servlet-mapping>
      </web-app>

      When I first startup jboss 4, my web service is deployed and functions correctly. However, if I shutdown jboss and then restart it, the above file gets renamed to web.xml.org and jboss replaces it with..

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

      <web-app>

      <servlet-name>omutilServlet</servlet-name>
      org.jboss.webservice.server.ServiceEndpointServletJSE</servlet-class>
      <init-param>
      <param-name>ws4ee-service-name</param-name>
      <param-value>omutilService</param-value>
      </init-param>

      <servlet-mapping>
      <servlet-name>omutilServlet</servlet-name>
      <url-pattern>/omutilServlet</url-pattern>
      </servlet-mapping>
      </web-app>

      As jboss has changed the definition, my webservice no longer loads. Does anyone know what is going on?

      Thanks,

      Miles Henderson