org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'oracle.jdbc.driver.OracleDriver' for connect URL 'jdbc:jdbc:oracle:oci@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=lxapandb01-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=lxapandb02-vip)(PORT=1521))(LOAD_BALANCE=no)(FAILOVER=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=rac.test.com)))' [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'oracle.jdbc.driver.OracleDriver' for connect URL 'jdbc:jdbc:oracle:oci@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=lxapandb01-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=lxapandb02-vip)(PORT=1521))(LOAD_BALANCE=no)(FAILOVER=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=rac.test.com)))']

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Terracotta by danielwa, 1 year ago
create JDBC driver of class 'oracle.jdbc.driver.OracleDriver' for connect URL 'jdbc:jdbc:oracle:oci@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=lxapandb01-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=lxapandb02-vip)(PORT=1521))(LOAD_BALANCE=no)(FAILOVER=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=rac.test.com)))']
via progress.com by Unknown author, 1 year ago
Failed to obtain DB connection from data source 'BLSchedulerDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory ([savviondd][OpenEdge JDBC Driver]OE Broker fails to find a server available for connecting .) [See
via Terracotta Project Issue Tracker by Tobias Oberlies, 1 year ago
Failed to obtain DB connection from data source 'DefaultDB': java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:comp/env/jdbc/DefaultDB' <exception details from driver>. [See nested exception: java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:comp/env/jdbc/DefaultDB' <exception details from driver>.]
via Terracotta Project Issue Tracker by Tobias Oberlies, 1 year ago
Failed to obtain DB connection from data source 'DefaultDB': java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:comp/env/jdbc/DefaultDB' <exception details from driver>. [See nested exception: java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:comp/env/jdbc/DefaultDB' <exception details from driver>.]
via GitHub by oberlies
, 1 year ago
Failed to obtain DB connection from data source 'DefaultDB': java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:comp/env/jdbc/DefaultDB' <exception details from driver>. [See nested exception: java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:comp/env/jdbc/DefaultDB' <exception details from driver>.]
via Stack Overflow by ksnagendran26
, 1 week ago
Failed to obtain DB connection from data source 'myDS': java.sql.SQLException: com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans.IntrospectionException: java.lang.reflect.InvocationTargetException [lastAcquisitionFailureDefaultUser] ] has been
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'oracle.jdbc.driver.OracleDriver' for connect URL 'jdbc:jdbc:oracle:oci@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=lxapandb01-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=lxapandb02-vip)(PORT=1521))(LOAD_BALANCE=no)(FAILOVER=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=rac.test.com)))' [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'oracle.jdbc.driver.OracleDriver' for connect URL 'jdbc:jdbc:oracle:oci@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=lxapandb01-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=lxapandb02-vip)(PORT=1521))(LOAD_BALANCE=no)(FAILOVER=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=rac.test.com)))']
at java.sql.DriverManager.getDriver(DriverManager.java:264)
at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1437)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:197)
at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:112)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:686)
at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:72)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3757)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2729)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:266)

Users with the same issue

10 times, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 2 weeks ago
24 times, 6 months ago
13 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.