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

Basic datasource should respect the context classloader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.2
    • 1.3
    • None

    Description

      I tried to use DBCP in an OSGi environment. This this not possible at the moment, as OSGi uses different classloaders and DBCP does not respect this.
      The easiest way to solve this problem would be to use the contextclassloader in case of a ClassNotFoundException

      Attachments

        1. BasicDataSource.java
          44 kB
          Bernd Kolb

        Activity

          People

            Unassigned Unassigned
            berndkolb Bernd Kolb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: