Details
-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.2
-
None
-
%
-
Description
Some brokers fails to start when trying to deploy more activemq brokers using fabric.
Behaviour of this issue is quite random. Sometimes all brokers starts correctly, sometimes some of them fails.
When broker fails to start the following exception is in fuse.log:
io.fabric8.common.util.MultiException: Error restarting bundles at io.fabric8.agent.service.Deployer.deploy(Deployer.java:810)[89:io.fabric8.fabric-agent:1.2.0.redhat-047] at io.fabric8.agent.service.Agent.provision(Agent.java:327)[89:io.fabric8.fabric-agent:1.2.0.redhat-047] at io.fabric8.agent.service.Agent.provision(Agent.java:187)[89:io.fabric8.fabric-agent:1.2.0.redhat-047] at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:564)[89:io.fabric8.fabric-agent:1.2.0.redhat-047] at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:215)[89:io.fabric8.fabric-agent:1.2.0.redhat-047] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_71] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_71] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_71] at java.lang.Thread.run(Thread.java:745)[:1.7.0_71] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.mq.mq-fabric [103]: Unable to resolve 103.0: missing requirement [103.0] osgi.wiring.package; (&(osgi.wiring.package=io.fabric8.mq.fabric.discovery)(version>=1.2.0)(!(version>=1.3.0))) [caused by: Unable to resolve 102.0: missing requirement [102.0] osgi.wiring.host; (&(osgi.wiring.host=org.apache.activemq.activemq-osgi)(bundle-version>=0.0.0)) [caused by: Unable to resolve 110.0: missing requirement [110.0] osgi.wiring.package; (osgi.wiring.package=javax.transaction)]] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)[org.apache.felix.framework-4.4.1.jar:] at io.fabric8.agent.service.Agent$BaseDeployCallback.startBundle(Agent.java:421)[89:io.fabric8.fabric-agent:1.2.0.redhat-047] at io.fabric8.agent.service.Deployer.deploy(Deployer.java:802)[89:io.fabric8.fabric-agent:1.2.0.redhat-047] ... 9 more Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.activemq.activemq-osgi [110]: Unable to resolve 110.0: missing requirement [110.0] osgi.wiring.package; (osgi.wiring.package=javax.transaction) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)[org.apache.felix.framework-4.4.1.jar:] at io.fabric8.agent.service.Agent$BaseDeployCallback.startBundle(Agent.java:421)[89:io.fabric8.fabric-agent:1.2.0.redhat-047] at io.fabric8.agent.service.Deployer.deploy(Deployer.java:802)[89:io.fabric8.fabric-agent:1.2.0.redhat-047] ... 9 more Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle activemq-karaf [98]: Unable to resolve 98.0: missing requirement [98.0] osgi.wiring.package; (osgi.wiring.package=org.apache.activemq.console) [caused by: Unable to resolve 110.0: missing requirement [110.0] osgi.wiring.package; (osgi.wiring.package=javax.transaction)] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)[org.apache.felix.framework-4.4.1.jar:] at io.fabric8.agent.service.Agent$BaseDeployCallback.startBundle(Agent.java:421)[89:io.fabric8.fabric-agent:1.2.0.redhat-047] at io.fabric8.agent.service.Deployer.deploy(Deployer.java:802)[89:io.fabric8.fabric-agent:1.2.0.redhat-047] ... 9 more
Attachments
Issue Links
- is related to
-
ENTESB-2358 Could not resolve placeholder 'container.id' in string value "${container.id}" in one of containers with broker with parent-profile=mq-replicated
- Closed
-
ENTESB-2706 Can't connect to ssh container - java.security.NoSuchAlgorithmException: class configured for KeyPairGenerator(provider: BC)cannot be found
- Closed
-
ENTESB-2733 Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException when trying to connect to ssh container
- Closed
-
ENTESB-2735 InstanceNotFoundException during creation of ssh container with replicated LevelDB
- Closed
-
ENTESB-2761 Broker fails to start at the first attempt and FileNotFoundException: class path resource [profile:broker.xml] cannot be opened because it does not exist is printed in container log when starting a container with replicated LevelDB profile
- Closed
-
ENTESB-2769 java.net.MalformedURLException: no protocol: /git/fabric/ in the log of ssh container happens sometimes
- Closed
-
ENTESB-2771 'IllegalStateException: Client is not started' happens on ssh container startup with replicated LevelDB
- Closed
- relates to
-
ENTESB-3315 Hawtio Logs tab doesn't work in Fabric due to No VmLogAppender available!
- Closed