Geronimo
  1. Geronimo
  2. GERONIMO-5639

org.osgi.service.blueprint.container.ServiceUnavailableException when shutdown the server

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: startup/shutdown
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      Windows 7 x86
      sun jdk 1.6.0_20

    • Regression:
      Regression

      Description

      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(<generated>)
      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?

      1. G5639.patch
        2 kB
        viola.lu
      2. geronimo.log
        57 kB
        Forrest Xia
      3. config.xml
        12 kB
        Forrest Xia

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          20d 20h 6m 1 viola.lu 02/Nov/10 05:43
          Closed Closed Reopened Reopened
          8d 29m 1 Forrest Xia 10/Nov/10 06:13
          Reopened Reopened Resolved Resolved
          251d 2h 30m 1 Shawn Jiang 19/Jul/11 09:43
          Resolved Resolved Closed Closed
          36d 8h 20m 1 Forrest Xia 24/Aug/11 18:04
          Forrest Xia made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Shawn Jiang made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Fix Version/s 3.0 [ 12314206 ]
          Fix Version/s Wish List [ 12310202 ]
          Resolution Fixed [ 1 ]
          Hide
          Shawn Jiang added a comment -

          Please verify.

          Show
          Shawn Jiang added a comment - Please verify.
          Hide
          Shawn Jiang added a comment -

          Updated the log4j.properties to remove this annoying exception in log.

          Repository Revision Date User Message
          ASF #1148232 Tue Jul 19 08:38:54 UTC 2011 genspring GERONIMO-5639 org.osgi.service.blueprint.container.ServiceUnavailableException when shutdown the server.
          Files Changed
          MODIFY /geronimo/server/trunk/framework/configs/karaf-framework/src/main/distribution/instance/var/log/server-log4j.properties

          Show
          Shawn Jiang added a comment - Updated the log4j.properties to remove this annoying exception in log. Repository Revision Date User Message ASF #1148232 Tue Jul 19 08:38:54 UTC 2011 genspring GERONIMO-5639 org.osgi.service.blueprint.container.ServiceUnavailableException when shutdown the server. Files Changed MODIFY /geronimo/server/trunk/framework/configs/karaf-framework/src/main/distribution/instance/var/log/server-log4j.properties
          Shawn Jiang made changes -
          Assignee viola.lu [ viola.lu ] Shawn Jiang [ genspring ]
          Forrest Xia made changes -
          Fix Version/s Wish List [ 12310202 ]
          Hide
          Forrest Xia added a comment -

          Since this exception won't impact server use, so defer to wish list.

          Show
          Forrest Xia added a comment - Since this exception won't impact server use, so defer to wish list.
          Hide
          Tina Li added a comment -

          try on build 2011.04.18-19:18:09.016+0800-3.0-SNAPSHOT,this problem still exists:
          2011-04-22 17:58:46,680 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:176)
          at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
          at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201)
          at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)
          at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)
          at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)
          at $Proxy60.unregisterProvider(Unknown Source)
          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:60)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
          at java.lang.reflect.Method.invoke(Method.java:611)
          at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)
          at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)
          at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741)
          at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835)
          at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250)
          at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242)
          at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431)
          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:211)
          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:1349)
          at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300)
          at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497)
          at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
          at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
          at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
          at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243)
          at java.lang.Thread.run(Thread.java:736)
          2011-04-22 17:58:46,680 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:176)
          at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
          at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201)
          at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)
          at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)
          at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)
          at $Proxy60.unregisterProvider(Unknown Source)
          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:60)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
          at java.lang.reflect.Method.invoke(Method.java:611)
          at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)
          at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)
          at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741)
          at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835)
          at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250)
          at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242)
          at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431)
          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:211)
          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:1349)
          at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300)
          at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497)
          at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
          at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
          at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
          at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243)
          at java.lang.Thread.run(Thread.java:736)
          2011-04-22 17:58:46,680 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:176)
          at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
          at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201)
          at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)
          at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)
          at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)
          at $Proxy60.unregisterService(Unknown Source)
          at org.apache.yoko.osgi.locator.ServiceBean.stop(ServiceBean.java:61)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
          at java.lang.reflect.Method.invoke(Method.java:611)
          at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)
          at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)
          at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741)
          at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835)
          at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250)
          at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242)
          at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431)
          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:211)
          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:1349)
          at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300)
          at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497)
          at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
          at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
          at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
          at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243)
          at java.lang.Thread.run(Thread.java:736)
          2011-04-22 17:58:46,680 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:176)
          at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
          at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201)
          at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)
          at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)
          at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)
          at $Proxy60.unregisterService(Unknown Source)
          at org.apache.yoko.osgi.locator.ServiceBean.stop(ServiceBean.java:61)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
          at java.lang.reflect.Method.invoke(Method.java:611)
          at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)
          at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)
          at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741)
          at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835)
          at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250)
          at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242)
          at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431)
          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:211)
          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:1349)
          at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300)
          at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497)
          at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
          at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
          at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
          at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243)
          at java.lang.Thread.run(Thread.java:736)
          2011-04-22 17:58:46,695 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:176)
          at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
          at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201)
          at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)
          at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)
          at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)
          at $Proxy60.unregisterService(Unknown Source)
          at org.apache.yoko.osgi.locator.ServiceBean.stop(ServiceBean.java:61)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
          at java.lang.reflect.Method.invoke(Method.java:611)
          at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)
          at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)
          at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741)
          at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835)
          at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250)
          at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242)
          at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431)
          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:211)
          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:1349)
          at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300)
          at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497)
          at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
          at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
          at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
          at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243)
          at java.lang.Thread.run(Thread.java:736)
          2011-04-22 17:58:46,695 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:176)
          at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
          at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201)
          at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)
          at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)
          at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)
          at $Proxy60.unregisterService(Unknown Source)
          at org.apache.yoko.osgi.locator.ServiceBean.stop(ServiceBean.java:61)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
          at java.lang.reflect.Method.invoke(Method.java:611)
          at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)
          at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)
          at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741)
          at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835)
          at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250)
          at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242)
          at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431)
          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:211)
          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:1349)
          at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300)
          at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497)
          at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
          at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
          at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
          at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
          at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
          at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243)
          at java.lang.Thread.run(Thread.java:736)

          Show
          Tina Li added a comment - try on build 2011.04.18-19:18:09.016+0800-3.0-SNAPSHOT,this problem still exists: 2011-04-22 17:58:46,680 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:176) at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49) at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201) at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50) at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31) at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78) at $Proxy60.unregisterProvider(Unknown Source) 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:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226) at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824) at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741) at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835) at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250) at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242) at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431) 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:211) 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:1349) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243) at java.lang.Thread.run(Thread.java:736) 2011-04-22 17:58:46,680 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:176) at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49) at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201) at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50) at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31) at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78) at $Proxy60.unregisterProvider(Unknown Source) 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:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226) at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824) at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741) at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835) at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250) at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242) at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431) 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:211) 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:1349) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243) at java.lang.Thread.run(Thread.java:736) 2011-04-22 17:58:46,680 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:176) at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49) at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201) at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50) at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31) at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78) at $Proxy60.unregisterService(Unknown Source) at org.apache.yoko.osgi.locator.ServiceBean.stop(ServiceBean.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226) at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824) at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741) at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835) at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250) at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242) at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431) 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:211) 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:1349) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243) at java.lang.Thread.run(Thread.java:736) 2011-04-22 17:58:46,680 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:176) at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49) at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201) at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50) at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31) at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78) at $Proxy60.unregisterService(Unknown Source) at org.apache.yoko.osgi.locator.ServiceBean.stop(ServiceBean.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226) at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824) at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741) at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835) at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250) at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242) at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431) 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:211) 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:1349) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243) at java.lang.Thread.run(Thread.java:736) 2011-04-22 17:58:46,695 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:176) at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49) at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201) at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50) at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31) at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78) at $Proxy60.unregisterService(Unknown Source) at org.apache.yoko.osgi.locator.ServiceBean.stop(ServiceBean.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226) at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824) at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741) at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835) at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250) at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242) at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431) 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:211) 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:1349) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243) at java.lang.Thread.run(Thread.java:736) 2011-04-22 17:58:46,695 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:176) at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49) at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201) at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50) at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31) at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78) at $Proxy60.unregisterService(Unknown Source) at org.apache.yoko.osgi.locator.ServiceBean.stop(ServiceBean.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226) at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824) at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:741) at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:681) at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:835) at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250) at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242) at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:431) 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:211) 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:1349) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:497) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243) at java.lang.Thread.run(Thread.java:736)
          Hide
          viola.lu added a comment -

          This is fixed in aries blueprint 0.4-SNAPSHOT. Our current aries blueprint version is 0.3, should upgrade blueprint version.

          Show
          viola.lu added a comment - This is fixed in aries blueprint 0.4-SNAPSHOT. Our current aries blueprint version is 0.3, should upgrade blueprint version.
          Holly Cummins made changes -
          Link This issue is a clone of ARIES-612 [ ARIES-612 ]
          Hide
          Holly Cummins added a comment -

          I think this should be fixed under https://issues.apache.org/jira/browse/ARIES-612.

          Show
          Holly Cummins added a comment - I think this should be fixed under https://issues.apache.org/jira/browse/ARIES-612 .
          Forrest Xia made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          Hide
          LiWenQin added a comment -

          Same issue failed on the latest build (geronimo-tomcat7-javaee6-3.0-SNAPSHOT built on 2011-03-01).

          Show
          LiWenQin added a comment - Same issue failed on the latest build (geronimo-tomcat7-javaee6-3.0-SNAPSHOT built on 2011-03-01).
          viola.lu made changes -
          Attachment G5639.patch [ 12460427 ]
          Hide
          viola.lu added a comment -

          Feedback from aries mail list: http://www.mail-archive.com/aries-user@incubator.apache.org/msg00230.html:
          this is not really an error as it does not
          prevent the correct behavior of everythig else. You can always add a
          try/catch block in your code and get rid of the exception if you don't
          want it to appear.

          So i add a try/catch in yoko-osgi
          try

          { providerRegistry.unregisterProvider(bundleProviderLoader); }

          catch (Exception e)

          { log.log(Level.FINE, null); }

          Pls check it, thanks.

          Show
          viola.lu added a comment - Feedback from aries mail list: http://www.mail-archive.com/aries-user@incubator.apache.org/msg00230.html: this is not really an error as it does not prevent the correct behavior of everythig else. You can always add a try/catch block in your code and get rid of the exception if you don't want it to appear. So i add a try/catch in yoko-osgi try { providerRegistry.unregisterProvider(bundleProviderLoader); } catch (Exception e) { log.log(Level.FINE, null); } Pls check it, thanks.
          Hide
          viola.lu added a comment -

          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.

          Show
          viola.lu added a comment - 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.
          Forrest Xia made changes -
          Resolution Cannot Reproduce [ 5 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Regression [Regression]
          Hide
          Forrest Xia added a comment -

          The same issue happened again in the latest build. So reopen it.

          Show
          Forrest Xia added a comment - The same issue happened again in the latest build. So reopen it.
          viola.lu made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Cannot Reproduce [ 5 ]
          Hide
          viola.lu added a comment -

          In latest build, cann't reproduce it. so clost it.

          Show
          viola.lu added a comment - In latest build, cann't reproduce it. so clost it.
          Hide
          viola.lu added a comment -

          In today's latest build, this log information doesn't exist in log.

          Show
          viola.lu added a comment - In today's latest build, this log information doesn't exist in log.
          Hide
          viola.lu added a comment -

          After debugging into code, this error is from Aries blueprint/blueprint-core/org.apache.aries.blueprint.container.BeanRecipe Destroy exception:
          try {
          Method method = getDestroyMethod(obj);
          if (method != null)

          { invoke(method, obj, (Object[]) null); }

          } catch (Exception e)

          { LOGGER.info("Error invoking destroy method", getRealCause(e)); }

          and org.apache.aries.blueprint.container.ReferenceReceipe

          if (trackedServiceReference == null) {
          if (isStarted()) {
          LOGGER.info("Timeout expired when waiting for OSGi service {}", getOsgiFilter());
          throw new ServiceUnavailableException("Timeout expired when waiting for OSGi service", getOsgiFilter());
          } else

          { throw new ServiceUnavailableException("The Blueprint container is being or has been destroyed", getOsgiFilter()); }

          }

          When shutdown, blueprint container will destroy its components. But here when destroy yoko servicebean/provider bean stop method, blueprint container is already stopped,s o errors exist invoking destroy method. If we should fix this log info, should update aries code about this exception resolution. I will get some hints from Aries forum. Any comments?

          Show
          viola.lu added a comment - After debugging into code, this error is from Aries blueprint/blueprint-core/org.apache.aries.blueprint.container.BeanRecipe Destroy exception: try { Method method = getDestroyMethod(obj); if (method != null) { invoke(method, obj, (Object[]) null); } } catch (Exception e) { LOGGER.info("Error invoking destroy method", getRealCause(e)); } and org.apache.aries.blueprint.container.ReferenceReceipe if (trackedServiceReference == null) { if (isStarted()) { LOGGER.info("Timeout expired when waiting for OSGi service {}", getOsgiFilter()); throw new ServiceUnavailableException("Timeout expired when waiting for OSGi service", getOsgiFilter()); } else { throw new ServiceUnavailableException("The Blueprint container is being or has been destroyed", getOsgiFilter()); } } When shutdown, blueprint container will destroy its components. But here when destroy yoko servicebean/provider bean stop method, blueprint container is already stopped,s o errors exist invoking destroy method. If we should fix this log info, should update aries code about this exception resolution. I will get some hints from Aries forum. Any comments?
          viola.lu made changes -
          Assignee viola.lu [ viola.lu ]
          Forrest Xia made changes -
          Field Original Value New Value
          Attachment config.xml [ 12456947 ]
          Attachment geronimo.log [ 12456948 ]
          Hide
          Forrest Xia added a comment -

          Attached the server config.xml and log file for reference.

          Show
          Forrest Xia added a comment - Attached the server config.xml and log file for reference.
          Forrest Xia created issue -

            People

            • Assignee:
              Shawn Jiang
              Reporter:
              Forrest Xia
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development