Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9780

Cannot install camel-hazelcast in Karaf 3.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.17.0
    • 2.17.1
    • camel-hazelcast, karaf
    • None
    • Karaf 3.0.6, Java 1.8.0_66, Mac OS X 10.11.3

    • Unknown

    Description

      From a fresh copy of Karaf 3.0.6, I execute the following commands:

      feature:repo-add mvn:org.apache.camel.karaf/apache-camel/2.17.0/xml/features
      feature:install camel-hazelcast
      

      This gives me the following error:

      Error executing command: Can't install feature camel-hazelcast/0.0.0:
      Could not start bundle mvn:com.hazelcast/hazelcast/3.6 in feature(s) camel-hazelcast-2.17.0, camel-vertx-2.17.0: Activator start error in bundle com.hazelcast [77].
      

      The stack trace from the log:

      java.lang.IllegalStateException: Can't install feature camel-hazelcast/0.0.0:
      Could not start bundle mvn:com.hazelcast/hazelcast/3.6 in feature(s) camel-hazelcast-2.17.0, camel-vertx-2.17.0: Activator start error in bundle com.hazelcast [77].
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:393)
      	at Proxy40b297a4_bee2_4205_a5cf_e9ad778f5a4c.installFeature(Unknown Source)
      	at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:72)
      	at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)
      	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[27:org.apache.karaf.shell.console:3.0.6]
      	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[27:org.apache.karaf.shell.console:3.0.6]
      	at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[27:org.apache.karaf.shell.console:3.0.6]
      	at Proxy8567097e_b23c_4923_8fe4_f1ff64ddf37e.execute(Unknown Source)[:]
      	at Proxy8567097e_b23c_4923_8fe4_f1ff64ddf37e.execute(Unknown Source)[:]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[27:org.apache.karaf.shell.console:3.0.6]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[27:org.apache.karaf.shell.console:3.0.6]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[27:org.apache.karaf.shell.console:3.0.6]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[27:org.apache.karaf.shell.console:3.0.6]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[27:org.apache.karaf.shell.console:3.0.6]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[27:org.apache.karaf.shell.console:3.0.6]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
      	at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:210)
      	at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)
      	at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_66]
      	at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[28:org.apache.karaf.jaas.modules:3.0.6]
      	at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[27:org.apache.karaf.shell.console:3.0.6]
      

      I can't tell if this is a problem in Camel or Hazelcast. I was already using camel-hazelcast in Camel 2.16.2 and it worked fine during installation.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            mattsicker Matt Sicker
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: