Will,

The tomcat isn't able to find the database jdbc driver class.  Make sure you 
put database-jdbc.jar file inside tomcat/common/endorsed/ folder.  Lets say you 
were using MySql database.  MySql provides a jdbc jar file to connect to the 
database.  Get that jar file and put it in /endorsed/ folder.

The reason sometimes it works with Netbeans could be that the ide was providing 
this jar, instead of tomcat.  So when you moved to Websphere IDE, that jar 
might not be available from Websphere.

Indu

Will Holmes wrote:
Barry,

  I had no problems with the project when I was using Netbeans 5.5 as my IDE
but I had to convert my project to work with Websphere development studio
and that is when I encountered the error below.  I believe the error is
somewhere with my Tomcat setup.  I thought maybe there might be some bugs
with Tomcat 5.5.9.
Thanks
Wil

-----Original Message-----
From: Propes, Barry L [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 11:53 AM
To: Tomcat Users List
Subject: RE: Datasource Error

we might could stand to see more of the code...or I could at least.



-----Original Message-----
From: Will Holmes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 07, 2007 10:33 AM
To: users@tomcat.apache.org
Cc: [EMAIL PROTECTED]
Subject: Datasource Error


I am using Tomcat 5.5.9 on Windows XP
I have created a resouce in the Tomcat server.xml file.
I have configured the resource ref in the web.xml file.
When my application access the datasource I get the following error:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null' Anyone have any ideas? Thanks in advance!! Will Holmes
Programmer Analyst
Fremont Insurance Company
Ph: 231-924-0302 Ext. 145
E-Mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to