This is different from the previous cases. This time the exception is caused by hot deployment. See the stack traces.
Thanks, Hiranya On Tue, May 31, 2011 at 2:26 PM, Charitha Kankanamge <chari...@wso2.com>wrote: > When testing ESB 4.0.0 RC3 pack in a clustered setup (mounted > registry+replicated caching+deployment synchronizer enabled+axis2 clustering > enabled), I came across the following issue when I restarted the READ-WRITE > ESB node. I tried few more times but I'm unable to reproduce. Has anyone > come across this issue? > > > [2011-05-31 14:10:44,111] INFO - ProxyService Building Axis service for > Proxy service : CharithaProxy > [2011-05-31 14:10:44,112] INFO - ProxyService Adding service CharithaProxy > to the Axis2 configuration > [2011-05-31 14:10:44,416] INFO - ProxyObserver Deleted the proxy service : > CharithaProxy > [2011-05-31 14:10:44,416] ERROR - ProxyService Error adding Proxy service > to the Axis2 engine > org.apache.axis2.AxisFault: Two services cannot have same name. A service > with the CharithaProxy [null] name already exists in the system. > at > org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:496) > at > org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110) > at > org.apache.axis2.engine.AxisConfiguration.addService(AxisConfiguration.java:335) > at > org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:566) > at > org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:70) > at > org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:43) > at > org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:172) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) > at > org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:365) > at > org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73) > at > org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94) > at > org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93) > at java.util.TimerThread.mainLoop(Timer.java:512) > at java.util.TimerThread.run(Timer.java:462) > [2011-05-31 14:10:44,417] WARN - ProxyServiceDeployer Proxy service hot > deployment from file: > /home/charitha/products/esb/cluster/wso2esb-4.0.0-node1/repository/deployment/server/synapse-configs/default/proxy-services/CharithaProxy.xml > failed - Continue in fail-safe mode > org.apache.synapse.SynapseException: Error adding Proxy service to the > Axis2 engine > at > org.apache.synapse.core.axis2.ProxyService.handleException(ProxyService.java:765) > at > org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:592) > at > org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:70) > at > org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:43) > at > org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:172) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) > at > org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:365) > at > org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73) > at > org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94) > at > org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93) > at java.util.TimerThread.mainLoop(Timer.java:512) > at java.util.TimerThread.run(Timer.java:462) > Caused by: org.apache.axis2.AxisFault: Two services cannot have same name. > A service with the CharithaProxy [null] name already exists in the system. > at > org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:496) > at > org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110) > at > org.apache.axis2.engine.AxisConfiguration.addService(AxisConfiguration.java:335) > at > org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:566) > ... 14 more > > /Charitha > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev