[jbossws-issues] [JBoss JIRA] Created: (JBWS-2243) Web Service not being deployed as service endpoint on server restart

Jeff Rhodes (JIRA) jira-events at lists.jboss.org
Mon Jun 30 09:37:32 EDT 2008


Web Service not being deployed as service endpoint on server restart
--------------------------------------------------------------------

                 Key: JBWS-2243
                 URL: http://jira.jboss.com/jira/browse/JBWS-2243
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jbossws-metro
    Affects Versions:  jbossws-metro-3.0.2
         Environment: JBoss AS 4.2.2, JBossWS Metro 3.0.2, Win XP Pro SP2, JDK1.5.0_06
            Reporter: Jeff Rhodes


>From comparing behavior between JBossWS Metro 3.0.1 and 3.0.2, I think I've identified the problem. 

When JBossWS Metro deploys a Web Service, it saves a copy of the original web.xml file in a file named "web.xml.org", then modifies the web.xml and adds some JBossWS-specific entries. It also creates a sun-jaxws.xml file in the server's "tmp/jbossws" directory. 

In JBossWS Metro 3.0.1, when the container is undeploying a Web service, it deletes the modified web.xml file and then restores the original web.xml file by renaming the "web.xml.org" file to "web.xml". It also deletes the sun-jaxws.xml file in the tmp directory. 

However, in JBossWS Metro 3.0.2, the modified web.xml is not deleted, and the "web.xml.org" file is not renamed back to "web.xml". (It does delete the sun-jaxws.xml file from the tmp directory). This causes the Web service to be deployed as a regular servlet on subsequent server starts. 
In order to get the service to deploy again as a Web service endpoint, one must manually go into the war directory and delete the "web.xml" file, then rename the "web.xml.org" file back to "web.xml" before starting the server. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list