Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-465

OSGi import-package has repeated packages causing a runtime failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • None
    • Karaf 3.0.4, Java 8, DBCP 2.2 rc1

    Description

      Building from trunk or 2.2rc1, here's the import-package manifest:

      Import-Package: javax.management,javax.naming,javax.naming.spi,javax.s
       ql,javax.transaction,javax.transaction.xa,org.apache.commons.logging,
       org.apache.commons.pool2,org.apache.commons.pool2.impl,javax.transact
       ion;version="1.1.0",javax.transaction.xa;version="1.1.0";partial=true
       ;mandatory:=partial
      

      As can be seen, the JTA packages are being imported twice. This is causing a runtime failure in Karaf on startup of this bundle.

      Attachments

        Issue Links

          Activity

            People

              mattsicker Matt Sicker
              mattsicker Matt Sicker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: