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 Oracle Community by mvsrikanthss, 1 year ago
Failed to obtain DB connection from data source 'schedulerDS': java.sql.SQLException: Could not retrieve datasource via JNDI url 'jdbc/schedulerDS' javax.naming.NameNotFoundException: While trying to lookup 'jdbc.schedulerDS' didn't find subcontext
via Terracotta by kadya, 1 year ago
Failed to obtain DB connection from data source 'utildb': java.lang.NullPointerException [See nested exception: java.lang.NullPointerException]
via Terracotta by mallik, 1 year ago
Failed to obtain DB connection from data source 'qzDS': java.lang.NullPointerException [See nested exception: java.lang.NullPointerException]
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 by kelkarp, 4 months ago
Failed to obtain DB connection from data source 'MYDS': java.sql.SQLException: Could not retrieve datasource via JNDI url 'jdbc/SybaseData' com.ibm.websphere.ce.cm.ConnectionWaitTimeoutException: Connection not available, Timed out waiting for
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.doRecoverMisfires(JobStoreSupport.java:3108)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:3887)

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.