lesteryu / log4jdbc

Automatically exported from code.google.com/p/log4jdbc
0 stars 0 forks source link

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class 'oracle.jdbc.driver.OracleDriver' f #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Deploy logjdbc.jar and slf4j jars in my Tomcat /lib replace "jdbc" with 
"jdbc:log4jdbc" in my server.xml

 url="jdbc:log4jdbc:oracle:thin:@...

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of 
class 'oracle.jdbc.driver.OracleDriver' for connect URL 'jdbc:log4jdbc:oracle:

Original issue reported on code.google.com by adria...@gmail.com on 24 Jun 2011 at 10:16

GoogleCodeExporter commented 9 years ago
Did you follow step 3 of the instructions?

3. Set your JDBC driver class to net.sf.log4jdbc.DriverSpy in your 
application's configuration.

From the error message, it appears that you still have the JDBC driver class 
set to the Oracle driver.

Original comment by arthur.b...@gmail.com on 25 Jun 2011 at 2:09

GoogleCodeExporter commented 9 years ago
Thanks that was it.

Original comment by adria...@gmail.com on 25 Jun 2011 at 2:40

GoogleCodeExporter commented 9 years ago

Original comment by arthur.b...@gmail.com on 25 Jun 2011 at 2:48