Hi,
I think this issue is more related to the blueprint implementation.
Strangely I get the following exception when I say "update
org.apache.aries.jpa.blueprint.aries":
SEVERE: Unable to start blueprint container for bundle
org.everit.localization.core
org.apache.aries.blueprint.ComponentNameAlreadyInUseException: Name
'blueprintContainer' is already in use by a registered component
at
org.apache.aries.blueprint.parser.ComponentDefinitionRegistryImpl.registerComponentDefinition(ComponentDefinitionRegistryImpl.java:88)
at
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:286)
at
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:242)
at
org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Of course the blueprint.xml file in the mentioned bundle does not container
any component with id "blueprintContainer".
Well I cannot give a sample now as this occures in one of our business app
and I would not even try to stop-and-start the jpa.blueprint bundle if the
issue from my last mail would not exist. Anyway something is not good
during the doRun function of the BlueprintContainerImpl, maybe the
ComponentRegistry is not cleaned up well when the mentioned bundle stops.
Regards,
Balazs