Why war installation in fabric environment fails while resolving bundle?

Solution Unverified - Updated -

Issue

  • While trying to install an hawtion plugin (war file) in a fabric enviroment.
  • The following steps have been performed:
    • Upload the war in our artifactory repository
    • Create a profile fabric:profile-create --parents jboss-fuse-minimal TestProfile
    • Add the bundle to the profile mvn:my.camel.war/CamelTestWebApp/1.0
    • Add the profile to the container
    • The following error is seen :
Provision Exception:
        io.fabric8.agent.utils.MultiException: Error while downloading artifacts
          at io.fabric8.agent.utils.AgentUtils$ArtifactDownloader.await(AgentUtils.java:314)
          at io.fabric8.agent.DeploymentBuilder.download(DeploymentBuilder.java:165)
          at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:548)
          at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:293)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
          at java.util.concurrent.FutureTask.run(FutureTask.java:262)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:744)
        java.io.IOException: Error downloading mvn:my.camel.war/CamelTestWebApp/1.0
          at io.fabric8.agent.download.AbstractDownloadTask.initIOException(AbstractDownloadTask.java:108)
          at io.fabric8.agent.download.AbstractDownloadTask.run(AbstractDownloadTask.java:88)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
          at java.util.concurrent.FutureTask.run(FutureTask.java:262)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:744)
        Caused by: java.io.IOException: URL [mvn:my.camel.war/CamelTestWebApp/1.0] could not be resolved.
          at io.fabric8.agent.download.MavenDownloadTask.download(MavenDownloadTask.java:123)
          at io.fabric8.agent.download.AbstractDownloadTask.run(AbstractDownloadTask.java:77)
        ... 5 more

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.