File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark ""No suitable driver" problem with Tomcat and cloudscape" Watch ""No suitable driver" problem with Tomcat and cloudscape" New topic

"No suitable driver" problem with Tomcat and cloudscape

Sam Zou
Ranch Hand

Joined: Nov 18, 2002
Posts: 40
I have a weird problem, I tried to find it for 2 days !
I want to access a database, Cloudscape(that comes with J2EE sdk) from a servlet. To make sur my database connection is working, I wrote a small program to acces the database, and it works fine. I can add, remove entries in the database.
Then I took the same code and put it in my servlet program code.
When trying to access the database, I got this error:

I already tried to put the cloudscape jar file , RmiJdbc.jar into the tomcat lib directories:
and I always get the same error.
I guess it is a problem of classpath or a missing jar file.
Do someone known or have an idea of my problem ?
(The code to acces the database works fine when used in a standalone program)
Thanks a lot

Sam<p>"Life is difficult"<br /> -Scott Peck-</p>
I agree. Here's the link:
subject: "No suitable driver" problem with Tomcat and cloudscape
Similar Threads
Netbeans classpath problem
mysql JDBC driver classpath problem.
Resource Jar's
Urgent: Driver class loaded but getting no suitable driver found exception
Deploying Hibernate 3 application in Jboss 4.0.2