Connection Timeout using Oracle with Tomcat
Hopefully one of you java-bloggers has seen this before and can assist. I've already sent this to tomcat-users, but since this blog seems to be more google-friendly than mailing lists - I like to post problems/solutions here. Hope you don't mind.
I am using Tomcat's JDBCRealm as well as a DBCP Connection pool. I am connecting to Oracle 9, and everything works fine - for about 24 hours. I've experienced this with MySQL and adding autoReconnect=true
to the connectionURL fixed the problem. However, adding this to Oracle's connectionURL causes a "Cannot load JDBC driver class 'null'". My connectionURL is:
jdbc:oracle:thin:username/password@host:1521:sid
Posted by Sebastiano Pilla on January 17, 2003 at 06:03 PM MST #
Posted by Matt Raible on January 17, 2003 at 08:03 PM MST #
Posted by Anonymous on March 07, 2003 at 03:00 PM MST #