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

dbcp bundle should use DynamicImport

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.3, 1.4
    • Fix Version/s: 1.4.1
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: