Hi, did you install the pax-jdbc corresponding feature ?
How did you create the datasource ? Regards JB On 04/10/2018 13:35, munishgupta.asr wrote: > Hi All, > > With KARAF 4.2.0, OpenJPA version was 2.4.2. I upgraded KARAF to 4.2.1 and > with that, Open JPA feature version has been upgraded to 3.0.0. > > After bringing server up, I can see exceptions in log while DB pool is > getting created. > > Caused by: 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 > org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110) > ~[?:?] > at > org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:86) > ~[?:?] > at > org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:93) > ~[?:?] > > My JDBC driver bundles are same like before (SQL or Postgre or HSQL), that > does not have any changes. > I can see the org.hsqldb.jdbc.JDBCDriver is available and exported via > driver bundle. > > Can you suggest something what could be probable issue here? it is working > fine with KARAF 4.2.0 / OpenJPA 2.4.2. > > Regards > Munish > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
