You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Piotr Jagielski (JIRA)" <ji...@apache.org> on 2008/01/07 12:05:46 UTC
[jira] Created: (SM-1191) Couldn't deploy >1 separate
servicemix-camel service-units
Couldn't deploy >1 separate servicemix-camel service-units
----------------------------------------------------------
Key: SM-1191
URL: https://issues.apache.org/activemq/browse/SM-1191
Project: ServiceMix
Issue Type: Bug
Components: servicemix-camel
Affects Versions: 3.2
Reporter: Piotr Jagielski
When deploying second servicemix-camel service-unit following exception appears:
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.updateServiceAssembly(AutoDeploymentService.java:350)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SM-1191) Couldn't deploy >1 separate
servicemix-camel service-units
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hadrian Zbarcea reassigned SM-1191:
-----------------------------------
Assignee: Hadrian Zbarcea
> Couldn't deploy >1 separate servicemix-camel service-units
> ----------------------------------------------------------
>
> Key: SM-1191
> URL: https://issues.apache.org/activemq/browse/SM-1191
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Affects Versions: 3.2
> Reporter: Piotr Jagielski
> Assignee: Hadrian Zbarcea
>
> When deploying second servicemix-camel service-unit following exception appears:
> 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.updateServiceAssembly(AutoDeploymentService.java:350)
> at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1191) Couldn't deploy >1 separate
servicemix-camel service-units
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41185#action_41185 ]
Guillaume Nodet commented on SM-1191:
-------------------------------------
It seems the problem comes from the CamelSpringDeployer which deploys an additional endpoints which always has the same name:
http://fisheye6.cenqua.com/browse/servicemix/smx3/trunk/deployables/serviceengines/servicemix-camel/src/main/java/org/apache/servicemix/camel/CamelSpringDeployer.java?r=602826#l108
We need to give the endpoint a unique name, maybe using the service unit name.
Wanna try to create a patch for that ?
> Couldn't deploy >1 separate servicemix-camel service-units
> ----------------------------------------------------------
>
> Key: SM-1191
> URL: https://issues.apache.org/activemq/browse/SM-1191
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Affects Versions: 3.2
> Reporter: Piotr Jagielski
>
> When deploying second servicemix-camel service-unit following exception appears:
> 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.updateServiceAssembly(AutoDeploymentService.java:350)
> at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1191) Couldn't deploy >1 separate
servicemix-camel service-units
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated SM-1191:
--------------------------------
Fix Version/s: servicemix-camel-2008.01
> Couldn't deploy >1 separate servicemix-camel service-units
> ----------------------------------------------------------
>
> Key: SM-1191
> URL: https://issues.apache.org/activemq/browse/SM-1191
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Affects Versions: 3.2
> Reporter: Piotr Jagielski
> Assignee: Hadrian Zbarcea
> Fix For: 3.2.2, 3.3, servicemix-camel-2008.01
>
>
> When deploying second servicemix-camel service-unit following exception appears:
> 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.updateServiceAssembly(AutoDeploymentService.java:350)
> at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SM-1191) Couldn't deploy >1 separate
servicemix-camel service-units
Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanthienen resolved SM-1191.
---------------------------------
Resolution: Fixed
Fix Version/s: 3.3
3.2.2
Fix for trunk: http://svn.apache.org/viewvc?view=rev&revision=620857
Fix for 3.2.2: http://svn.apache.org/viewvc?view=rev&revision=620856
> Couldn't deploy >1 separate servicemix-camel service-units
> ----------------------------------------------------------
>
> Key: SM-1191
> URL: https://issues.apache.org/activemq/browse/SM-1191
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Affects Versions: 3.2
> Reporter: Piotr Jagielski
> Assignee: Hadrian Zbarcea
> Fix For: 3.2.2, 3.3
>
>
> When deploying second servicemix-camel service-unit following exception appears:
> 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.updateServiceAssembly(AutoDeploymentService.java:350)
> at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.