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 10.1.2.0.0 to 10.1.2.3.0 [Release AS10gR2]
Information in this document applies to any platform.
***Checked for relevance on 12-Dec-2011***


Symptoms

An EJB application running in Oracle AS 10.1.2.0.2 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))
...

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

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