By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,886 Members | 1,107 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,886 IT Pros & Developers. It's quick & easy.

Tomcat JDBC Error??

100+
P: 384
Any ideas with the below error is occuring, can't figure it out at all?

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.create DataSource(BasicDataSource.java:1150)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getCon nection(BasicDataSource.java:880)
Nov 26 '09 #1
Share this Question
Share on Google+
1 Reply


100+
P: 384
Found the full stack trace:
Expand|Select|Wrap|Line Numbers
  1. org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
  2.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1150)
  3.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
  4.     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
  5.     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
  6.     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)
  7.     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)
  8.     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  9.     at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  10.     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  11.     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  12.     at org.apache.catalina.core.StandardService.start(StandardService.java:516)
  13.     at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  14.     at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  15.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  16.     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  17.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  18.     at java.lang.reflect.Method.invoke(Unknown Source)
  19.     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  20.     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
  21. Caused by: java.lang.NullPointerException
  22.     at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(Unknown Source)
  23.     at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(Unknown Source)
  24.     at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(Unknown Source)
  25.     at java.sql.DriverManager.getDriver(Unknown Source)
  26.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1143)
  27.     ... 21 more
Nov 26 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.