"java.net.MalformedURLException: Unknown protocol: war" After installing JBoss Fuse 6.0 rollup patch 1
Issue
After installing JBoss Fuse 6.0 rollup patch 1 (jboss-fuse-6.0.0.redhat-024-r1.zip) I get this error every time I start a new Fabric container:
2014-03-03 16:20:51,481 | ERROR | agent-1-thread-1 | DeploymentAgent | e.fabric.agent.DeploymentAgent$1 245 |
67 - org.fusesource.fabric.fabric-agent - 7.2.0.redhat-032 | Unable to update agent
org.fusesource.fabric.agent.utils.MultiException: Error while downloading bundles
at org.fusesource.fabric.agent.DeploymentAgent.downloadBundles(DeploymentAgent.java:1031)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-032]
at org.fusesource.fabric.agent.DeploymentAgent.updateDeployment(DeploymentAgent.java:564)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-032]
at org.fusesource.fabric.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:432)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-032]
at org.fusesource.fabric.agent.DeploymentAgent$1.run(DeploymentAgent.java:242)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-032]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_45]
at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
Caused by: java.io.IOException: Error downloading war:file:/Volumes/Transcend/FUSE/jboss-fuse-fabric-6.0.0.redhat-024/instances/amq-jdbc-1/data/maven/
agent/org/apache/activemq/activemq-web-console/5.8.0.redhat-60060/activemq-web-console-5.8.0.redhat-60060.war
at org.fusesource.fabric.agent.download.AbstractDownloadTask.initIOException(AbstractDownloadTask.java:108)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-032]
at org.fusesource.fabric.agent.download.AbstractDownloadTask.run(AbstractDownloadTask.java:88)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-032]
... 5 more
Caused by: java.net.MalformedURLException: Unknown protocol: war
at java.net.URL.<init>(URL.java:619)[:1.7.0_45]
at java.net.URL.<init>(URL.java:482)[:1.7.0_45]
at java.net.URL.<init>(URL.java:431)[:1.7.0_45]
at org.fusesource.fabric.agent.download.SimpleDownloadTask.download(SimpleDownloadTask.java:37)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-032]
at org.fusesource.fabric.agent.download.AbstractDownloadTask.run(AbstractDownloadTask.java:77)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-032]
... 5 more
Caused by: java.lang.IllegalStateException: Unknown protocol: war
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:372)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]
at java.net.URL.<init>(URL.java:614)[:1.7.0_45]
Environment
- JBoss Fuse 6.0 with rollup patch 1 (jboss-fuse-6.0.0.redhat-024-r1.zip)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
