"java.sql.SQLException: IO Exception: Connection Reset" from J2EE Application

(Doc ID 413844.1)

Last updated on FEBRUARY 24, 2017

Applies to:

Oracle Containers for J2EE - Version: to - Release: AS10gR2 to AS10gR2
Information in this document applies to any platform.
***Checked for relevance on 12-Dec-2011***


An EJB application running in Oracle AS is accessing Database Server.

The datasource uses Emulated datasource and connects using THIN driver.

When the application is accessed continuously, there are no issues. However, when the same application is accessed after a gap (for example one hour or more), the application throws the following error in the opmn log of the OC4J instance (e.g $ORACLE_HOME/opmn/logs/OC4J~oc4j_test1~default_island~1)

2007-01-16 22:55:06 ERROR [DBQuery] [DBQuery SQL Exception]
java.sql.SQLException: Io exception: Connection reset
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java(CompiledCode))
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java(Inlined Compiled Code))
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java(Compiled Code))


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