You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Kevin k <ke...@gmail.com> on 2008/02/12 16:48:16 UTC
Multiple camel su's
I am trying to deploy 2 service assemblies
Each of the sa's has a camel service unit in it.
When the second sa/camel-su tries to deploy, I get the following error:
<stack-trace><![CDATA[java.lang.IllegalStateException: An endpoint is
already registered for key:
{http://activemq.apache.org/camel/schema/jbi}endpoint:camel:controlBus
at
org.apache.servicemix.common.Registry.registerEndpoint(Registry.java:55)
at
org.apache.servicemix.common.Registry.registerServiceUnit(Registry.java:68)
at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:73)
at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingSAs(AutoDeploymentService.java:479)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:290)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:249)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
]]></stack-trace>
Can there only be one camel su deployed at a time (and I need to put all
routes in the one su), or is there a way to deploy multiple camel su's?
Thanks
-Kevin
--
View this message in context: http://www.nabble.com/Multiple-camel-su%27s-tp15434494s12049p15434494.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Multiple camel su's
Posted by Kevin k <ke...@gmail.com>.
Gert,
I just downloaded your fix and everything works great.
Thanks for the quick reply/fix.
Sorry I missed that issue in jira. I tried l;ooking around, but I guess I
just missed it.
-Kevin
Gert Vanthienen wrote:
>
> Kevin,
>
> This is a known issue
> (https://issues.apache.org/activemq/browse/SM-1191), for which I have
> just committed a fix. Could you try building the servicemix-camel
> component from trunk locally to get this working on your machine as well?
>
> Gert
>
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
>
--
View this message in context: http://www.nabble.com/Multiple-camel-su%27s-tp15434494s12049p15438770.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Multiple camel su's
Posted by Gert Vanthienen <ge...@skynet.be>.
Kevin,
This is a known issue
(https://issues.apache.org/activemq/browse/SM-1191), for which I have
just committed a fix. Could you try building the servicemix-camel
component from trunk locally to get this working on your machine as well?
Gert
Kevin k wrote:
> I am trying to deploy 2 service assemblies
> Each of the sa's has a camel service unit in it.
>
> When the second sa/camel-su tries to deploy, I get the following error:
> <stack-trace><![CDATA[java.lang.IllegalStateException: An endpoint is
> already registered for key:
> {http://activemq.apache.org/camel/schema/jbi}endpoint:camel:controlBus
> at
> org.apache.servicemix.common.Registry.registerEndpoint(Registry.java:55)
> at
> org.apache.servicemix.common.Registry.registerServiceUnit(Registry.java:68)
> at
> org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:73)
> at
> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingSAs(AutoDeploymentService.java:479)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:290)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:249)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> ]]></stack-trace>
>
>
>
> Can there only be one camel su deployed at a time (and I need to put all
> routes in the one su), or is there a way to deploy multiple camel su's?
>
> Thanks
> -Kevin
>