Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


java.sql.SQLException: Io exception: Broken pipe

Posted on 2003-11-03
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 total points
ID: 9670131

Explains "Connection reset by peer"...

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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

722 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