-
1. Re: Fabric Container Provision Status - MultiException while downloading bundle
davsclaus Jan 17, 2013 8:36 AM (in response to pratik_patel)Are you behind any HTTP proxy to access the internet?
-
2. Re: Fabric Container Provision Status - MultiException while downloading bundle
pratik_patel Jan 17, 2013 8:47 AM (in response to davsclaus)No. I have direct internet connection.
-
3. Re: Fabric Container Provision Status - MultiException while downloading bundle
pratik_patel Jan 17, 2013 8:51 AM (in response to pratik_patel)I have also observed that when I execute 'fabric:create --clean root' I can see the container options but I don't see 'fab' option.
When I tried to install one of the plugins using fab I got following error. Looks like MultiException is related to 'fab' ?
org.apache.karaf.shell.console.MultiException: Error installing bundles:
Unable to install bundle fab:mvn:org.fusesource.fabric/fabric-zookeeper-spring/7.1.0.fuse-047
at org.apache.karaf.shell.console.MultiException.throwIf(MultiException.java:91)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:70)[38:org.apache.karaf.shell.osgi:2.3.0.fuse-71-047]
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
at org.apache.karaf.shell.console.jline.Console.run(Console.java:171)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)[15:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
Caused by: java.lang.Exception: Unable to install bundle fab:mvn:org.fusesource.fabric/fabric-zookeeper-spring/7.1.0.fuse-047
at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:45)[38:org.apache.karaf.shell.osgi:2.3.0.fuse-71-047]
... 11 more
Caused by: org.osgi.framework.BundleException: Unable to cache bundle: fab:mvn:org.fusesource.fabric/fabric-zookeeper-spring/7.1.0.fuse-047
at org.apache.felix.framework.Felix.installBundle(Felix.java:2950)[org.apache.felix.framework-4.0.3.fuse-71-047.jar(inlove)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)[org.apache.felix.framework-4.0.3.fuse-71-047.jar(inlove)
at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:43)[38:org.apache.karaf.shell.osgi:2.3.0.fuse-71-047]
... 11 more
Caused by: java.net.MalformedURLException: Unknown protocol: fab
at java.net.URL.(BundleArchive.java:153)[org.apache.felix.framework-4.0.3.fuse-71-047.jar(inlove)
at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:277)[org.apache.felix.framework-4.0.3.fuse-71-047.jar(inlove)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2946)[org.apache.felix.framework-4.0.3.fuse-71-047.jar(inlove)
... 13 more
-
4. Re: Fabric Container Provision Status - MultiException while downloading bundle
pratik_patel Jan 17, 2013 8:54 AM (in response to pratik_patel)Here is the log from sub container camel-9090.
2013-01-17 18:59:50,293 | ERROR | agent-1-thread-1 | DeploymentAgent | e.fabric.agent.DeploymentAgent$1 241 | 67 - org.fusesource.fabric.fabric-agent - 7.1.0.fuse-047 | Unable to upd
ate agent
org.fusesource.fabric.agent.utils.MultiException: Error while downloading bundles
at org.fusesource.fabric.agent.DeploymentAgent.downloadBundles(DeploymentAgent.java:1023)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.DeploymentAgent.updateDeployment(DeploymentAgent.java:552)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:428)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.DeploymentAgent$1.run(DeploymentAgent.java:238)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_20]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_20]
at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_20]
at java.lang.Thread.run(Thread.java:619)[:1.6.0_20]
Caused by: java.io.IOException: Error downloading mvn:org.fusesource.fabric/fabric-zookeeper-spring/99-master-SNAPSHOT
at org.fusesource.fabric.agent.download.AbstractDownloadTask.initIOException(AbstractDownloadTask.java:108)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.download.AbstractDownloadTask.run(AbstractDownloadTask.java:88)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
... 6 more
Caused by: java.io.IOException: URL mvn:org.fusesource.fabric/fabric-zookeeper-spring/99-master-SNAPSHOT could not be resolved.
at org.fusesource.fabric.agent.download.MavenDownloadTask.download(MavenDownloadTask.java:123)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.download.AbstractDownloadTask.run(AbstractDownloadTask.java:77)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
-
5. Re: Fabric Container Provision Status - MultiException while downloading bundle
pratik_patel Jan 17, 2013 8:58 AM (in response to pratik_patel)Here is the log from subcontainer camel-9090. It shows URL could not be resolved.
2013-01-17 18:59:50,293 | ERROR | agent-1-thread-1 | DeploymentAgent | e.fabric.agent.DeploymentAgent$1 241 | 67 - org.fusesource.fabric.fabric-agent - 7.1.0.fuse-047 | Unable to upd
ate agent
org.fusesource.fabric.agent.utils.MultiException: Error while downloading bundles
at org.fusesource.fabric.agent.DeploymentAgent.downloadBundles(DeploymentAgent.java:1023)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.DeploymentAgent.updateDeployment(DeploymentAgent.java:552)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:428)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.DeploymentAgent$1.run(DeploymentAgent.java:238)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_20]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_20]
at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_20]
at java.lang.Thread.run(Thread.java:619)[:1.6.0_20]
Caused by: java.io.IOException: Error downloading mvn:org.fusesource.fabric/fabric-zookeeper-spring/99-master-SNAPSHOT
at org.fusesource.fabric.agent.download.AbstractDownloadTask.initIOException(AbstractDownloadTask.java:108)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.download.AbstractDownloadTask.run(AbstractDownloadTask.java:88)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
... 6 more
Caused by: java.io.IOException: URL mvn:org.fusesource.fabric/fabric-zookeeper-spring/99-master-SNAPSHOT could not be resolved.
at org.fusesource.fabric.agent.download.MavenDownloadTask.download(MavenDownloadTask.java:123)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.download.AbstractDownloadTask.run(AbstractDownloadTask.java:77)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
-
6. Re: Fabric Container Provision Status - MultiException while downloading bundle
iocanel Jan 17, 2013 9:13 AM (in response to pratik_patel)I am not sure if this is intentional but you seem to try and use 99-master-SNAPSHOT version of the fabric stuff.
I am not sure if that version is available to any of our snapshot repos, so unless you have built stuff yourself you won't be able to use this version.
-
7. Re: Fabric Container Provision Status - MultiException while downloading bundle
pratik_patel Jan 18, 2013 12:43 AM (in response to iocanel)Thanks for the response. I was trying existing load balancing example. I will check the pom files and make necessary changes to point to correct repositories.
-
8. Re: Fabric Container Provision Status - MultiException while downloading bundle
iocanel Jan 22, 2013 6:18 AM (in response to pratik_patel)To correct my previous post:
The snapshot are publicly available. But the default repos of fabric do not contain them. So you could use them if you made sure that those mvn repos are added to the profile.