Solved

java.sql.SQLException: Io exception: Broken pipe

Posted on 2003-11-03
4
2,843 Views
Last Modified: 2007-12-19
java.sql.SQLException: Io exception: Connection reset by peer: Connection reset
by peer
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:211)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:324)
        at oracle.jdbc.driver.OracleResultSetImpl.internal_close(OracleResultSetImpl.java:630)
        at oracle.jdbc.driver.OracleStatement.prepare_for_new_result(OracleStatement.java:2480)
        at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:567)
                                    and
java.sql.SQLException: Io exception: Broken pipe
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:211)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:324)
        at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1912)
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2015)
        at oracle.jdbc.driver.OracleStatement.doScrollStmtExecuteQuery(OracleStatement.java:5532)
        at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:577)



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?

thanks
kiran kumar.
0
Comment
Question by:vallabhanenik
  • 2
4 Comments
 
LVL 35

Expert Comment

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

0
 
LVL 35

Accepted Solution

by:
TimYates earned 125 total points
ID: 9670131
http://archive.midrange.com/java400-l/200202/msg00166.html

Explains "Connection reset by peer"...

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JAVA part two 5 58
Checkbox and ListView in Android Layout 4 56
Responding to Java JComponent extended classes's resize event 4 54
eclipse shortcuts 9 45
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This video teaches viewers about errors in exception handling.

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now