K Kamal

Greenhorn
+ Follow
since Sep 14, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by K Kamal

Hi Tim,

Thanks for your reply.

Everything is running local. Web Server, Tomcat, mysql

JDBC connector jar file is in /var/lib/tomcat6/lib. WAR file is under /var/lib/tomcat6/webapps

Kamal
5 years ago
Hi,

I am Sys Admin so won't know about app itself but here is my env

OS: Ubuntu 10.4
Tomcat Ver: 6.0.24
Apache: Ver 2
mysql: 5.1.63
JDBC Driver: 5.1.18 copied in /var/lib/tomcat6/lib/

App works just fine. Issue is that when I reboot server and access app the first attempt always fails
catalina.out shows bunch of JDBC driver errors "No suitable drive found"
If I try same app again second time it starts working fine with no error. No JDBC error, all good

What is wrong? I have tried restarting tomcat after server reboot is complete. If I undeploy app and deploy it again then it does not work at all because undeploy make JDBC drive to de-register and it does not register again unless tomcat is restarted.

Any ideas?

Thanks
Kamal
5 years ago