File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes SQLNestedException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "SQLNestedException" Watch "SQLNestedException" New topic


Vinod Awar
Ranch Hand

Joined: Nov 06, 2006
Posts: 129
Hii all,

iam trying to connect to postgresql from my webapplication. i have configured my tomcat server for jndi. i have added the jar postgresql-8.0-318.jdbc3.jar but my container is not recognising the driver. iam getting this exception:

i can connect to the database from other applications.Do i need to add anyother jar files?

Masoud Kalali
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

Where do you add the jar file?
you should put it somewhere that your container can pick up when it starts.
for example in your global classpath or inside tomcat common lib folder.

hope it helps

Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
I agree. Here's the link:
subject: SQLNestedException
It's not a secret anymore!