Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
Description
Due to a timing / shutdown ordering issue that we may safely ignore as not unregistering from an already shutdown blueprint container is quite harmless:
09:44:21,887 | INFO | Bundle Shutdown | BeanRecipe | o.blueprint.container.BeanRecipe 550 | Error destroying bean managementStrategy 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$JdkProxyFactory$1.invoke(AbstractServiceReferenceRecipe.java:561) at $Proxy18.unregisterMBean(Unknown Source) at org.apache.servicemix.nmr.management.ManagementAgent.unregister(ManagementAgent.java:263) at org.apache.servicemix.nmr.management.ManagementAgent.destroy(ManagementAgent.java:209) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.geronimo.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:206) at org.apache.geronimo.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:639) at org.apache.geronimo.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:548) at org.apache.geronimo.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:288) at org.apache.geronimo.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:644) at org.apache.geronimo.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:795) at org.apache.geronimo.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:172) at org.apache.geronimo.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:164) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:919) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1350) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1301) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:470) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:546) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1098) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:593) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:261) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:216) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:685) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:583) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243) at java.lang.Thread.run(Thread.java:637)