Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-491

Wrap commons-pool 1.4 and 1.5.4 in servicemix bundles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0
    • None
    • None

    Description

      Camel 2.2.0 needs commons-pool 1.5.4.
      ActiveMQ pool needs commons-pool 1.4.
      So in ServiceMix 4, we deploy both commons-pool 1.5.4 and 1.4 bundles.

      Unfortunately, commons-pool 1.4 is not a "correct" bundle as it contains:
      Export-Package = org.apache.commons.pool;version=1.4, org.apache.commons.pool.impl;version=1.4
      Import-Package = org.apache.commons.pool;version=1.4, org.apache.commons.pool.impl;version=1.4

      So what happens in this case is that commons-pool 1.4 will not export its package but import the 1.5.4 one.

      The problem is exactly the same with commons-pool 1.5.4.

      The workaround is to create a new ServiceMix commons-pool package which wrap commons-pool and define correct Export-Package and Import-Package statements.

      Attachments

        Activity

          People

            jb@nanthrax.net Jean-Baptiste Onofré
            jb@nanthrax.net Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: