Hi JB,

We were not using Pax-JDBC earlier also. we are using JAVAX.SQL.Datasource
(implementation from common-dbcp) to create the DB pool. 

in our project, we are starting the Native JDBC drivers of all database
(hsql, sql, posgre) and based on configuration, DB will get created at
startup.

This is my exact exception stack while JDBC driver class is available in
ClassPath. I did not change anything else in code except versions for 4.2.1
and required dependencies as per release notes (it includes OpenJPA too).
same thing was working fine earlier. 

org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class
'org.hsqldb.jdbc.JDBCDriver'
        at
org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1429)
~[?:?]
        at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
~[?:?]
        at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
~[?:?]
        at Proxy98870fa8_a13e_49a3_b955_928296ff7d18.getConnection(Unknown 
Source)
~[?:?]
        at
com.good.gcs.jsonstore.dbmanager.DbManagerForDataSource.getDatabaseType(DbManagerForDataSource.java:53)
~[?:?]



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to