Dereferencing failure during Blueprint Service shutdown
--------------------------------------------------------
Key: SMX4NMR-153
URL: https://issues.apache.org/activemq/browse/SMX4NMR-153
Project: ServiceMix NMR
Issue Type: Test
Affects Versions: 1.1.0
Reporter: Eoghan Glynn
Assignee: Eoghan Glynn
Fix For: 1.1.0
Deferencing of the injected ManagementStrategy proxy fails with[1] if the
Blueprint Service is itself being shutdown.
This looks like a race between the AdminCommandsImpl destroy-method being
called and Blueprint itself being shutdown.
If the entire framework is being shutdown, its not crucial that
ManagementStrategy.unmanageObject() be successful, so the
ServiceUnavailableException can probably just be ignored.
[1]
org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint
container is being or has been destroyed
at
org.apache.geronimo.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:175)
at
org.apache.geronimo.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
at
org.apache.geronimo.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:200)
at
org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$CgLibProxyFactory$1.loadObject(AbstractServiceReferenceRecipe.java:578)
at
org.fusesource.commons.management.ManagementStrategy$$EnhancerByCGLIB$$5523ee5f.unmanageObject(<generated>)
at
org.apache.servicemix.jbi.deployer.impl.AdminCommandsImpl.destroy(AdminCommandsImpl.java:452)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.