473,403 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Tomcat JDBC Error??

384 256MB
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
1 3490
ziycon
384 256MB
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

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

Similar topics

5
by: Tom Martin | last post by:
I'm a Java Web developer NEWBIE that has inherited a website that fails every 2 hours due to poor connection pooling between Tomcat 4.0.6 and mySQL. In efforts to resolve this problem, I've...
1
by: Oliver Hoehle | last post by:
Hello! I tried to get my J2EE app working with DB2 for several days and now it seems to work, but... (Tomcat 5.0.19 on NT 4.0 with J2SDK 1.4.1_02) 1) Declaring the DB2-datasource in...
4
by: Riccardo | last post by:
Hi, This jsp code doesn't run. Why ? ----------------------------------------------------------- <%@ page import="java.sql.*" %> <%! String Query(String SQL, String DSN) {
0
by: Monica Ferrero | last post by:
Hi! I'm not sure if this is the most adequate mySQL list for this post. If not, please indicat me which one I should use... I'm using Tomcat 4.1.24 with Apache 2 and MySQL 4.0.13. I have the...
0
by: Frank | last post by:
I'm attempting to access DB/2 via V8 JDBC drivers on a Windows based Apache/TomCat web server in jsp pages. The driver loads just fine, Class.forName("com.ibm.db2.jcc.DB2Driver"), but when I try to...
3
by: Andrew Johnson | last post by:
Hi, I am trying to make a UBD DB2 7.2 connection using the Java COM.ibm.db2.jdbc.app.DB2Driver via Tomcat 3.2.1 on Solaris (and also on an AIX system with 3.3.1). I am attempting this either...
12
by: brew82 | last post by:
I am trying to get connection pooling working with Tomcat 5.5 and DB2 v8.1. This was working under Websphere Studio Application Developer 5.x but we are trying to move onto Eclipse and Tomcat. ...
2
by: serene | last post by:
i create a html login page.. so after i click login, the tomcat appear a error sentence which says something like java.sql.SQLExcepton etc Syntax error in FROM clause.... the folowing java code are...
1
by: kommaraju | last post by:
iam a starter to db2 & jdbc.i have a servlet program which connects to ibm db2 using jdbc.when i run this using apache tomcat 4.1.34 , it is showing a error message of HTTP STATUS 500 my jdbc...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.