Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQLNestedException

 
Vinod Awar
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic