免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1879 | 回复: 1
打印 上一主题 下一主题

JDBC连ORACLE 815 的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-09-08 23:48 |只看该作者 |倒序浏览
出现如下错误,请教高手指点具体会是什么原因?
java.sql.SQLException: Io 异常: Connection reset by peer: JVM_recv in socket input stream read
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
        at oracle.jdbc.driver.OracleStatement.<init>;(OracleStatement.java:292)
        at oracle.jdbc.driver.OracleStatement.<init>;(OracleStatement.java:307)
        at oracle.jdbc.driver.OraclePreparedStatement.<init>;(OraclePreparedStatement.java:194)
        at oracle.jdbc.driver.OraclePreparedStatement.<init>;(OraclePreparedStatement.java:177)
        at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:339)
        at basedata.Train_arr_dep.updatePlanKind(Train_arr_dep.java:427)
        at mainRun.Mouse_Event.make_planKind(Mouse_Event.java:526)
        at mainRun.Mouse_Event.access$6(Mouse_Event.java:486)
        at mainRun.Mouse_Event$6.actionPerformed(Mouse_Event.java:119)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

java.sql.SQLException: Io 异常: Connection reset by peer: socket write error
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
        at oracle.jdbc.driver.OracleStatement.<init>;(OracleStatement.java:292)
        at oracle.jdbc.driver.OracleStatement.<init>;(OracleStatement.java:307)
        at oracle.jdbc.driver.OraclePreparedStatement.<init>;(OraclePreparedStatement.java:194)
        at oracle.jdbc.driver.OraclePreparedStatement.<init>;(OraclePreparedStatement.java:177)
        at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:339)
        at basedata.Train.insert_table(Train.java:471)
        at basedata.Train.insert(Train.java:434)
        at basicmap.BasicMap.Train_Streamline_exist(BasicMap.java:3117)
        at sg.win_face.Sg_All_face.down(Sg_All_face.java:695)
        at sg.win_face.Sg_All_face.actionPerformed(Sg_All_face.java:330)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
java.sql.SQLException: Io 异常: Connection reset by peer: JVM_recv in socket input stream read
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
        at oracle.jdbc.driver.OracleStatement.<init>;(OracleStatement.java:292)
        at oracle.jdbc.driver.OracleStatement.<init>;(OracleStatement.java:307)
        at oracle.jdbc.driver.OraclePreparedStatement.<init>;(OraclePreparedStatement.java:194)
        at oracle.jdbc.driver.OraclePreparedStatement.<init>;(OraclePreparedStatement.java:177)
        at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:339)
        at basedata.Qb_sjr_bt.Read_qb_bt(Qb_sjr_bt.java:241)
        at mainface.JDiaDDXG.jButtonQB_ActionPerformed(JDiaDDXG.java:2274)
        at mainface.JDiaDDXG.beforeShow(JDiaDDXG.java:213)
        at mainRun.PlanJToolEvent.modifyTrain(PlanJToolEvent.java:272)
        at mainRun.PlanJToolEvent.actionPerformed(PlanJToolEvent.java:46)
        at mainRun.MainRun.actionPerformed(MainRun.java:9
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
java.sql.SQLException: 无法从套接字读取更多的数据
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
        at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:803)
        at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:731)
        at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:690)
        at oracle.jdbc.ttc7.Oopen.receive(Oopen.java:103)
        at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:426)
        at oracle.jdbc.driver.OracleStatement.<init>;(OracleStatement.java:28
        at oracle.jdbc.driver.OracleStatement.<init>;(OracleStatement.java:307)
        at oracle.jdbc.driver.OraclePreparedStatement.<init>;(OraclePreparedStatement.java:194)
        at oracle.jdbc.driver.OraclePreparedStatement.<init>;(OraclePreparedStatement.java:177)
        at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:339)
        at tranfers.GetStationCar.saveToDB(GetStationCar.java:58
        at tranfers.GetStationCar.runGetSatCars(GetStationCar.java:519)
        at tranfers.GetStationCar.run(GetStationCar.java:352)
java.sql.SQLException: 无法从套接字读取更多的数据
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
        at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:803)
        at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:731)
        at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:690)
        at oracle.jdbc.ttc7.Oopen.receive(Oopen.java:103)
        at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:426)
        at oracle.jdbc.driver.OracleStatement.<init>;(OracleStatement.java:28
        at oracle.jdbc.driver.OracleStatement.<init>;(OracleStatement.java:307)
        at oracle.jdbc.driver.OraclePreparedStatement.<init>;(OraclePreparedStatement.java:194)
        at oracle.jdbc.driver.OraclePreparedStatement.<init>;(OraclePreparedStatement.java:177)
        at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:339)
        at basedata.Periodstream.retrieve(Periodstream.java:305)
        at basicmap.BasicMap.read_station_store(BasicMap.java:2451)
        at tranfers.GetStationCar.runGetSatCars(GetStationCar.java:521)
        at tranfers.GetStationCar.run(GetStationCar.java:352)
java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
        at oracle.jdbc.driver.OracleConnection.<init>;(OracleConnection.java:210)
        at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at basedata.Connectdb.connect(Connectdb.java:55)
        at basedata.Qb_sjr_bt.Read_qb_bt(Qb_sjr_bt.java:241)
        at mainface.JDiaBZJH.jButtonQB_ActionPerformed(JDiaBZJH.java:1635)
        at mainface.JDiaBZJH.connEtoC7(JDiaBZJH.java:356)
        at mainface.JDiaBZJH.actionPerformed(JDiaBZJH.java:11
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

论坛徽章:
0
2 [报告]
发表于 2003-09-09 08:56 |只看该作者

JDBC连ORACLE 815 的问题

监听器正常吗
用的是MTS?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP