aspose file tools*
The moose likes JDBC and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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
Author

"No suitable driver" problem with Tomcat and cloudscape

Sam Zou
Ranch Hand

Joined: Nov 18, 2002
Posts: 40
Hi,
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:
common\lib
server\lib
shared\lib
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


Sam<p>"Life is difficult"<br /> -Scott Peck-</p>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "No suitable driver" problem with Tomcat and cloudscape