Blueprint ComponentDefinitionRegistryProcessor falls over with duplicate recipe
ids
-----------------------------------------------------------------------------------
Key: ARIES-246
URL: https://issues.apache.org/jira/browse/ARIES-246
Project: Aries
Issue Type: Bug
Components: Blueprint
Affects Versions: 0.1
Reporter: Valentin Mahrwald
Assignee: Valentin Mahrwald
When attempting to use a component definition registry processor, the following
kind of problem can occur, where subsequently blueprint will fall over due to
duplicate ids for anonymous components.
org.apache.aries.blueprint.container.BlueprintContainerImpl doRun Unable to
start blueprint container for bundle com.ibm.ws.eba.interop.bundle
org.osgi.service.blueprint.container.ComponentDefinitionException: Name
#recipe-3 is already registered to instance
org.apache.aries.blueprint.container.BlueprintRepository.putRecipe(BlueprintRepository.java:113
org.apache.aries.blueprint.container.ServiceRecipe.createRecipe(ServiceRecipe.java:348
org.apache.aries.blueprint.container.ServiceRecipe.register(ServiceRecipe.java:139
org.apache.aries.blueprint.container.BlueprintContainerImpl.registerServices(BlueprintContainerImpl.java:628
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:312
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:212
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453
...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.