Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5722

cannot install a webbundle in fabric non-root container

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • None
    • jboss-fuse-6.2.1, jboss-fuse-6.3
    • Fabric8 v1
    • None
    • % %

    Description

      I did the test using Fuse 6.2.1R2, the webbundle can be installed successfully on root container while failed on a child container.
      even I added the jboss-fuse-full profile to the child container, still the same error.

      fabric:profile-create --parent default test
      
      fabric:profile-edit --bundle webbundle:http://tomcat.apache.org/tomcat-7.0-doc/appdev/sample/sample.war?Bundle-SymbolicName=tomcat-sample&Web-ContextPath=/sample test
      
      fabric:container-create-child root child
      
      fabric:container-add-profile child test
      

      the error like

      2016-06-21 11:52:35,244 | ERROR | 6.0.1-1-thread-1 | DeploymentAgent                  | 86 - io.fabric8.fabric-agent - 1.2.0.redhat-621107 | Unable to update agent
      
      java.lang.IllegalArgumentException: No path specified on clause: webbundle:http://tomcat.apache.org/tomcat-7.0-doc/appdev/sample/sample.war?Bundle-SymbolicName=tomcat-sample&Web-ContextPath=/sample
      
      	at org.apache.felix.utils.manifest.Parser.parseClauses(Parser.java:73)[86:io.fabric8.fabric-agent:1.2.0.redhat-621107]
      
      	at io.fabric8.agent.region.Subsystem.downloadBundles(Subsystem.java:347)[86:io.fabric8.fabric-agent:1.2.0.redhat-621107]
      
      	at io.fabric8.agent.region.SubsystemResolver.resolve(SubsystemResolver.java:182)[86:io.fabric8.fabric-agent:1.2.0.redhat-621107]
      
      	at io.fabric8.agent.service.Deployer.deploy(Deployer.java:273)[86:io.fabric8.fabric-agent:1.2.0.redhat-621107]
      
      	at io.fabric8.agent.service.Agent.provision(Agent.java:366)[86:io.fabric8.fabric-agent:1.2.0.redhat-621107]
      
      	at io.fabric8.agent.service.Agent.provision(Agent.java:199)[86:io.fabric8.fabric-agent:1.2.0.redhat-621107]
      
      	at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:727)[86:io.fabric8.fabric-agent:1.2.0.redhat-621107]
      
      	at io.fabric8.agent.DeploymentAgent$4.run(DeploymentAgent.java:283)[86:io.fabric8.fabric-agent:1.2.0.redhat-621107]
      
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_92]
      
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_92]
      
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_92]
      
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_92]
      
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_92]
      

      even I added the jboss-fuse-full profile to the child container, still the same error.

      Attachments

        Issue Links

          Activity

            People

              johnpoth John Poth
              rhn-support-xiwu Xiaohui Wu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: