If you want to use datasource under osgi environment, you should take SimpleDriverDataSource into account;
The difference between DriverManagerDataSource and SimpleDriverDataSource has discribed at
NOTE: Within special class loading environments such as OSGi, this class is effectively superseded by SimpleDriverDataSource
due to general class loading issues with the JDBC DriverManager that be resolved through direct Driver usage (which is exactly what SimpleDriverDataSource does).