aspose file tools*
The moose likes JDBC and the fly likes SQLNestedException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQLNestedException" Watch "SQLNestedException" New topic
Author

SQLNestedException

Vinod Awar
Ranch Hand

Joined: Nov 06, 2006
Posts: 125
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?

Thanks


The biggest bankruptcy is the loss of enthusiasm
Masoud Kalali
Author
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: http://aspose.com/file-tools
 
subject: SQLNestedException