Tomcat Application Terminates Connection Abruptly To Oracle Database With "Connection Closed" Exception
(Doc ID 2349922.1)
Last updated on FEBRUARY 27, 2025
Applies to:
JDBC - Version 12.1.0.2.0 and laterInformation in this document applies to any platform.
Symptoms
Pivotal TC Server 2.9.6 application deployed in Tomcat Server 7.0.53 and using JDBC 12.1.0.2 (ojdbc7.jar) with JDK 1.7 terminates connection abruptly to Oracle database 12.1.0.2 with "Connection Closed" exception.
The issue is intermittent.
ERROR
-----------------------
java.sql.SQLRecoverableException: Closed Connection
at oracle.jdbc.driver.PhysicalConnection.getAutoCommit(PhysicalConnection.java:2254) ~[com.oracle.ojdbc7-12.1.0.2.jar:12.1.0.2.0]
at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:2424) ~[com.oracle.ojdbc7-12.1.0.2.jar:12.1.0.2.0]
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |