4 Replies Latest reply on Jan 12, 2011 9:21 AM by nohaapav

    Bundle start problem

    nohaapav

      Hello,

       

      After i installed camel-example-osgi from apache-camel-2.5.0-fuse-00-00 examples into

      osgi container and try to run this error happen :

       

      Error executing command: The bundle "org.apache.camel.camel-example-osgi_2.5.0.fuse-00-00 " could not be resolved.

      Reason: Missing Constraint : Import-Package: org.apache.camel.builder; version="[2.5.0,2.6.0)"

       

      Any idea how to solve this problem?

       

      Step to reproduce:

       

      1.maven install (from eclipse (Build success))

      2.osgi:install -s file:(path to .jar file)

      3.osgi:list (i'm able to see bundle with ID) - 194

      4.osgi:start 194 (error happen)

       

      Thanks for any response.

       

      Edited by: nohaapav on Jan 11, 2011 1:20 PM

       

      Edited by: nohaapav on Jan 11, 2011 1:22 PM

        • 1. Re: Bundle start problem
          ffang

          Hi,

           

          How you start OSGi container, you're using FUSE ESB?

          You need ensure you've already installed camel-core feature.

           

          Btw, this kind of problem should be asked on FUSE ESB forum.

           

          Freeman

          • 2. Re: Bundle start problem
            nohaapav

            Thanks for response.

             

            Yes i'm using Servicemix(Fuse ESB).When i tried to type features:list it seems that camel-core is installed.

             

            Edited by: nohaapav on Jan 11, 2011 3:41 PM

            • 3. Re: Bundle start problem
              ffang

              Hi,

               

              Just checked that the latest FUSE ESB 4.3.0-fuse-03-00 are using camel 2.4.0-fuse-02-00, so the problem you encountered is caused by the camel version mismatch.

               

              You should edit your example pom.xml, change camel version to 2.4.0-fuse-02-00, build it again and redeploy, this should work.

               

               

              Freeman

              • 4. Re: Bundle start problem
                nohaapav

                Thanks man.

                 

                I changed the version to 2.4.0 and re-build and works fine