[wsas-java-dev] [jira] Resolved: (WSAS-309) Service redeployment issue

Afkham Azeez (JIRA) jira at wso2.org
Wed Jul 11 07:21:41 PDT 2007


     [ http://www.wso2.org/jira/browse/WSAS-309?page=all ]

Afkham Azeez resolved WSAS-309.
-------------------------------

    Resolution: Fixed

Fixed

> Service redeployment issue
> --------------------------
>
>                 Key: WSAS-309
>                 URL: http://www.wso2.org/jira/browse/WSAS-309
>             Project: WSO2 WSAS
>          Issue Type: Bug
>    Affects Versions: Nightly
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>         Assigned To: Afkham Azeez
>            Priority: Blocker
>         Attachments: MyAxisservice.aar
>
>
> Please go through the following steps to reproduce this issue. 
> 1. Deploy the attached service
> 2. Remove it from service and service group management page
> 3. The service will be deleted successfully. Check /repository/services/ directory. It will not be there.
> 4. Now restart WSAS through management console
> 5. Redeploy the same service
> It will be deployed as a faulty service. Following error can be seen.
> Error: org.apache.axis2.AxisFault: Two services cannot have same name. A service with the MyAxisservice name already exists in the system. at org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:335) at org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:111) at org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:482) at org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:445) at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:82) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:149) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:543) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:135) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:307) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:214) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:301) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:64) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:71) at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:83) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)

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

       




More information about the Wsas-java-dev mailing list