Many DataSource implementations use the DriverManager class which is incompatible with typical OSGi class loading semantics. To get around this, use a DataSource implementation that does not rely on DriverManager. Patched versions of the following DataSources are available in BRITS:
Apache Commons DBCP