5 Replies Latest reply on Aug 1, 2016 3:48 PM by davsclaus

    EIP Quickstart example, error during osgi:install

    javaoz

      I am working with the EIP Quickstart example and getting the error bellow during osgi:install:

       

      JBossFuse:admin@root> osgi:install -s mvn:org.jboss.quickstarts.fuse/eip/6.1.0.redhat-SNAPSHOT

      Error executing command: Error installing bundles:

              Unable to start bundle mvn:org.jboss.quickstarts.fuse/eip/6.1.0.redhat-SNAPSHOT: Unresolved constraint in bundle org.jboss.quickstarts.fuse.eip [296]: Unable to resolve 296.0: missing requirement [296.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.camel.language)(version>=2.16.0)(!(version>=3.0.0)))

       

      My JBoss server is jboss-fuse-6.2.0.redhat-133.

       

      Any suggestion how to fix or troubleshoot this issue would be much appreciated. Thank you!

        • 1. Re: EIP Quickstart example, error during osgi:install
          javaoz

          Per the manifest file the following is imported: Import-Package: org.apache.camel.language;version="[2.16,3)",org.osgi.service.blueprint;version="[1.0.0,2.0.0)"

           

          The server has version 3.0.0.

           

          Where can I find version 3 or how do I downgrade the server's version to 2.16.3?

          • 2. Re: EIP Quickstart example, error during osgi:install
            davsclaus

            You should use the Camel version that is shipped with that release of JBoss Fuse. JBoss Fuse 6.1 is using Camel 2.14.x afair.

             

            You can for example take a look at some of the examples that ships in JBoss Fuse in the quickstarts directory. There you can see how they setup the correct fuse/camel versions in the pom.xml files.

            • 3. Re: EIP Quickstart example, error during osgi:install
              davsclaus

              And btw JBoss Fuse 6.2.1 has just been released. If you want to use the latest release then you can download that.

              • 4. Re: EIP Quickstart example, error during osgi:install
                shoaibjdev

                Hi Claus,

                 

                I know it's old thread, but have been stuck with a similar issue. I'm currently on JBoss Fuse 6.2.1 and want to upgrade karaf to support higher version of camel

                I want to install camel-sql 2.17.0 but it seems JBoss fuse ships with an old version of karaf (OSGI version 2.4.0, Karaf version: 2.4.0)

                 

                Can you please suggest and guide on the upgradation of karaf/osgi on JBoss platform to support latest camel builds.

                • 5. Re: EIP Quickstart example, error during osgi:install
                  davsclaus

                  You should stick with the version that JBoss Fuse is shipped with - that is the combination that works, has been well tested, and is supported for many many years as part of the Red Hat subscription model.

                   

                  JBoss Fuse 6.3 will upgrade to never versions of Camel, CXF, ActiveMQ etc.

                   

                  And if there is a Camel feature/bug etc you would like to see in your current version of JBoss Fuse, then use the Red Hat customer portal to log a ticket to get in touch with the team, then they can help you.