Return-Path: Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: (qmail 21509 invoked from network); 2 Feb 2010 16:53:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2010 16:53:08 -0000 Received: (qmail 48522 invoked by uid 500); 2 Feb 2010 16:53:08 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 48494 invoked by uid 500); 2 Feb 2010 16:53:08 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Received: (qmail 48484 invoked by uid 99); 2 Feb 2010 16:53:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:53:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:53:07 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6DAD829A0012 for ; Tue, 2 Feb 2010 08:52:47 -0800 (PST) Message-ID: <735989814.7991265129567448.JavaMail.jira@brutus.apache.org> Date: Tue, 2 Feb 2010 16:52:47 +0000 (UTC) From: "Eoghan Glynn (JIRA)" To: dev@servicemix.apache.org Subject: [jira] Resolved: (SMX4NMR-182) Spurious ServiceUnavailableException on shutdown of ManagementAgent In-Reply-To: <130368072.7871265128952828.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ 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.