Deployment of jar in fabric causes Exception

Solution Unverified - Updated -

Issue

  • I have the following issue. On a fuse container (without Fabric) we have the attached jar deployed and working. Once we deployed it to a Fuse container though its not working. I also added the jboss-fuse-full profile to the container as well but its still giving the following error:
  | ERROR | agent-1-thread-1 | DeploymentAgent | .fabric8.agent.DeploymentAgent$2  255 | 60 - io.fabric8.fabric-agent - 1.0.0.redhat-379 | Unable to update agent
io.fabric8.agent.utils.MultiException: Error while downloading artifacts
        at io.fabric8.agent.utils.AgentUtils$ArtifactDownloader.await(AgentUtils.java:314)[60:io.fabric8.fabric-agent:1.0.0.redhat-379]
        . . . 
Caused by: java.lang.Exception: Unable to create resource for bundle file:/aaa/aag/deploy/xyz.jar
        at io.fabric8.agent.DeploymentBuilder.createResource(DeploymentBuilder.java:463)[60:io.fabric8.fabric-agent:1.0.0.redhat-379]
        at io.fabric8.agent.DeploymentBuilder.manageResource(DeploymentBuilder.java:448)[60:io.fabric8.fabric-agent:1.0.0.redhat-379]
        . . .   
Caused by: org.osgi.framework.BundleException: Unsupported 'Bundle-ManifestVersion' value: 1
       . . . 
  • The fabric ensember is of 3 Fabric servers (Fabric-server-01, Fabric-server-02 and Fabric-server-04). We have 2 child containers fabric-container-01 and fabric-container-02. Currently I created a profile for the jar to be deployed to fabric-container-01 using the command:
fabric:profile-edit --bundles file:/aaa/aag/deploy/SS_xyz.jar xyzService

Environment

  • Red Hat JBoss Fuse
    • 6.1

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.