Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 49360 invoked from network); 17 Nov 2010 04:56:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Nov 2010 04:56:05 -0000 Received: (qmail 32909 invoked by uid 500); 17 Nov 2010 04:56:36 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 32766 invoked by uid 500); 17 Nov 2010 04:56:36 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 32759 invoked by uid 99); 17 Nov 2010 04:56:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 04:56:35 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 04:56:34 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAH4uDUD022246 for ; Wed, 17 Nov 2010 04:56:14 GMT Message-ID: <25236919.137161289969773674.JavaMail.jira@thor> Date: Tue, 16 Nov 2010 23:56:13 -0500 (EST) From: "viola.lu (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-5639) org.osgi.service.blueprint.container.ServiceUnavailableException when shutdown the server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932813#action_12932813 ] viola.lu commented on GERONIMO-5639: ------------------------------------ In the build 2010.11.16-16:04:53.609+0800, this error doesn't exist. t's an periodical exception coz of unstable build. > org.osgi.service.blueprint.container.ServiceUnavailableException when shutdown the server > ----------------------------------------------------------------------------------------- > > Key: GERONIMO-5639 > URL: https://issues.apache.org/jira/browse/GERONIMO-5639 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: startup/shutdown > Affects Versions: 3.0 > Environment: Windows 7 x86 > sun jdk 1.6.0_20 > Reporter: Forrest Xia > Assignee: viola.lu > Attachments: config.xml, geronimo.log > > > Steps: > 1. Get the latest G build > 2. Unzip and boot the default instance > 3. Shutdown it > Everything seems ok, but in the geronimo.log there is always an exception like this: > 2010-10-12 16:35:04,985 INFO [BeanRecipe] Error invoking destroy method > org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint container is being or has been destroyed > at org.apache.aries.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:183) > at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:52) > at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:208) > at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe$CgLibProxyFactory$1.loadObject(AbstractServiceReferenceRecipe.java:652) > at org.apache.yoko.osgi.locator.Register$$EnhancerByCGLIB$$2b0d9326.unregisterProvider() > at org.apache.yoko.osgi.locator.ProviderBean.stop(ProviderBean.java:61) > 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.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:221) > at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:844) > at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:761) > at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295) > at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:665) > at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:819) > at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:204) > at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:196) > at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:385) > at org.apache.aries.util.tracker.InternalRecursiveBundleTracker.modifiedBundle(InternalRecursiveBundleTracker.java:89) > at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:453) > at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:237) > at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:413) > 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:619) > Though it does not hurt the shutdown process, but it seems annoying. Can we fix it? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.