Issue Details (XML | Word | Printable)

Key: DBCP-214
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Bernd Kolb
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Commons Dbcp

Basic datasource should respect the context classloader

Created: 10/Apr/07 04:33 PM   Updated: 15/Mar/09 10:13 PM
Return to search
Component/s: None
Affects Version/s: 1.2.2
Fix Version/s: 1.3

Time Tracking:
Not Specified

File Attachments:
  Size
Java Source File Licensed for inclusion in ASF works BasicDataSource.java 2007-05-15 08:33 AM Bernd Kolb 44 kB

Resolution Date: 15/Mar/09 10:13 PM


 Description  « Hide
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

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.