java.sql.SQLException: Io exception: Broken pipe

Posted on 2003-11-03
Last Modified: 2007-12-19
java.sql.SQLException: Io exception: Connection reset by peer: Connection reset
by peer
        at oracle.jdbc.dbaccess.DBError.throwSqlException(
        at oracle.jdbc.dbaccess.DBError.throwSqlException(
        at oracle.jdbc.dbaccess.DBError.throwSqlException(
        at oracle.jdbc.driver.OracleResultSetImpl.internal_close(
        at oracle.jdbc.driver.OracleStatement.prepare_for_new_result(
        at oracle.jdbc.driver.OracleStatement.executeQuery(
java.sql.SQLException: Io exception: Broken pipe
        at oracle.jdbc.dbaccess.DBError.throwSqlException(
        at oracle.jdbc.dbaccess.DBError.throwSqlException(
        at oracle.jdbc.dbaccess.DBError.throwSqlException(
        at oracle.jdbc.driver.OracleStatement.doExecuteQuery(
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(
        at oracle.jdbc.driver.OracleStatement.doScrollStmtExecuteQuery(
        at oracle.jdbc.driver.OracleStatement.executeQuery(

In a webapplication with Oracle as database, I am getting this type of error now and then but not always. Could any one let me know in what circumstances the  above two exceptions can occur?

kiran kumar.
Question by:vallabhanenik
  • 2
LVL 35

Expert Comment

ID: 9670118
Sounds like the db is rebooting, or someone is meddling with the network...

LVL 35

Accepted Solution

TimYates earned 125 total points
ID: 9670131

Explains "Connection reset by peer"...

"Broken pipe" is basically the same thing...

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
servlet example 11 55
Finding all private fields and their corresponding getters setters for nested classes 4 21
Java class and jar 3 41
Coding for the first time 9 62
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question