Solved

java.sql.SQLException: Io exception: Broken pipe

Posted on 2003-11-03
4
2,835 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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 tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

747 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

10 Experts available now in Live!

Get 1:1 Help Now