Packet stream read error: local=/134.106.9.85:2572 remote=/134.96.33.32:1025 cid=7fcee1 sess=37668738 Tue Jul 22
16:38:29 CST 2008 java.lang.IndexOutOfBoundsException at java.io.BufferedInputStream.read(Unknown Source) at
com.ncr.teradata.jdbc_4.io.TDNetworkIO1_3Impl.read(src/com/ncr/teradata/jdbc_4/io/TDNetworkIO1_3Impl.java:247) at
com.ncr.teradata.jdbc_4.io.TDNetworkIO1_3Impl.read(src/com/ncr/teradata/jdbc_4/io/TDNetworkIO1_3Impl.java:279) at
com.ncr.teradata.jdbc_4.io.TDPacketStream1_3Impl.readStream
(src/com/ncr/teradata/jdbc_4/io/TDPacketStream1_3Impl.java:783) at
com.ncr.teradata.jdbc_4.statemachine.StatementReceiveState.action
(src/com/ncr/teradata/jdbc_4/statemachine/StatementReceiveState.java:88) at
com.ncr.teradata.jdbc_4.statemachine.StatementController.runBody
(src/com/ncr/teradata/jdbc_4/statemachine/StatementController.java:89) at
com.ncr.teradata.jdbc_4.statemachine.StatementController.run
(src/com/ncr/teradata/jdbc_4/statemachine/StatementController.java:81) at
com.ncr.teradata.jdbc_4.Statement.executeStatement(src/com/ncr/teradata/jdbc_4/Statement.java:168) at
com.ncr.teradata.jdbc_4.Statement.executeQuery(src/com/ncr/teradata/jdbc_4/Statement.java:97) at
com.ncr.teradata.jdbc_3.ifjdbc_4.TeraLocalStatement.executeQuery
(src/com/ncr/teradata/jdbc_3/ifjdbc_4/TeraLocalStatement.java:91) at
com.ncr.teradata.jdbc_3.ifjdbc_4.TeraLocalStatement.executeQuery
(src/com/ncr/teradata/jdbc_3/ifjdbc_4/TeraLocalStatement.java:126) at
org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) at
com.zjhcsoft.idap.database.agent.IdapMainAgent.getIdapUserbySQL(IdapMainAgent.java:87) at
com.zjhcsoft.idap.database.agent.IdapMainAgent$IdapAcquireRunnable.run(IdapMainAgent.java:367) at
java.lang.Thread.run(Unknown Source)
at com.ncr.teradata.jdbc_4.util.ErrorFactory.makeDriverJDBCException
(src/com/ncr/teradata/jdbc_4/util/ErrorFactory.java:79)
at com.ncr.teradata.jdbc_4.util.ErrorFactory.makeDriverJDBCException
(src/com/ncr/teradata/jdbc_4/util/ErrorFactory.java:46)
at com.ncr.teradata.jdbc_4.util.ErrorFactory.makeIoJDBCException
(src/com/ncr/teradata/jdbc_4/util/ErrorFactory.java:136)
at com.ncr.teradata.jdbc_4.io.TDPacketStream1_3Impl.analyzeError
(src/com/ncr/teradata/jdbc_4/io/TDPacketStream1_3Impl.java:802)
at com.ncr.teradata.jdbc_4.io.TDPacketStream1_3Impl.readStream
(src/com/ncr/teradata/jdbc_4/io/TDPacketStream1_3Impl.java:792)
at com.ncr.teradata.jdbc_4.statemachine.StatementReceiveState.action
(src/com/ncr/teradata/jdbc_4/statemachine/StatementReceiveState.java:88)
at com.ncr.teradata.jdbc_4.statemachine.StatementController.runBody
(src/com/ncr/teradata/jdbc_4/statemachine/StatementController.java:89)
at com.ncr.teradata.jdbc_4.statemachine.StatementController.run
(src/com/ncr/teradata/jdbc_4/statemachine/StatementController.java:81)
at com.ncr.teradata.jdbc_4.Statement.executeStatement(src/com/ncr/teradata/jdbc_4/Statement.java:168)
at com.ncr.teradata.jdbc_4.Statement.executeQuery(src/com/ncr/teradata/jdbc_4/Statement.java:97)
at com.ncr.teradata.jdbc_3.ifjdbc_4.TeraLocalStatement.executeQuery
(src/com/ncr/teradata/jdbc_3/ifjdbc_4/TeraLocalStatement.java:91)
at com.ncr.teradata.jdbc_3.ifjdbc_4.TeraLocalStatement.executeQuery
(src/com/ncr/teradata/jdbc_3/ifjdbc_4/TeraLocalStatement.java:126)
at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
at com.zjhcsoft.idap.database.agent.IdapMainAgent.getIdapUserbySQL(IdapMainAgent.java:87)
at com.zjhcsoft.idap.database.agent.IdapMainAgent$IdapAcquireRunnable.run(IdapMainAgent.java:367)
at java.lang.Thread.run(Unknown Source)
java.sql.SQLException: Connection com.ncr.teradata.jdbc_3.ifjdbc_4.TeraLocalConnection@15c073b is closed.
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.checkOpen(DelegatingConnection.java:354)
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.rollback(DelegatingConnection.java:328)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.rollback
(PoolingDataSource.java:312)
at com.zjhcsoft.idap.database.DBConnectTERA.CloseConnect(DBConnectTERA.java:70)
at com.zjhcsoft.idap.database.DBConnectTERA.Close_conn_st_rs(DBConnectTERA.java:42)
at com.zjhcsoft.idap.database.agent.IdapMainAgent.getIdapUserbySQL(IdapMainAgent.java:114)
at com.zjhcsoft.idap.database.agent.IdapMainAgent$IdapAcquireRunnable.run(IdapMainAgent.java:367)
at java.lang.Thread.run(Unknown Source)
java.sql.SQLException: Already closed.
at org.apache.tomcat.dbcp.dbcp.PoolableConnection.close(PoolableConnection.java:84)
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close
(PoolingDataSource.java:181)
at com.zjhcsoft.idap.database.DBConnectTERA.CloseConnect(DBConnectTERA.java:67)
at com.zjhcsoft.idap.database.DBConnectTERA.Close_conn_st_rs(DBConnectTERA.java:42)
at com.zjhcsoft.idap.database.agent.IdapMainAgent.getIdapUserbySQL(IdapMainAgent.java:114)
at com.zjhcsoft.idap.database.agent.IdapMainAgent$IdapAcquireRunnable.run(IdapMainAgent.java:367)
at java.lang.Thread.run(Unknown Source)
是什么错误,该怎么解决啊,谢谢
4 个解决方案
#1
请各位指教啊
#2
连接被关闭。
应该是数据库出的问题。
应该是数据库出的问题。
#3
那要怎么处理呢
#4
和数据库连接有问题 ,看你数据库服务器能正常连么
#1
请各位指教啊
#2
连接被关闭。
应该是数据库出的问题。
应该是数据库出的问题。
#3
那要怎么处理呢
#4
和数据库连接有问题 ,看你数据库服务器能正常连么