Sanjib Pal wrote:Hi Tim Holloway,
I have put the database driver in the $TOMCT_HOME/lib directory but same exception is occuring.
Please help me.
Thanks,
Sanjib
At this point, I can only suggest 2 things.
1. Make sure you have removed postgresql's driver jar from your WAR.
2. Make sure that your "$TOMCT_HOME/lib" directory is, in fact, the library directory for the copy of Tomcat that you're trying to work with. And that you completely shut down and restarted Tomcat.
If you have done those 2 things correctly, the DBCP manager should have no trouble finding the driver.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.