Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-464

FuseByExample WebsocketExample JBoss A-MQ section fails to install

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.1
    • JBoss A-MQ 6.1
    • None
    • None
    • Hide

      1. Checkout https://github.com/FuseByExample/websocket-activemq-camel
      2. Update pom.xml, change camel-version to 2.12.1 and active-mq-version to 5.9.0.redhat-610139
      3. Follow the instructions after ## JBoss A-MQ in the README.md

      Show
      1. Checkout https://github.com/FuseByExample/websocket-activemq-camel 2. Update pom.xml, change camel-version to 2.12.1 and active-mq-version to 5.9.0.redhat-610139 3. Follow the instructions after ## JBoss A-MQ in the README.md

      I followed the README.md in fusebyexamples/websocket-activemq-camel. When I tried to install the web project as specified in the JBoss A-MQ section, I gotJBossA-MQ:karaf@root> install -s war:mvn:com.fusesource.examples.activemq.websocket/web/1.0/war?Webapp-Context=activemq-websocket
      Bundle IDs:
      Error executing command: Error installing bundles:
      Unable to install bundle war:mvn:com.fusesource.examples.activemq.websocket/web/1.0/war?Webapp-Context=activemq-websocketThe log contained2013-11-15 11:01:45,707 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 199 | 14 - org.apache.karaf.shell.console - 2.3.0.redhat-610139 | Exception caught while executing command
      org.apache.karaf.shell.console.MultiException: Error installing bundles:
      Unable to install bundle war:mvn:com.fusesource.examples.activemq.websocket/web/1.0/war?Webapp-Context=activemq-websocket
      at org.apache.karaf.shell.console.MultiException.throwIf(MultiException.java:91)[14:org.apache.karaf.shell.console:2.3.0.redhat-610139]
      at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:70)[42:org.apache.karaf.shell.osgi:2.3.0.redhat-610139]
      at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[14:org.apache.karaf.shell.console:2.3.0.redhat-610139]
      at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[14:org.apache.karaf.shell.console:2.3.0.redhat-610139]
      at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610139]
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610139]
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610139]
      at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610139]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610139]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610139]
      at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610139]
      at org.apache.karaf.shell.console.jline.Console.run(Console.java:174)[14:org.apache.karaf.shell.console:2.3.0.redhat-610139]
      at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)[14:org.apache.karaf.shell.console:2.3.0.redhat-610139]
      Caused by: java.lang.Exception: Unable to install bundle war:mvn:com.fusesource.examples.activemq.websocket/web/1.0/war?Webapp-Context=activemq-websocket
      at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:45)[42:org.apache.karaf.shell.osgi:2.3.0.redhat-610139]
      ... 11 more
      Caused by: org.osgi.framework.BundleException: Unable to cache bundle: war:mvn:com.fusesource.examples.activemq.websocket/web/1.0/war?Webapp-Context=activemq-websocket
      at org.apache.felix.framework.Felix.installBundle(Felix.java:3051)[org.apache.felix.framework-4.0.3.redhat-610139.jar:]
      at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)[org.apache.felix.framework-4.0.3.redhat-610139.jar:]
      at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:43)[42:org.apache.karaf.shell.osgi:2.3.0.redhat-610139]
      ... 11 more
      Caused by: java.lang.RuntimeException: URL[mvn:com.fusesource.examples.activemq.websocket/web/1.0/war]could not be resolved.
      at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)[1:org.ops4j.pax.url.mvn:1.3.6]
      at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:214)[:1.7.0_45]
      at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:71)[:1.7.0_45]
      at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99)[:1.7.0_45]
      at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)[:1.7.0_45]
      at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)[:1.7.0_45]
      at org.ops4j.pax.url.war.internal.AbstractConnection.extractJarListFromWar(AbstractConnection.java:360)[138:org.ops4j.pax.url.war:1.4.2]
      at org.ops4j.pax.url.war.internal.AbstractConnection.generateClassPathInstruction(AbstractConnection.java:214)[138:org.ops4j.pax.url.war:1.4.2]
      at org.ops4j.pax.url.war.internal.AbstractConnection.getInputStream(AbstractConnection.java:139)[138:org.ops4j.pax.url.war:1.4.2]
      at org.ops4j.pax.url.war.internal.WarConnection.getInputStream(WarConnection.java:33)[138:org.ops4j.pax.url.war:1.4.2]
      at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:524)[org.apache.felix.framework-4.0.3.redhat-610139.jar:]
      at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:165)[org.apache.felix.framework-4.0.3.redhat-610139.jar:]
      at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:77)[org.apache.felix.framework-4.0.3.redhat-610139.jar:]
      at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:878)[org.apache.felix.framework-4.0.3.redhat-610139.jar:]
      at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:550)[org.apache.felix.framework-4.0.3.redhat-610139.jar:]
      at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:153)[org.apache.felix.framework-4.0.3.redhat-610139.jar:]
      at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:277)[org.apache.felix.framework-4.0.3.redhat-610139.jar:]
      at org.apache.felix.framework.Felix.installBundle(Felix.java:3047)[org.apache.felix.framework-4.0.3.redhat-610139.jar:]
      ... 13 more

            dejanbosanac Dejan Bosanac
            kearls@redhat.com Kevin Earls (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: