[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2243) Web Service not being deployed as service endpoint on server restart
Richard Opalka (JIRA)
jira-events at lists.jboss.org
Wed Jul 30 02:06:52 EDT 2008
[ https://jira.jboss.org/jira/browse/JBWS-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Opalka updated JBWS-2243:
---------------------------------
Fix Version/s: (was: jbossws-cxf-3.0.3)
Affects Version/s: (was: jbossws-cxf-3.0.2)
> Web Service not being deployed as service endpoint on server restart
> --------------------------------------------------------------------
>
> Key: JBWS-2243
> URL: https://jira.jboss.org/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
> Assignee: Richard Opalka
> Fix For: jbossws-metro-3.0.3
>
>
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list