"ERROR IN SERVLET IO EXCEPTION: CONNECTION RESET BY PEER: SOCKET WRITE ERROR" During JDBC Connection (Doc ID 1072541.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version 10.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 22-Jan-2013***


Symptoms

Tomcat 5.0.25 application using JDBC Thin 10.2.0.1 and JDK 1.4.2 fails during connection with error:

Error in servlet Io exception: Connection reset by peer: socket write error
java.sql.SQLException: Io exception: Connection reset by peer: socket write error


The error occurs intermittently.

JDBC jar files classes111.jar and classes12.jar are set in the CLASSPATH.

Cause

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