File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"No suitable driver" problem with Tomcat and cloudscape

 
Sam Zou
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic