You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Gerald Kallas <ca...@mailbox.org.INVALID> on 2020/10/01 07:36:02 UTC

Camel 3.4.4 - Update Blueprint DSL file - "Error occurred while stopping lifecycle strategies."

Dear all,

I'm working with Camel 3.4.4 and Karaf 4.2.9. When updating a Blueprint DSL file in deploy folder I'm getting this error message (finally a WARN).

Any hints and comments on this?

Thanks in advance
Gerald

2020-10-01T07:32:22,976 | INFO | fileinstall-/opt/apache-karaf-4.2.9/deploy | fileinstall | 10 - org.apache.felix.fileinstall - 3.6.6 | Updating bundle isp.route.hello.xml / 0.0.0
2020-10-01T07:32:22,977 | INFO | fileinstall-/opt/apache-karaf-4.2.9/deploy | BlueprintExtender | 106 - org.apache.aries.blueprint.core - 1.10.2 | Destroying container for blueprint bundle isp.route.hello.xml/0.0.0
2020-10-01T07:32:23,018 | INFO | fileinstall-/opt/apache-karaf-4.2.9/deploy | AbstractCamelContext | 116 - org.apache.camel.camel-base - 3.4.4 | Apache Camel 3.4.4 (isp.context.user.hello) is shutting down
2020-10-01T07:32:23,029 | INFO | fileinstall-/opt/apache-karaf-4.2.9/deploy | DefaultShutdownStrategy | 116 - org.apache.camel.camel-base - 3.4.4 | Starting to graceful shutdown 1 routes (timeout 45 seconds)
2020-10-01T07:32:23,032 | INFO | Camel (isp.context.user.hello) thread #3 - ShutdownTask | DefaultShutdownStrategy | 116 - org.apache.camel.camel-base - 3.4.4 | Route: isp.route.user.hello shutdown complete, was consuming from: servlet:/get
2020-10-01T07:32:23,032 | INFO | fileinstall-/opt/apache-karaf-4.2.9/deploy | DefaultShutdownStrategy | 116 - org.apache.camel.camel-base - 3.4.4 | Graceful shutdown of 1 routes completed in 0 seconds
2020-10-01T07:32:23,036 | WARN | fileinstall-/opt/apache-karaf-4.2.9/deploy | AbstractCamelContext | 116 - org.apache.camel.camel-base - 3.4.4 | Error occurred while stopping lifecycle strategies. This exception will be ignored.
org.osgi.service.blueprint.container.NoSuchComponentException: No component with id 'blueprintBundle' could be found
at org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentInstance(BlueprintContainerImpl.java:805) ~[!/:1.10.2]
at org.apache.camel.blueprint.BlueprintContainerBeanRepository.lookupByType(BlueprintContainerBeanRepository.java:104) ~[!/:3.4.4]
at org.apache.camel.blueprint.BlueprintContainerBeanRepository.lookupByType(BlueprintContainerBeanRepository.java:100) ~[!/:3.4.4]
at org.apache.camel.blueprint.BlueprintContainerBeanRepository.findByType(BlueprintContainerBeanRepository.java:94) ~[!/:3.4.4]
at org.apache.camel.support.DefaultRegistry.findByType(DefaultRegistry.java:203) ~[!/:3.4.4]
at org.apache.camel.impl.engine.OnCamelContextLifecycleStrategy.onContextStop(OnCamelContextLifecycleStrategy.java:60) ~[!/:3.4.4]
at org.apache.camel.impl.engine.AbstractCamelContext.doStop(AbstractCamelContext.java:2910) [!/:3.4.4]
at org.apache.camel.support.service.BaseService.stop(BaseService.java:155) [!/:3.4.4]
at org.apache.camel.blueprint.BlueprintCamelContext.destroy(BlueprintCamelContext.java:145) [!/:3.4.4]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:337) [!/:1.10.2]
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:835) [!/:1.10.2]
at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:742) [!/:1.10.2]
at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:434) [!/:1.10.2]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:778) [!/:1.10.2]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.tidyupComponents(BlueprintContainerImpl.java:987) [!/:1.10.2]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:923) [!/:1.10.2]
at org.apache.aries.blueprint.container.BlueprintExtender$3.run(BlueprintExtender.java:336) [!/:1.10.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
at org.apache.aries.blueprint.container.BlueprintExtender.destroyContainer(BlueprintExtender.java:357) [!/:1.10.2]
at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:249) [!/:1.10.2]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500) [!/:1.10.2]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433) [!/:1.10.2]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725) [!/:1.10.2]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463) [!/:1.10.2]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422) [!/:1.10.2]
at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179) [org.apache.felix.framework-5.6.12.jar:?]
at org.apache.felix.framework.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:730) [org.apache.felix.framework-5.6.12.jar:?]
at org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:485) [org.apache.felix.framework-5.6.12.jar:?]
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4579) [org.apache.felix.framework-5.6.12.jar:?]
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2626) [org.apache.felix.framework-5.6.12.jar:?]
at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:1038) [org.apache.felix.framework-5.6.12.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.stopTransient(DirectoryWatcher.java:1194) [!/:3.6.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.update(DirectoryWatcher.java:1135) [!/:3.6.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.update(DirectoryWatcher.java:919) [!/:3.6.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:488) [!/:3.6.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [!/:3.6.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [!/:3.6.6]
2020-10-01T07:32:23,070 | INFO | fileinstall-/opt/apache-karaf-4.2.9/deploy | AbstractCamelContext | 116 - org.apache.camel.camel-base - 3.4.4 | Apache Camel 3.4.4 (isp.context.user.hello) uptime 17 minutes
2020-10-01T07:32:23,071 | INFO | fileinstall-/opt/apache-karaf-4.2.9/deploy | AbstractCamelContext | 116 - org.apache.camel.camel-base - 3.4.4 | Apache Camel 3.4.4 (isp.context.user.hello) is shutdown in 0.052 seconds
2020-10-01T07:32:23,109 | INFO | fileinstall-/opt/apache-karaf-4.2.9/deploy | HttpServiceFactoryImpl | 61 - org.ops4j.pax.web.pax-web-runtime - 7.2.16 | Unbinding bundle: [isp.route.hello.xml [290]]
2020-10-01T07:32:23,109 | INFO | fileinstall-/opt/apache-karaf-4.2.9/deploy | Context | 63 - org.ops4j.pax.web.pax-web-undertow - 7.2.16 | destroying context DefaultHttpContext [bundle=isp.route.hello.xml [290], contextID=default], with context path: