An exception is generated when a feature is unregistered
--------------------------------------------------------

                 Key: FELIX-1420
                 URL: https://issues.apache.org/jira/browse/FELIX-1420
             Project: Felix
          Issue Type: Bug
          Components: Karaf
            Reporter: Tim Moloney


The following exception is generated for each feature when Karaf is terminated 
and the features are unregistered.

21:16:55,102 | WARN  | FelixStartLevel  | ManagedFeaturesRegistry          | 
nagement.ManagedFeaturesRegistry  110 | Unable to unregister managed feature: 
org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint 
container is being or has been destroyed
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:192)
        at 
org.apache.geronimo.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
        at 
org.apache.geronimo.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:217)
        at 
org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$JdkProxyFactory$1.invoke(AbstractServiceReferenceRecipe.java:521)
        at $Proxy4.unregisterMBean(Unknown Source)
        at 
org.apache.felix.karaf.gshell.features.management.ManagementAgent.unregister(ManagementAgent.java:102)
        at 
org.apache.felix.karaf.gshell.features.management.ManagedFeaturesRegistry.unregister(ManagedFeaturesRegistry.java:107)
        at 
org.apache.felix.karaf.gshell.features.management.ManagedFeaturesRegistry.unregister(ManagedFeaturesRegistry.java:161)
        at 
org.apache.felix.karaf.gshell.features.internal.FeaturesServiceImpl.internalRemoveRepository(FeaturesServiceImpl.java:145)
        at 
org.apache.felix.karaf.gshell.features.internal.FeaturesServiceImpl.stop(FeaturesServiceImpl.java:422)
        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.container.BeanRecipe.destroy(BeanRecipe.java:542)
        at 
org.apache.geronimo.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:273)
        at 
org.apache.geronimo.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:558)
        at 
org.apache.geronimo.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:709)
        at 
org.apache.geronimo.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:163)
        at 
org.apache.geronimo.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:155)
        at 
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:791)
        at 
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:719)
        at 
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:603)
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3580)
        at org.apache.felix.framework.Felix.stopBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1094)
        at 
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
        at java.lang.Thread.run(Thread.java:619)


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

Reply via email to