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

Unable to install bundle when using the client to connect to the container

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • M1
    • fuse-esb-7.1.0
    • None
    • None
    • % %

    Description

      The following error occurs when attempting to install a bundle when connecting to the container using the /bin/client.bat script when Fuse ESB is setup to run as a service on Windows:

      OTseMQ:admin@root> osgi:install mvn:com.example/camel-blueprint-ftp/1.0.0-SNAPSH
      Bundle IDs:
      Error executing command: Error installing bundles:
              Unable to install bundle mvn:com.example/camel-blueprint-ftp/1.0.0-SNAPSHOT
      FuseMQ:admin@root>
      

      The log shows the following:

      2013-03-19 22:54:57,554 | INFO  | Thread-12        | Console                          | araf.shell.c
      onsole.jline.Console  195 | 14 - org.apache.karaf.shell.console - 2.3.0.fuse-71-047 | Exception caug
      ht while executing command
      org.apache.karaf.shell.console.MultiException: Error installing bundles:
              Unable to install bundle mvn:com.example/camel-blueprint-ftp/1.0.0-SNAPSHOT
              at org.apache.karaf.shell.console.MultiException.throwIf(MultiException.java:91)[14:org.apac
      he.karaf.shell.console:2.3.0.fuse-71-047]
              at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:70)
              at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[14:
      org.apache.karaf.shell.console:2.3.0.fuse-71-047]
              at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
              at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[14:org.apache.ka
      raf.shell.console:2.3.0.fuse-71-047]
              at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[14:org.apache.karaf.sh
      ell.console:2.3.0.fuse-71-047]
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[14:org.apache.ka
      raf.shell.console:2.3.0.fuse-71-047]
              at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[14:org.apache.karaf.shell.console:2
      .3.0.fuse-71-047]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[14:org.apache.karaf.shell
      .console:2.3.0.fuse-71-047]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:org.apache.karaf.shell
      .console:2.3.0.fuse-71-047]
              at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[14:o
      rg.apache.karaf.shell.console:2.3.0.fuse-71-047]
              at org.apache.karaf.shell.console.jline.Console.run(Console.java:171)[14:org.apache.karaf.sh
      ell.console:2.3.0.fuse-71-047]
              at java.lang.Thread.run(Unknown Source)[:1.6.0_37]
              at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(ShellFactoryImpl.java:146)[
      32:org.apache.karaf.shell.ssh:2.3.0.fuse-71-047]
              at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(ShellFactoryImpl.java:137)[
      32:org.apache.karaf.shell.ssh:2.3.0.fuse-71-047]
              at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_37]
              at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[41:org.apache.karaf.jaa
      s.modules:2.3.0.fuse-71-047]
              at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(ShellFactoryImpl.java:135)[32
      :org.apache.karaf.shell.ssh:2.3.0.fuse-71-047]
      Caused by: java.lang.Exception: Unable to install bundle mvn:com.example/camel-blueprint-ftp/1.0.0-S
      NAPSHOT
              at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:45)
              ... 16 more
      Caused by: org.osgi.framework.BundleException: Unable to cache bundle: mvn:com.example/camel-bluepri
      nt-ftp/1.0.0-SNAPSHOT
              at org.apache.felix.framework.Felix.installBundle(Felix.java:2950)
              at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)
              at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:43)
              ... 16 more
      Caused by: java.lang.RuntimeException: URL [mvn:com.example/camel-blueprint-ftp/1.0.0-SNAPSHOT] coul
      d not be resolved.
              at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)
              at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.jav
      a:524)
              at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:165)
              at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:77)
              at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.j
      ava:878)
              at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:550)
              at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:153)
              at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:277)
              at org.apache.felix.framework.Felix.installBundle(Felix.java:2946)
              ... 18 more
      

      Attachments

        1. fuse.log
          257 kB
          Jason Sherman

        Activity

          People

            janstey@redhat.com Jonathan Anstey
            rhn-support-jsherman Jason Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: