ServiceMix 4
  1. ServiceMix 4
  2. SMX4-455

activemq feature missing dependencies; fails to start two bundles without camel-cxf installed

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Apache ServiceMix 4.1 RC1 (FUSE ESB)

      Description

      Apparently, some bundles in the activemq features will fail to start if the camel-cxf feature (which provides some dependencies) isn't also installed.

      The two bundles that fail to start:

      • org.apache.activemq.activemq-console (Missing Constraint: Import-Package: org.apache.velocity; version="0.0.0")
      • org.apache.servicemix.activemq.commands (Missing Constraint: Import-Package: org.apache.activemq.console; version="[5.3.0,6.0.0)")

      To reproduce:

      1. Start with a fresh build of SMX 4.1 RC1; edit etc/org.apache.felix.karaf.features.cfg and remove "camel-cxf" from the featuresBoot line.
      2. Start up SMX. Note that the two aforementioned bundles are installed, but not started.

        Activity

        Show
        Freeman Fang added a comment - commit fix http://svn.apache.org/viewvc?rev=941991&view=rev
        Hide
        Freeman Fang added a comment -

        Hi Scott,

        Thanks for pointing out this issue.
        Actually this problem only occur for FUSE ESB now.
        As the activemq-console 5.3 (which is the latest release on Apache side, and we use this version for apache servicemix) dosen't have velocity dependency. activemq-console introduce velocity dependency after 5.3 release, we use more recent activemq fuse version for fuse product, so you can see this problem in FUSE ESB 4.1 RC1.

        I will fix it on fuse side now, and keep this apache side issue open until we encounter problem when we upgrade to next version of activemq apache side release.

        Regards
        Freeman

        Show
        Freeman Fang added a comment - Hi Scott, Thanks for pointing out this issue. Actually this problem only occur for FUSE ESB now. As the activemq-console 5.3 (which is the latest release on Apache side, and we use this version for apache servicemix) dosen't have velocity dependency. activemq-console introduce velocity dependency after 5.3 release, we use more recent activemq fuse version for fuse product, so you can see this problem in FUSE ESB 4.1 RC1. I will fix it on fuse side now, and keep this apache side issue open until we encounter problem when we upgrade to next version of activemq apache side release. Regards Freeman

          People

          • Assignee:
            Freeman Fang
            Reporter:
            Scott Parkerson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development