Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

broken pipe exception(Please help!!!)

 
tim chen
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,All:
I am useing wl6.1.On my debug output file there are always :
java.sql.SQLException: IoExpcetion: Broken pipe
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
at oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:417)
at oracle.jdbc.driver.OracleConnection.privateCreateStatement(OracleConnection.java:470)
at oracle.jdbc.driver.OracleConnection.createStatement(OracleConnection.java:379)
at weblogic.jdbc.pool.Connection.createStatement(Connection.java:281)

can anybody tell me about that?thanks a lot
 
Shubhrajit Chatterjee
Ranch Hand
Posts: 356
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you are working on UNIX ...
Broken pipe exception occurs when there is a socket connection between two hosts and one of the hosts close the connection unexpectedly. Both client and server software is supposed to handle this exception gracefully....
I guess your database server is closing the connection, so I think the first place you should look is the driver class you are using and your JDBC code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic