Posted by:kenlizhang
Posted on:2005-08-30 14:17
我在执行一个功能时出现了错误,不知道问题出在哪里,这种情况偶尔才发生,以下是出错的代码,请大家帮忙看看,给个提示,谢谢!
2005-08-29 20:00:33,015 (BatchReal.java:233) DEBUG Thread-0 pas.kd.co.logic.BatchReal - 实batch処理開始(worktable)!!!
2005-08-29 21:38:52,031 (BatchReal.java:1029) ERROR Thread-0 pas.kd.co.logic.BatchReal - 从PINE対応対地M里读入数据失败。
java.sql.SQLException: I/O异常。: Connection reset by peer: socket write error
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
at oracle.jdbc.driver.OracleStatement.(OracleStatement.java:389)
at oracle.jdbc.driver.OracleStatement.(OracleStatement.java:413)
at oracle.jdbc.driver.OraclePreparedStatement.(OraclePreparedStatement.java:119)
at oracle.jdbc.driver.OraclePreparedStatement.(OraclePreparedStatement.java:92)
at oracle.jdbc.driver.OracleConnection.privatePrepareStatement(OracleConnection.java:950)
at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:802)
at pas.kd.co.logic.BatchReal.getPathCode(BatchReal.java:1018)
at pas.kd.co.logic.BatchReal.insertRealPathAllocationW(BatchReal.java:557)
at pas.kd.co.logic.BatchReal.realBatchNextYearData(BatchReal.java:2253)
at pas.kd.co.logic.BatchReal.execute(BatchReal.java:236)
at pas.kd.co.logic.BatchRunner.processRealForecast(BatchRunner.java:87)
at pas.kd.co.logic.BatchRunner.execute(BatchRunner.java:45)
at pas.kd.co.logic.BatchRun$1.run(BatchRun.java:64)
at java.lang.Thread.run(Unknown Source)
2005-08-29 21:38:52,031 (BatchReal.java:2260) ERROR Thread-0 pas.kd.co.logic.BatchReal - 从伝送路容量統計_TR里读入数据失败
java.sql.SQLException: I/O异常。: Connection reset by peer: socket write error
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1099)
at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:309)
at pas.kd.co.logic.BatchReal.realBatchNextYearData(BatchReal.java:2239)
at pas.kd.co.logic.BatchReal.execute(BatchReal.java:236)
at pas.kd.co.logic.BatchRunner.processRealForecast(BatchRunner.java:87)
at pas.kd.co.logic.BatchRunner.execute(BatchRunner.java:45)
at pas.kd.co.logic.BatchRun$1.run(BatchRun.java:64)
at java.lang.Thread.run(Unknown Source)
2005-08-29 21:38:52,031 (BatchRunner.java:112) ERROR Thread-0 pas.kd.co.logic.BatchRunner - batch处理失败。