Closed umeetiusbaar closed 10 years ago
No, wait.. it is working again.. it just took 5 minutes but after that it works again and the container seem to be alive. But there is a timeout error in log:
2014-04-01 08:33:20,997 | INFO | xFrameworkWiring | ReferenceRecipe | eprint.container.ReferenceRecipe 228 | 13 - org.apache.aries.blueprint.core - 1.0.1.redhat-610376 | Timeout expired when waiting for mandatory OSGi service reference (objectClass=io.fabric8.api.FabricService)
2014-04-01 08:33:20,999 | ERROR | xFrameworkWiring | BeanRecipe | s.blueprint.container.BeanRecipe 873 | 13 - org.apache.aries.blueprint.core - 1.0.1.redhat-610376 | The blueprint bean watcher in bundle io.fabric8.fabric-agent-commands/1.0.0.redhat-376 incorrectly threw an exception from its destroy method.
org.osgi.service.blueprint.container.ServiceUnavailableException: Timeout expired when waiting for mandatory OSGi service reference: (objectClass=io.fabric8.api.FabricService)
at org.apache.aries.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:229)
at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:55)
at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:294)
at Proxybb7674cb_069c_4f57_a14a_1b7075752156.untrackConfiguration(Unknown Source)
at io.fabric8.agent.commands.support.ProfileWatcher.stop(ProfileWatcher.java:428)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_13]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_13]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_13]
at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_13]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:863)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:320)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:717)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.tidyupComponents(BlueprintContainerImpl.java:919)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:869)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintExtender$3.run(BlueprintExtender.java:295)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_13]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_13]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_13]
at org.apache.aries.blueprint.container.BlueprintExtender.destroyContainer(BlueprintExtender.java:316)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:216)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[12:org.apache.aries.util:1.0.1.redhat-610376]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[12:org.apache.aries.util:1.0.1.redhat-610376]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[12:org.apache.aries.util:1.0.1.redhat-610376]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[12:org.apache.aries.util:1.0.1.redhat-610376]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[12:org.apache.aries.util:1.0.1.redhat-610376]
at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4650)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2765)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.Felix$RefreshHelper.stop(Felix.java:5117)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.Felix.refreshPackages(Felix.java:4355)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.FrameworkWiringImpl.run(FrameworkWiringImpl.java:178)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_13]
--teemu
This same thing - Container shutdown, 5min timeout, Container restart - happens also when doing a Container rollback after a failed upgrade (java.lang.ClassNotFoundException: org.apache.http.conn.scheme.SchemeSocketFactory not found by org.apache.servicemix.bundles.spring-web [249]):
...
[after shutdown as in previous log message and 5min wait]
...
2014-04-01 10:09:01,789 | INFO | xFrameworkWiring | ReferenceRecipe | eprint.container.ReferenceRecipe 228 | 13 - org.apache.aries.blueprint.core - 1.0.1.redhat-610376 | Timeout expired when waiting for mandatory OSGi service reference (objectClass=io.fabric8.api.FabricService)
2014-04-01 10:09:01,791 | ERROR | xFrameworkWiring | BeanRecipe | s.blueprint.container.BeanRecipe 873 | 13 - org.apache.aries.blueprint.core - 1.0.1.redhat-610376 | The blueprint bean watcher in bundle io.fabric8.fabric-agent-commands/1.0.0.redhat-376 incorrectly threw an exception from its destroy method.
org.osgi.service.blueprint.container.ServiceUnavailableException: Timeout expired when waiting for mandatory OSGi service reference: (objectClass=io.fabric8.api.FabricService)
at org.apache.aries.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:229)
at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:55)
at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:294)
at Proxybb7674cb_069c_4f57_a14a_1b7075752156.untrackConfiguration(Unknown Source)
at io.fabric8.agent.commands.support.ProfileWatcher.stop(ProfileWatcher.java:428)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_13]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_13]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_13]
at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_13]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:863)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:320)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:717)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.tidyupComponents(BlueprintContainerImpl.java:919)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:869)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintExtender$3.run(BlueprintExtender.java:295)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_13]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_13]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_13]
at org.apache.aries.blueprint.container.BlueprintExtender.destroyContainer(BlueprintExtender.java:316)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:216)[13:org.apache.aries.blueprint.core:1.0.1.redhat-610376]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[12:org.apache.aries.util:1.0.1.redhat-610376]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[12:org.apache.aries.util:1.0.1.redhat-610376]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[12:org.apache.aries.util:1.0.1.redhat-610376]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[12:org.apache.aries.util:1.0.1.redhat-610376]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[12:org.apache.aries.util:1.0.1.redhat-610376]
at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4650)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2765)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.Felix$RefreshHelper.stop(Felix.java:5117)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.Felix.refreshPackages(Felix.java:4355)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.FrameworkWiringImpl.run(FrameworkWiringImpl.java:178)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_13]
2014-04-01 10:09:01,797 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.api.jmx.ClusterBootstrapManager@707d1347
2014-04-01 10:09:01,815 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.service.PortPlaceholderResolver@2d410b5d
2014-04-01 10:09:01,816 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.service.ProfilePropertyPointerResolver@3894b98a
2014-04-01 10:09:01,818 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.service.VersionPropertyPointerResolver@57d00814
2014-04-01 10:09:01,819 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.internal.ZooKeeperClusterBootstrapImpl@3c15a2d
2014-04-01 10:09:01,829 | INFO | xFrameworkWiring | ContextHandler | ty.server.handler.ContextHandler 843 | 89 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | stopped HttpServiceContext{httpContext=JolokiaSecureHttpContext{io.fabric8.fabric-jolokia - 119}}
2014-04-01 10:09:01,830 | INFO | xFrameworkWiring | HttpServiceFactoryImpl | .internal.HttpServiceFactoryImpl 43 | 99 - org.ops4j.pax.web.pax-web-runtime - 3.0.6 | Unbinding bundle: [io.fabric8.fabric-jolokia [119]]
2014-04-01 10:09:01,832 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.extender.listener.FabricBlueprintBundleListener@43e720be
2014-04-01 10:09:01,833 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.extender.listener.FabricSpringApplicationListener@6d373c2a
2014-04-01 10:09:01,837 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.maven.impl.MavenProxyRegistrationHandler@ebcc2c5
2014-04-01 10:09:01,841 | INFO | xFrameworkWiring | ContextHandler | ty.server.handler.ContextHandler 843 | 89 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | stopped HttpServiceContext{httpContext=DefaultHttpContext{io.fabric8.fabric-maven-proxy - 129}}
2014-04-01 10:09:01,845 | INFO | xFrameworkWiring | ContextHandler | ty.server.handler.ContextHandler 843 | 89 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | stopped HttpServiceContext{httpContext=MavenSecureHttpContext{io.fabric8.fabric-maven-proxy - 129}}
2014-04-01 10:09:01,853 | INFO | xFrameworkWiring | HttpServiceFactoryImpl | .internal.HttpServiceFactoryImpl 43 | 99 - org.ops4j.pax.web.pax-web-runtime - 3.0.6 | Unbinding bundle: [io.fabric8.fabric-maven-proxy [129]]
2014-04-01 10:09:01,855 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.zookeeper.bootstrap.ZooKeeperServerFactory@5adc008
2014-04-01 10:09:01,856 | INFO | xFrameworkWiring | ZooKeeperServerFactory | bootstrap.ZooKeeperServerFactory 207 | 54 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-376 | Destroying zookeeper server: io.fabric8.zookeeper.bootstrap.ZooKeeperServerFactory$SimpleServer@64344c8f
2014-04-01 10:09:01,859 | INFO | xFrameworkWiring | SessionTrackerImpl | keeper.server.SessionTrackerImpl 225 | 54 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-376 | Shutting down
2014-04-01 10:09:01,860 | INFO | xFrameworkWiring | SyncRequestProcessor | eper.server.SyncRequestProcessor 175 | 54 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-376 | Shutting down
2014-04-01 10:09:01,862 | INFO | SyncThread:0 | SyncRequestProcessor | eper.server.SyncRequestProcessor 155 | 54 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-376 | SyncRequestProcessor exited!
2014-04-01 10:09:01,863 | INFO | xFrameworkWiring | FinalRequestProcessor | per.server.FinalRequestProcessor 415 | 54 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-376 | shutdown of request processor complete
2014-04-01 10:09:01,866 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.zookeeper.curator.ManagedCuratorFramework@33580bb
2014-04-01 10:09:01,869 | INFO | ool-166-thread-1 | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: org.fusesource.mq.fabric.http.ServletRegistrationHandler@6f3eee82
2014-04-01 10:09:01,874 | INFO | ool-166-thread-1 | ContextHandler | ty.server.handler.ContextHandler 843 | 89 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | stopped HttpServiceContext{httpContext=DefaultHttpContext{org.jboss.amq.mq-http-discovery - 239}}
2014-04-01 10:09:01,876 | INFO | ool-166-thread-1 | HttpServiceFactoryImpl | .internal.HttpServiceFactoryImpl 43 | 99 - org.ops4j.pax.web.pax-web-runtime - 3.0.6 | Unbinding bundle: [org.jboss.amq.mq-http-discovery [239]]
2014-04-01 10:09:01,877 | INFO | ool-166-thread-1 | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.jaas.FabricJaasRealm@5d1119af
2014-04-01 10:09:01,960 | INFO | ad-1-EventThread | ConnectionStateManager | ork.state.ConnectionStateManager 161 | 54 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-376 | State change: SUSPENDED
2014-04-01 10:09:02,000 | INFO | SessionTracker | SessionTrackerImpl | keeper.server.SessionTrackerImpl 162 | 54 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-376 | SessionTrackerImpl exited loop!
2014-04-01 10:09:02,460 | ERROR | ool-166-thread-1 | ZooKeeperGroup | 8.groups.internal.ZooKeeperGroup 406 | 80 - io.fabric8.fabric-groups - 1.0.0.redhat-376 |
java.lang.IllegalStateException: Client has been stopped
at com.google.common.base.Preconditions.checkState(Preconditions.java:150)[79:com.google.guava:15.0.0]
at org.apache.curator.CuratorZookeeperClient.internalBlockUntilConnectedOrTimedOut(CuratorZookeeperClient.java:320)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-376]
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:105)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-376]
at org.apache.curator.framework.imps.DeleteBuilderImpl.pathInForeground(DeleteBuilderImpl.java:230)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-376]
at org.apache.curator.framework.imps.DeleteBuilderImpl.forPath(DeleteBuilderImpl.java:215)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-376]
at org.apache.curator.framework.imps.DeleteBuilderImpl.forPath(DeleteBuilderImpl.java:42)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-376]
at io.fabric8.groups.internal.ZooKeeperGroup.doUpdate(ZooKeeperGroup.java:231)[80:io.fabric8.fabric-groups:1.0.0.redhat-376]
at io.fabric8.groups.internal.ZooKeeperGroup.close(ZooKeeperGroup.java:186)[80:io.fabric8.fabric-groups:1.0.0.redhat-376]
at org.fusesource.mq.fabric.FabricDiscoveryAgent.stop(FabricDiscoveryAgent.java:234)[238:org.jboss.amq.mq-fabric:6.1.0.redhat-376]
at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.updateCurator(ActiveMQServiceFactory.scala:250)[238:org.jboss.amq.mq-fabric:6.1.0.redhat-376]
at org.fusesource.mq.fabric.ActiveMQServiceFactory$$anonfun$bindCurator$1.apply(ActiveMQServiceFactory.scala:605)[238:org.jboss.amq.mq-fabric:6.1.0.redhat-376]
at org.fusesource.mq.fabric.ActiveMQServiceFactory$$anonfun$bindCurator$1.apply(ActiveMQServiceFactory.scala:604)[238:org.jboss.amq.mq-fabric:6.1.0.redhat-376]
at scala.collection.mutable.HashMap$$anon$2$$anonfun$foreach$3.apply(HashMap.scala:102)[215:org.apache.servicemix.bundles.scala-library:2.9.1.3]
at scala.collection.mutable.HashMap$$anon$2$$anonfun$foreach$3.apply(HashMap.scala:102)[215:org.apache.servicemix.bundles.scala-library:2.9.1.3]
at scala.collection.Iterator$class.foreach(Iterator.scala:660)[215:org.apache.servicemix.bundles.scala-library:2.9.1.3]
at scala.collection.mutable.HashTable$$anon$1.foreach(HashTable.scala:157)[215:org.apache.servicemix.bundles.scala-library:2.9.1.3]
at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:190)[215:org.apache.servicemix.bundles.scala-library:2.9.1.3]
at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:43)[215:org.apache.servicemix.bundles.scala-library:2.9.1.3]
at scala.collection.mutable.HashMap$$anon$2.foreach(HashMap.scala:102)[215:org.apache.servicemix.bundles.scala-library:2.9.1.3]
at org.fusesource.mq.fabric.ActiveMQServiceFactory.bindCurator(ActiveMQServiceFactory.scala:604)[238:org.jboss.amq.mq-fabric:6.1.0.redhat-376]
at org.fusesource.mq.fabric.ActiveMQServiceFactory.removedService(ActiveMQServiceFactory.scala:596)[238:org.jboss.amq.mq-fabric:6.1.0.redhat-376]
at org.fusesource.mq.fabric.ActiveMQServiceFactory.removedService(ActiveMQServiceFactory.scala:145)[238:org.jboss.amq.mq-fabric:6.1.0.redhat-376]
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:956)[karaf.jar:2.3.0.redhat-610376]
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:864)[karaf.jar:2.3.0.redhat-610376]
at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)[karaf.jar:2.3.0.redhat-610376]
at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:902)[karaf.jar:2.3.0.redhat-610376]
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:934)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:795)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4666)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.Felix.access$000(Felix.java:95)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:422)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:162)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:141)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at io.fabric8.zookeeper.curator.ManagedCuratorFramework$State.run(ManagedCuratorFramework.java:115)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-376]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_13]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_13]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_13]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_13]
2014-04-01 10:09:02,463 | INFO | ool-166-thread-1 | ActiveMQServiceFactory | q.fabric.ActiveMQServiceFactory$ 64 | 238 - org.jboss.amq.mq-fabric - 6.1.0.redhat-376 | Lost zookeeper service for broker root, stopping the broker.
2014-04-01 10:09:02,463 | INFO | ool-172-thread-1 | BrokerService | he.activemq.broker.BrokerService 741 | 143 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610376 | Apache ActiveMQ 5.9.0.redhat-610376 (root, ID:teemu2013kan-40912-1396335052992-0:2) is shutting down
2014-04-01 10:09:02,464 | INFO | ool-172-thread-1 | TransportConnector | tivemq.broker.TransportConnector 294 | 143 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610376 | Connector openwire stopped
2014-04-01 10:09:02,465 | INFO | ool-172-thread-1 | PListStoreImpl | tore.kahadb.plist.PListStoreImpl 356 | 143 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610376 | PListStore:[/home/teemu/opt/fabric8-karaf-1.0.0.redhat-376/data/root/root/tmp_storage] stopped
2014-04-01 10:09:02,465 | INFO | ool-172-thread-1 | KahaDBStore | ctivemq.store.kahadb.KahaDBStore 233 | 143 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610376 | Stopping async queue tasks
2014-04-01 10:09:02,466 | INFO | ool-172-thread-1 | KahaDBStore | ctivemq.store.kahadb.KahaDBStore 247 | 143 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610376 | Stopping async topic tasks
2014-04-01 10:09:02,466 | INFO | ool-172-thread-1 | KahaDBStore | ctivemq.store.kahadb.KahaDBStore 275 | 143 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610376 | Stopped KahaDB
2014-04-01 10:09:02,860 | INFO | ool-172-thread-1 | BrokerService | he.activemq.broker.BrokerService 802 | 143 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610376 | Apache ActiveMQ 5.9.0.redhat-610376 (root, ID:teemu2013kan-40912-1396335052992-0:2) uptime 17 minutes
2014-04-01 10:09:02,860 | INFO | ool-172-thread-1 | BrokerService | he.activemq.broker.BrokerService 804 | 143 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610376 | Apache ActiveMQ 5.9.0.redhat-610376 (root, ID:teemu2013kan-40912-1396335052992-0:2) is shutdown
2014-04-01 10:09:02,861 | INFO | ool-172-thread-1 | ActiveMQServiceFactory$$anon$1 | pport.AbstractApplicationContext 1042 | 220 - org.apache.servicemix.bundles.spring-context - 3.2.8.RELEASE_1 | Closing org.fusesource.mq.fabric.ActiveMQServiceFactory$$anon$1@5feea910: startup date [Tue Apr 01 09:51:28 EEST 2014]; root of context hierarchy
2014-04-01 10:09:02,862 | INFO | ool-172-thread-1 | DefaultListableBeanFactory | ort.DefaultSingletonBeanRegistry 444 | 218 - org.apache.servicemix.bundles.spring-beans - 3.2.8.RELEASE_1 | Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@711fd72d: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,org.apache.activemq.xbean.XBeanBrokerService#0]; root of factory hierarchy
2014-04-01 10:09:02,998 | INFO | ool-166-thread-1 | ZooKeeper | org.apache.zookeeper.ZooKeeper 684 | 54 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-376 | Session: 0x1451c0df1f80000 closed
2014-04-01 10:09:03,000 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.zookeeper.bootstrap.BootstrapConfiguration@209a916c
2014-04-01 10:09:03,002 | INFO | xFrameworkWiring | AbstractComponent | abric8.api.scr.AbstractComponent 45 | 59 - io.fabric8.fabric-api - 1.0.0.redhat-376 | deactivateComponent: io.fabric8.service.ComponentConfigurer@1b3aab87
2014-04-01 10:09:03,004 | INFO | xFrameworkWiring | BlueprintExtender | nt.container.BlueprintExtender$3 293 | 13 - org.apache.aries.blueprint.core - 1.0.1.redhat-610376 | Destroying BlueprintContainer for bundle org.apache.karaf.features.management
2014-04-01 10:09:03,011 | INFO | xFrameworkWiring | BlueprintExtender | nt.container.BlueprintExtender$3 293 | 13 - org.apache.aries.blueprint.core - 1.0.1.redhat-610376 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-bindings-coloc
2014-04-01 10:09:03,018 | INFO | xFrameworkWiring | BlueprintExtender | nt.container.BlueprintExtender$3 293 | 13 - org.apache.aries.blueprint.core - 1.0.1.redhat-610376 | Destroying BlueprintContainer for bundle io.fabric8.fab.fab-osgi
2014-04-01 10:09:03,038 | INFO | xFrameworkWiring | BlueprintExtender | nt.container.BlueprintExtender$3 293 | 13 - org.apache.aries.blueprint.core - 1.0.1.redhat-610376 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-bindings-soap
2014-04-01 10:09:03,041 | INFO | xFrameworkWiring | BlueprintExtender | nt.container.BlueprintExtender$3 293 | 13 - org.apache.aries.blueprint.core - 1.0.1.redhat-610376 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-ws-addr
2014-04-01 10:09:03,045 | INFO | xFrameworkWiring | BlueprintExtender | nt.container.BlueprintExtender$3 293 | 13 - org.apache.aries.blueprint.core - 1.0.1.redhat-610376 | Destroying BlueprintContainer for bundle org.apache.cxf.cxf-rt-frontend-simple
2014-04-01 10:09:03,701 | INFO | xFrameworkWiring | BlueprintContainerImpl | container.BlueprintContainerImpl 348 | 13 - org.apache.aries.blueprint.core - 1.0.1.redhat-610376 | Bundle io.fabric8.fabric-core-agent-ssh is waiting for dependencies [(objectClass=io.fabric8.api.FabricService)]
2014-04-01 10:09:03,816 | INFO | SyncThread:0 | FileTxnLog | er.server.persistence.FileTxnLog 199 | 54 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-376 | Creating new log file: log.90f
2014-04-01 10:09:03,830 | INFO | ad-1-EventThread | ConnectionStateManager | ork.state.ConnectionStateManager 161 | 54 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-376 | State change: CONNECTED
...
In this case there is also a java.lang.IllegalStateException: "Client has been stopped".
Trying to run command "container-info" after this gives an error:
2014-04-01 10:20:59,636 | INFO | Thread-12229 | Console | araf.shell.console.jline.Console 220 | 14 - org.apache.karaf.shell.console - 2.3.0.redhat-610376 | Exception caught while executing command
java.lang.NullPointerException
at io.fabric8.commands.ContainerInfo.doExecute(ContainerInfo.java:44)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[16:org.apache.felix.gogo.runtime:0.11.0.redhat-610376]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[16:org.apache.felix.gogo.runtime:0.11.0.redhat-610376]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[16:org.apache.felix.gogo.runtime:0.11.0.redhat-610376]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[16:org.apache.felix.gogo.runtime:0.11.0.redhat-610376]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[16:org.apache.felix.gogo.runtime:0.11.0.redhat-610376]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[16:org.apache.felix.gogo.runtime:0.11.0.redhat-610376]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)
at java.lang.Thread.run(Thread.java:722)[:1.7.0_13]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(ShellFactoryImpl.java:158)[30:org.apache.karaf.shell.ssh:2.3.0.redhat-610376]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(ShellFactoryImpl.java:149)
at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_13]
at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[40:org.apache.karaf.jaas.modules:2.3.0.redhat-610376]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(ShellFactoryImpl.java:147)[30:org.apache.karaf.shell.ssh:2.3.0.redhat-610376]
Doing a complete restart to fabric8 does not help and the same error comes again.
This 5min delay and timeout seems to happen in other scenarios as well - like starting fabric8 after adding new profile into (root) container. If doing something during this 5min period one can get some strange looking errors:
java.util.concurrent.ExecutionException: java.io.IOException: Invalid BundleContext. : mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.6.0.redhat-610376/xml/features
at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)[79:com.google.guava:15.0.0]
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)[79:com.google.guava:15.0.0]
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)[79:com.google.guava:15.0.0]
at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:135)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2344)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2316)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache.get(LocalCache.java:3932)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3936)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4806)[79:com.google.guava:15.0.0]
at io.fabric8.features.FabricFeaturesServiceImpl.populateRepositories(FabricFeaturesServiceImpl.java:345)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.features.FabricFeaturesServiceImpl.listInstalledRepositories(FabricFeaturesServiceImpl.java:335)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.features.FabricFeaturesServiceImpl.run(FabricFeaturesServiceImpl.java:93)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.service.AbstractDataStore.doRunCallbacks(AbstractDataStore.java:222)[61:io.fabric8.fabric-core:1.0.0.redhat-376]
at io.fabric8.service.AbstractDataStore$1.run(AbstractDataStore.java:210)[61:io.fabric8.fabric-core:1.0.0.redhat-376]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_13]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_13]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_13]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_13]
Caused by: java.io.IOException: Invalid BundleContext. : mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.6.0.redhat-610376/xml/features
at org.apache.karaf.features.internal.RepositoryImpl.load(RepositoryImpl.java:240)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.features.FabricFeaturesServiceImpl$1.load(FabricFeaturesServiceImpl.java:65)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.features.FabricFeaturesServiceImpl$1.load(FabricFeaturesServiceImpl.java:61)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315)[79:com.google.guava:15.0.0]
... 16 more
Caused by: java.lang.IllegalStateException: Invalid BundleContext.
at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:517)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.apache.felix.framework.BundleContextImpl.getProperty(BundleContextImpl.java:84)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at org.ops4j.pax.swissbox.property.BundleContextPropertyResolver.findProperty(BundleContextPropertyResolver.java:76)[1:org.ops4j.pax.url.mvn:1.3.7]
at org.ops4j.util.property.FallbackPropertyResolver.get(FallbackPropertyResolver.java:55)[1:org.ops4j.pax.url.mvn:1.3.7]
at org.ops4j.util.property.FallbackPropertyResolver.get(FallbackPropertyResolver.java:58)[1:org.ops4j.pax.url.mvn:1.3.7]
at org.ops4j.pax.url.maven.commons.MavenConfigurationImpl.isProtocolSupportEnabled(MavenConfigurationImpl.java:333)[1:org.ops4j.pax.url.mvn:1.3.7]
at org.ops4j.pax.url.maven.commons.MavenConfigurationImpl.getProxySettings(MavenConfigurationImpl.java:365)[1:org.ops4j.pax.url.mvn:1.3.7]
at org.ops4j.pax.url.maven.commons.MavenConfigurationImpl.enableProxy(MavenConfigurationImpl.java:306)[1:org.ops4j.pax.url.mvn:1.3.7]
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:184)[1:org.ops4j.pax.url.mvn:1.3.7]
at org.apache.karaf.features.internal.RepositoryImpl.load(RepositoryImpl.java:87)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
... 20 more
2014-04-01 10:27:28,891 | WARN | pool-14-thread-1 | eventadmin | ? ? | 74 - org.apache.felix.eventadmin - 1.3.0.redhat-610376 | EventAdmin: Exception: java.lang.InterruptedException
java.lang.InterruptedException
at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.offer(Unknown Source)[74:org.apache.felix.eventadmin:1.3.0.redhat-610376]
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(Unknown Source)[74:org.apache.felix.eventadmin:1.3.0.redhat-610376]
at org.apache.felix.eventadmin.impl.tasks.DefaultThreadPool.executeTask(DefaultThreadPool.java:101)[74:org.apache.felix.eventadmin:1.3.0.redhat-610376]
at org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks.execute(AsyncDeliverTasks.java:105)[74:org.apache.felix.eventadmin:1.3.0.redhat-610376]
at org.apache.felix.eventadmin.impl.handler.EventAdminImpl.postEvent(EventAdminImpl.java:106)[74:org.apache.felix.eventadmin:1.3.0.redhat-610376]
at org.apache.felix.eventadmin.impl.adapter.LogEventAdapter$1.logged(LogEventAdapter.java:281)[74:org.apache.felix.eventadmin:1.3.0.redhat-610376]
at org.ops4j.pax.logging.service.internal.LogReaderServiceImpl.fire(LogReaderServiceImpl.java:134)[3:org.ops4j.pax.logging.pax-logging-service:1.7.2]
at org.ops4j.pax.logging.service.internal.LogReaderServiceImpl.fireEvent(LogReaderServiceImpl.java:126)[3:org.ops4j.pax.logging.pax-logging-service:1.7.2]
at org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.handleEvents(PaxLoggingServiceImpl.java:180)[3:org.ops4j.pax.logging.pax-logging-service:1.7.2]
at org.ops4j.pax.logging.service.internal.PaxLoggerImpl.warn(PaxLoggerImpl.java:153)[3:org.ops4j.pax.logging.pax-logging-service:1.7.2]
at org.ops4j.pax.logging.internal.TrackingLogger.warn(TrackingLogger.java:91)[4:org.ops4j.pax.logging.pax-logging-api:1.7.2]
at org.ops4j.pax.logging.slf4j.Slf4jLogger.warn(Slf4jLogger.java:751)[4:org.ops4j.pax.logging.pax-logging-api:1.7.2]
at io.fabric8.features.FabricFeaturesServiceImpl.listInstalledRepositories(FabricFeaturesServiceImpl.java:337)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.features.FabricFeaturesServiceImpl.run(FabricFeaturesServiceImpl.java:93)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.service.AbstractDataStore.doRunCallbacks(AbstractDataStore.java:222)[61:io.fabric8.fabric-core:1.0.0.redhat-376]
at io.fabric8.service.AbstractDataStore$1.run(AbstractDataStore.java:210)[61:io.fabric8.fabric-core:1.0.0.redhat-376]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_13]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_13]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_13]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_13]
2014-04-01 10:27:28,893 | WARN | pool-14-thread-1 | FeaturesService | atures.FabricFeaturesServiceImpl 337 | 127 - io.fabric8.fabric-features-service - 1.0.0.redhat-376 | Error while populating repositories from uri.
java.util.concurrent.ExecutionException: java.io.IOException: Unknown protocol: mvn : mvn:org.apache.karaf.assemblies.features/standard/2.3.0.redhat-610376/xml/features
at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)[79:com.google.guava:15.0.0]
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)[79:com.google.guava:15.0.0]
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)[79:com.google.guava:15.0.0]
at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:135)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2344)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2316)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache.get(LocalCache.java:3932)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3936)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4806)[79:com.google.guava:15.0.0]
at io.fabric8.features.FabricFeaturesServiceImpl.populateRepositories(FabricFeaturesServiceImpl.java:345)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.features.FabricFeaturesServiceImpl.listInstalledRepositories(FabricFeaturesServiceImpl.java:335)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.features.FabricFeaturesServiceImpl.run(FabricFeaturesServiceImpl.java:93)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.service.AbstractDataStore.doRunCallbacks(AbstractDataStore.java:222)[61:io.fabric8.fabric-core:1.0.0.redhat-376]
at io.fabric8.service.AbstractDataStore$1.run(AbstractDataStore.java:210)[61:io.fabric8.fabric-core:1.0.0.redhat-376]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_13]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_13]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_13]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_13]
Caused by: java.io.IOException: Unknown protocol: mvn : mvn:org.apache.karaf.assemblies.features/standard/2.3.0.redhat-610376/xml/features
at org.apache.karaf.features.internal.RepositoryImpl.load(RepositoryImpl.java:240)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.features.FabricFeaturesServiceImpl$1.load(FabricFeaturesServiceImpl.java:65)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at io.fabric8.features.FabricFeaturesServiceImpl$1.load(FabricFeaturesServiceImpl.java:61)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522)[79:com.google.guava:15.0.0]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315)[79:com.google.guava:15.0.0]
... 16 more
Caused by: java.net.MalformedURLException: Unknown protocol: mvn
at java.net.URL.<init>(URL.java:619)[:1.7.0_13]
at java.net.URL.<init>(URL.java:482)[:1.7.0_13]
at java.net.URL.<init>(URL.java:431)[:1.7.0_13]
at java.net.URI.toURL(URI.java:1096)[:1.7.0_13]
at org.apache.karaf.features.internal.RepositoryImpl.load(RepositoryImpl.java:85)[127:io.fabric8.fabric-features-service:1.0.0.redhat-376]
... 20 more
Caused by: java.lang.IllegalStateException: Unknown protocol: mvn
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:372)[org.apache.felix.framework-4.0.3.redhat-610376.jar:]
at java.net.URL.<init>(URL.java:614)[:1.7.0_13]
... 24 more
(I was trying to do an upgrade again when not realizing that it was again waiting for something to happen in that 5min period).
At this point I thought it best to re-install the whole fabric8 and try to start all over again.
Hi,
I have the same issue (6.1 branch). 5 minutes is quite long when you wait in front of your computer ;-)
Best, Jerome
This is expected as it reprovision itself. Use other containers and leave the root as a management container for the others.
Hi!
I use fabric8-karaf 1.0.0.redhat-376 (https://repository.jboss.org/nexus/content/repositories/ea/io/fabric8/fabric8-karaf/1.0.0.redhat-376/fabric8-karaf-1.0.0.redhat-376.tar.gz)
I have created a Container:
and a new Profile (based on jboss-fuse-medium):
Now, when I add this new Profile to the root Container:
The whole Container seems to be destroyed and all the Fabric-related commands seem to be unavailable:
In the log there comes this:
--teemu