raj jaiswal wrote:
please anybody solve it.
Raj, the way the JavaRanch works is that people don't pay us, and we don't solve things. We help people solve things, and - since we don't get paid, it may sometimes take some time before someone who can help gets online.
The important part of your error message is "driver of class ''". There's an empty
string where the classname should be in that message, so somehow you've mis-specified part of your database connection pool definition. To be able to tell you more than that, I'd have to take time away from things I
do get paid to do, but I can say that overall, it looks like you're doing everything right. Except, obviously for the 5% of the work that's going to take 95% of the time. Which, sadly is how it usually goes for all of us.
Anyway, do a fine-grained comparison of your application Context database pool definition against the Tomcat docs with special attention to the driver class and
JDBC URL and I think you'll find your problem.