2 Replies Latest reply on Aug 17, 2009 1:44 PM by Aaron Riekenberg

    FUSE ESB 4.1.0.2: camel-mina feature will not install

    Aaron Riekenberg Newbie

      Running ESB 4.1.0.2, the camel-mina feature will not install:

       

      smx@root:features> install camel-minaERROR CommandLineExecutionFailed:

      org.apache.geronimo.gshell.command.CommandException:

      org.osgi.framework.BundleException: Unresolved constraint in bundle

      157: package; (package=org.apache.mina.common)

       

      It appears ESB 4.1.0.2 comes with mina version 2.0.0.M6,

      but camel-mina still depends on mina 1.1.x.  In ESB 4.1.0.0 a mina

      1.1.7 bundle is included in the system directory.  No mina 1.1.x bundle

      is included with ESB 4.1.0.2, and there does not seem to be any mina

      1.1.x bundle available on http://repo.open.iona.com.

      Is camel-mina currently broken in FUSE ESB 4.1.0.2?

        • 1. Re: FUSE ESB 4.1.0.2: camel-mina feature will not install
          Stan Lewis Novice

          Yes, it's looking that way.  I've tried getting this working here but have had no luck, so I've gone ahead and created ESB-827 for this.

          • 2. Re: FUSE ESB 4.1.0.2: camel-mina feature will not install
            Aaron Riekenberg Newbie

            ESB-827 has been closed by CAMEL-1907 (also closed).  CAMEL-1907 added a version number to the import of mina in camel-mina to avoid problems when both MINA 2.0 and MINA 1.x are installed in FUSE ESB.

             

            However I think a few more things need to happen before "features/install camel-mina" will work out of the box in the next version of FUSE ESB.  Just posting here to make sure these don't get lost:

             

            1. We determined in this thread in the Camel forums (http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tt24936826.html) that even with the fix for CAMEL-1907, camel-mina needs org.apache.servicemix.bundles.mina

            version 1.1.7_2-SNAPSHOT to install and run correctly in FUSE ESB 4.1.0.2. The released version of the mina bundle (1.1.7_1) will not work with camel-mina in FUSE ESB 4.1.0.2 where mina 2.0.0.M6 is installed by default.

             

            org.apache.servicemix.bundles.mina

            version 1.1.7_2-SNAPSHOTis not currently available in a public maven repository.  I had to build this version myself to use it.

             

            2. The camel-mina feature in the org.apache.servicemix.camel.features file needs to have the correct mina 1.1.7 bundle added to it for camel-mina to install.  Currently the camel-mina feature only contains camel-mina.

             

            Edited by: ariekenb on Aug 17, 2009 2:58 PM

             

            Edited by: ariekenb on Aug 17, 2009 5:43 PM