My Oracle Support Banner

"java.sql.SQLException: IO Exception: Connection Reset" from J2EE Application (Doc ID 413844.1)

Last updated on APRIL 09, 2018

Applies to:

Oracle Containers for J2EE - Version to [Release 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(
at oracle.jdbc.driver.DatabaseError.throwSqlException( Compiled Code))
at oracle.jdbc.driver.DatabaseError.throwSqlException( Code))




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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.