You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Eoghan Glynn (JIRA)" <ji...@apache.org> on 2010/02/02 17:52:47 UTC

[jira] Resolved: (SMX4NMR-182) Spurious ServiceUnavailableException on shutdown of ManagementAgent

     [ https://issues.apache.org/activemq/browse/SMX4NMR-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eoghan Glynn resolved SMX4NMR-182.
----------------------------------

    Resolution: Fixed

Fix [committed|http://svn.apache.org/viewvc?rev=905703&view=rev]

> Spurious ServiceUnavailableException on shutdown of ManagementAgent
> -------------------------------------------------------------------
>
>                 Key: SMX4NMR-182
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-182
>             Project: ServiceMix NMR
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Eoghan Glynn
>            Assignee: Eoghan Glynn
>             Fix For: 1.2.0
>
>
> Due to a timing / shutdown ordering issue that we may safely ignore as not unregistering from an already shutdown blueprint container is quite harmless:
> {code}
> 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)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.