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)))']

Terracotta | danielwa | 4 years ago
  1. 0

    Re:Setup Oracle OCI on Quartz

    Terracotta | 4 years ago | danielwa
    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)))']
  2. 0

    ActiveMQ 5.8: Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'

    Stack Overflow | 3 years ago | Antoine Wils
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation of init method failed; nested exception is java.io.IOException: Cannot create JDBC driver of class 'oracle.jdbc.driver.OracleDriver' for connect URL ' jdbc:oracle:thin:@db.domain:1521:DEV01 '
  3. 0

    Tomcat webapp cannot use MySQL driver after redeploy

    Stack Overflow | 6 years ago | matts
    org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'com.mysql.jdbc.jdbc2.optional.MysqlDataSource' for connect URL 'jdbc:mysql://127.0.0.1:3306/testdb?autoReconnect=true'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how to resolve org.apache.commons.dbcp.SQLNestedException

    Stack Overflow | 6 years ago | Chitresh
    org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'org.hsqldb.jdbcDriver' for connect URL 'data/db/hsqldb.jar'
  6. 0

    Trying to connect to Derby Database using OpenJPA in a Maven project, but getting a "java.sql.SQLException" error.

    Stack Overflow | 2 years ago | bourbaki4481472
    org.apache.openjpa.persistence.PersistenceException: There were errors initializing your configuration: <openjpa-2.3.0-r422266:1540826 fatal user error> org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "org.apache.derby.jdbc.ClientDriver" and URL "jdbc:derby:/home/ijk/MyDbTest;create=true". You may have specified an invalid URL.

  1. silex 1 times, last 7 months ago
14 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    No suitable driver

    at java.sql.DriverManager.getDriver()
  2. Java RT
    DriverManager.getDriver
    1. java.sql.DriverManager.getDriver(DriverManager.java:264)
    1 frame
  3. Commons DBCP
    BasicDataSource.getConnection
    1. org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1437)
    2. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
    3. org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    3 frames
  4. quartz
    StdScheduler.getJobGroupNames
    1. org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:197)
    2. org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:112)
    3. org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:686)
    4. org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:72)
    5. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3757)
    6. org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:93)
    7. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3665)
    8. org.quartz.impl.jdbcjobstore.JobStoreSupport.getJobGroupNames(JobStoreSupport.java:1989)
    9. org.quartz.core.QuartzScheduler.getJobGroupNames(QuartzScheduler.java:1236)
    10. org.quartz.impl.StdScheduler.getJobGroupNames(StdScheduler.java:504)
    10 frames
  5. com.kn.acon
    StartBatchEngine.main
    1. com.kn.acon.cf.batch.engine.StartBatchEngine.loadAllQueueDefinitions(StartBatchEngine.java:185)
    2. com.kn.acon.cf.batch.engine.StartBatchEngine.init(StartBatchEngine.java:128)
    3. com.kn.acon.cf.batch.engine.StartBatchEngine.main(StartBatchEngine.java:578)
    3 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  7. Plexus
    Launcher.main
    1. org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:353)
    2. org.codehaus.classworlds.Launcher.launch(Launcher.java:264)
    3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    4 frames