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

dbcp bundle should use DynamicImport

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.3, 1.4
    • 1.4.1
    • None

    Description

      The bundle provided in the maven central of the commons.dbcp doesn't have a DynamicImport defined. This resolves in following error:
      If you want to use a BasicDataSource class as dataSource and the class is provided by the osgi environment (equinox, ...) the dataSource is not able to be created due to a ClassNotFoundException. If the bundle would have set DynamicImport it works. (I had to change from your bundle to the commons.dbcp bundle provided by servicemix, because there the DynamicImport is set)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              arcticwolf Felix Mayerhuber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: