Commons Dbcp
  1. Commons Dbcp
  2. DBCP-214

Basic datasource should respect the context classloader

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.3
    • Labels:
      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

        Activity

        Phil Steitz made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Bernd Kolb made changes -
        Attachment BasicDataSource.java [ 12357361 ]
        Phil Steitz made changes -
        Field Original Value New Value
        Fix Version/s 1.3 [ 12311977 ]
        Bernd Kolb created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Bernd Kolb
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development