Unable to deploy camel-soap-proxy example on Fuse on EAP.
Issue
- I am trying to create a proxy service for an external webservice based on
camel-soap-proxy
example. Issue here I could able to deploy onJBoss Fuse
when I try to deploy onRed Hat JBoss Fuse Service Works
I am getting exception.
15:24:47,320 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."switchyard-camel-soap-proxy.jar".SwitchYardService: org.jboss.msc.ser
vice.StartException in service jboss.deployment.unit."switchyard-camel-soap-proxy.jar".SwitchYardService: org.switchyard.component.soap.WebServicePublishException: org.jboss.msc.service.DuplicateServi
ceException: Service jboss.ws.endpoint."proxy.deployment".BillingCustomerServiceImplService is already registered
at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:84)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]
Caused by: org.switchyard.component.soap.WebServicePublishException: org.jboss.msc.service.DuplicateServiceException: Service jboss.ws.endpoint."proxy.deployment".BillingCustomerServiceImplService is
already registered
at org.switchyard.as7.extension.ws.JBossWSEndpointPublisher.publish(JBossWSEndpointPublisher.java:91)
at org.switchyard.component.soap.InboundHandler.doStart(InboundHandler.java:177)
at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60)
at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:638)
at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)
at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:127)
at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:77)
... 5 more
Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.ws.endpoint."proxy.deployment".BillingCustomerServiceImplService is already registered
at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:158) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:236) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:742) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:345) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at org.jboss.as.webservices.service.EndpointService.install(EndpointService.java:253)
at org.jboss.as.webservices.deployers.EndpointServiceDeploymentAspect.start(EndpointServiceDeploymentAspect.java:50)
at org.jboss.ws.common.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:131)
at org.jboss.as.webservices.publish.EndpointPublisherImpl.publish(EndpointPublisherImpl.java:135)
at org.jboss.as.webservices.publish.EndpointPublisherImpl.publish(EndpointPublisherImpl.java:114)
at org.jboss.as.webservices.publish.EndpointPublisherImpl.publish(EndpointPublisherImpl.java:107)
at org.switchyard.as7.extension.ws.JBossWSEndpoint.publish(JBossWSEndpoint.java:124)
at org.switchyard.as7.extension.ws.JBossWSEndpointPublisher.publish(JBossWSEndpointPublisher.java:86)
Environment
- Red Hat JBoss Fuse Service Works
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.