Tomcat Application Terminates Connection Abruptly To Oracle Database With "Connection Closed" Exception

(Doc ID 2349922.1)

Last updated on JANUARY 17, 2018

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


Pivotal TC Server 2.9.6 application deployed in Tomcat Server 7.0.53 and using JDBC (ojdbc7.jar) with JDK 1.7 terminates connection abruptly to Oracle database with "Connection Closed" exception.
The issue is intermittent.


java.sql.SQLRecoverableException: Closed Connection
at oracle.jdbc.driver.PhysicalConnection.getAutoCommit( ~[]
at oracle.jdbc.driver.PhysicalConnection.rollback( ~[]


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms