-
1. Re: ERROR: Duplicate Name: The name "IElementoWS" must be unique among services, references and component services.
shenbaga.kumaramani Nov 27, 2014 5:43 AM (in response to shenbaga.kumaramani)I Changed the Bean Service Interface name and exposed the Service as WSDL Interface.
now i am getting the below error.
16:06:23,330 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-12) MSC000001: Failed to start service jboss.deployment.unit."Simulator-0.0.1-SNAPSHOT.jar".SwitchYardService: org.jboss.msc.service.StartException in service jboss.deployment.unit."Simulator-0.0.1-SNAPSHOT.jar".SwitchYardService: org.switchyard.SwitchYardException: SWITCHYARD012228: Service registration with name {urn:com.sample:Simulator:1.0}IElementoWS hides <sca:service xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="IElementoWS">
<sca:interface.java interface="com.sample.models.IElementoWS"/>
</sca:service>
at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:80)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_03-icedtea]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03-icedtea]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03-icedtea]
Caused by: org.switchyard.SwitchYardException: SWITCHYARD012228: Service registration with name {urn:com.sample:Simulator:1.0}IElementoWS hides <sca:service xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="IElementoWS">
<sca:interface.java interface="com.sample.models.IElementoWS"/>
</sca:service>
at org.switchyard.deploy.internal.Deployment.validateServiceRegistration(Deployment.java:797)
at org.switchyard.deploy.internal.Deployment.deployImplementations(Deployment.java:565)
at org.switchyard.deploy.internal.Deployment.start(Deployment.java:144)
at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:101)
at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:73)
... 5 more
16:06:23,332 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."Simulator-0.0.1-SNAPSHOT.jar".SwitchYardService: org.jboss.msc.service.StartException in service jboss.deployment.unit."Simulator-0.0.1-SNAPSHOT.jar".SwitchYardService: org.switchyard.SwitchYardException: SWITCHYARD012228: Service registration with name {urn:com.sample:Simulator:1.0}IElementoWS hides <sca:service xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="IElementoWS">
<sca:interface.java interface="com.sample.models.IElementoWS"/>
</sca:service>