ServiceMix
  1. ServiceMix
  2. SM-2244

Uninstall activiti feature results in error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.0.2, 5.1.0, 6.0.0.M1, 6.0.0
    • Component/s: itests
    • Labels:
      None

      Description

      When uninstalling the activiti feature we get the following stacktrace

      stacktrace
      2014-02-20 12:03:19,462 | ERROR | l Console Thread | BeanRecipe                       | ?                                   ? | 8 - org.apache.aries.blueprint.core - 1.1.0 | The blueprint bean processEngineFactory in bundle org.apache.servicemix.activiti.config/5.0.0.SNAPSHOT incorrectly threw an exception from its destroy method.
      org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint container is being or has been destroyed: (objectClass=javax.transaction.TransactionManager)
      	at org.apache.aries.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:233)
      	at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:54)
      	at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:291)
      	at Proxy74731c29_a1b5_47ef_a4bf_0783c67a9298.getStatus(Unknown Source)
      	at org.activiti.engine.impl.interceptor.JtaTransactionInterceptor.isExisting(JtaTransactionInterceptor.java:94)
      	at org.activiti.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:49)
      	at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
      	at org.activiti.engine.impl.ProcessEngineImpl.close(ProcessEngineImpl.java:98)
      	at org.activiti.osgi.blueprint.ProcessEngineFactory.destroy(ProcessEngineFactory.java:55)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_51]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_51]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_51]
      	at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_51]
      	at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[8:org.apache.aries.blueprint.core:1.1.0]
      	at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[8:org.apache.aries.blueprint.core:1.1.0]
      	at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:863)[8:org.apache.aries.blueprint.core:1.1.0]
      	at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:320)[8:org.apache.aries.blueprint.core:1.1.0]
      	at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:709)[8:org.apache.aries.blueprint.core:1.1.0]
      	at org.apache.aries.blueprint.container.BlueprintContainerImpl.tidyupComponents(BlueprintContainerImpl.java:908)[8:org.apache.aries.blueprint.core:1.1.0]
      	at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:857)[8:org.apache.aries.blueprint.core:1.1.0]
      	at org.apache.aries.blueprint.container.BlueprintExtender$3.run(BlueprintExtender.java:284)[8:org.apache.aries.blueprint.core:1.1.0]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_51]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]
      	at org.apache.aries.blueprint.container.BlueprintExtender.destroyContainer(BlueprintExtender.java:305)[8:org.apache.aries.blueprint.core:1.1.0]
      	at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:206)[8:org.apache.aries.blueprint.core:1.1.0]
      	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[12:org.apache.aries.util:1.1.0]
      	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[12:org.apache.aries.util:1.1.0]
      	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[12:org.apache.aries.util:1.1.0]
      	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[12:org.apache.aries.util:1.1.0]
      	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[12:org.apache.aries.util:1.1.0]
      	at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.jar:]
      	at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)[org.apache.felix.framework-4.0.3.jar:]
      	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)[org.apache.felix.framework-4.0.3.jar:]
      	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4244)[org.apache.felix.framework-4.0.3.jar:]
      	at org.apache.felix.framework.Felix.stopBundle(Felix.java:2351)[org.apache.felix.framework-4.0.3.jar:]
      	at org.apache.felix.framework.Felix.uninstallBundle(Felix.java:2463)[org.apache.felix.framework-4.0.3.jar:]
      	at org.apache.felix.framework.BundleImpl.uninstall(BundleImpl.java:1012)[org.apache.felix.framework-4.0.3.jar:]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.uninstallFeature(FeaturesServiceImpl.java:988)[45:org.apache.karaf.features.core:2.3.3]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.uninstallFeature(FeaturesServiceImpl.java:969)[45:org.apache.karaf.features.core:2.3.3]
      	at org.apache.karaf.features.command.UninstallFeatureCommand.doExecute(UninstallFeatureCommand.java:43)[33:org.apache.karaf.features.command:2.3.3]
      	at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)[33:org.apache.karaf.features.command:2.3.3]
      	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[15:org.apache.karaf.shell.console:2.3.3]
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[15:org.apache.karaf.shell.console:2.3.3]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.karaf.shell.console:2.3.3]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[15:org.apache.karaf.shell.console:2.3.3]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[15:org.apache.karaf.shell.console:2.3.3]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.karaf.shell.console:2.3.3]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.karaf.shell.console:2.3.3]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.karaf.shell.console:2.3.3]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.karaf.shell.console:2.3.3]
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:173)[15:org.apache.karaf.shell.console:2.3.3]
      	at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
      
      

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Gert Vanthienen
              Reporter:
              Bart Horré
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development