How to troubleshoot "SWITCHYARD033005: Only one switchyard input per implementation is allowed" error?
Issue
- A
SwitchYardapplication is designed to expose the back-endWebServicewithXSLT transformationand withoutXSLT transformationwith two promotedservicesfrom the sameCamel Route. When user tries to deploy the application inFSW 6.0.0it throws the exception as mentioned in the stacktrace below.
...
17:49:22,516 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."MultiRouteESB-0.0.1-SNAPSHOT.jar".SwitchYardService: org.jboss.msc.service.StartException in service jboss.deployment.unit."MultiRouteESB-0.0.1-SNAPSHOT.jar".SwitchYardService: org.switchyard.SwitchYardException: SWITCHYARD033005: Only one switchyard input per implementation is allowed
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.SwitchYardException: SWITCHYARD033005: Only one switchyard input per implementation is allowed
at org.switchyard.component.camel.deploy.CamelActivator.handleImplementation(CamelActivator.java:103)
at org.switchyard.component.camel.deploy.CamelActivator.activateService(CamelActivator.java:75)
at org.switchyard.deploy.internal.Deployment.deployImplementations(Deployment.java:554)
at org.switchyard.deploy.internal.Deployment.start(Deployment.java:144)
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.switchyard.SwitchYardException: SWITCHYARD033005: Only one switchyard input per implementation is allowed
at org.switchyard.component.camel.deploy.CamelActivator.verifyRouteDefinitions(CamelActivator.java:132)
at org.switchyard.component.camel.deploy.CamelActivator.handleImplementation(CamelActivator.java:94)
... 10 more
...
- How to fix this kind of issue?
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
