java.sql.SQLException: 无法从套接字读取更多的数据
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1160)
at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:963)
at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:893)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:369)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:830)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2391)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2672)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:527)
at oracle.sql.ArrayDescriptor.toLengthFromLocator(ArrayDescriptor.java:1453)
at oracle.sql.ArrayDescriptor.toNumericArrayFromLocator(ArrayDescriptor.java:1713)
at oracle.sql.ArrayDescriptor.toNumericArray(ArrayDescriptor.java:1894)
at oracle.sql.ARRAY.getIntArray(ARRAY.java:1070)
at com.vividsolutions.jts.io.oracle.OraReader.asIntArray(Unknown Source)
at com.vividsolutions.jts.io.oracle.OraReader.read(Unknown Source)
at com.test.db.jdbc.RoadEdgeReader.getGeometryFromStrut(RoadEdgeReader.java:32)
at com.test.db.jdbc.RoadEdgeReader.read(RoadEdgeReader.java:61)
at com.test.Main.main(Main.java:42)
java.sql.SQLException: 无法从套接字读取更多的数据
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1160)
at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:963)
at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:893)
at oracle.jdbc.ttc7.Oopen.receive(Oopen.java:105)
at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:586)
at oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:385)
at oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:413)
at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:119)
at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:92)
at oracle.jdbc.driver.OracleConnection.privatePrepareStatement(OracleConnection.java:950)
at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:802)
at oracle.sql.ArrayDescriptor.toLengthFromLocator(ArrayDescriptor.java:1449)
at oracle.sql.ArrayDescriptor.toNumericArrayFromLocator(ArrayDescriptor.java:1713)
at oracle.sql.ArrayDescriptor.toNumericArray(ArrayDescriptor.java:1894)
at oracle.sql.ARRAY.getIntArray(ARRAY.java:1070)
at com.vividsolutions.jts.io.oracle.OraReader.asIntArray(Unknown Source)
at com.vividsolutions.jts.io.oracle.OraReader.read(Unknown Source)
at com.test.db.jdbc.RoadEdgeReader.getGeometryFromStrut(RoadEdgeReader.java:32)
at com.test.db.jdbc.RoadEdgeReader.read(RoadEdgeReader.java:61)
at com.test.Main.main(Main.java:42)
java.sql.SQLException: 无法从套接字读取更多的数据
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1160)
at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:963)
at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:893)
at oracle.jdbc.ttc7.Oopen.receive(Oopen.java:105)
at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:586)
at oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:385)
at oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:413)
at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:119)
at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:92)
at oracle.jdbc.driver.OracleConnection.privatePrepareStatement(OracleConnection.java:950)
at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:802)
at oracle.sql.ArrayDescriptor.toLengthFromLocator(ArrayDescriptor.java:1449)
at oracle.sql.ArrayDescriptor.toNumericArrayFromLocator(ArrayDescriptor.java:1713)
at oracle.sql.ArrayDescriptor.toNumericArray(ArrayDescriptor.java:1894)
at oracle.sql.ARRAY.getIntArray(ARRAY.java:1070)
at com.vividsolutions.jts.io.oracle.OraReader.asIntArray(Unknown Source)
at com.vividsolutions.jts.io.oracle.OraReader.read(Unknown Source)
at com.test.db.jdbc.RoadEdgeReader.getGeometryFromStrut(RoadEdgeReader.java:32)
at com.test.db.jdbc.RoadEdgeReader.read(RoadEdgeReader.java:61)
at com.test.Main.main(Main.java:42)
java.sql.SQLException: Io 异常: Software caused connection abort: 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.close(OracleStatement.java:648)
at com.test.db.jdbc.JdbcUtils.free(JdbcUtils.java:45)
at com.test.db.jdbc.RoadEdgeReader.read(RoadEdgeReader.java:70)
at com.test.Main.main(Main.java:42)
java.sql.SQLException: Io 异常: Software caused connection abort: 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.close(OracleStatement.java:648)
at oracle.jdbc.driver.OraclePreparedStatement.privateClose(OraclePreparedStatement.java:485)
at oracle.jdbc.driver.OraclePreparedStatement.close(OraclePreparedStatement.java:393)
at oracle.jdbc.driver.OracleConnection.close_statements(OracleConnection.java:2333)
at oracle.jdbc.driver.OracleConnection.close(OracleConnection.java:1412)
at com.test.db.jdbc.JdbcUtils.free(JdbcUtils.java:51)
at com.test.db.jdbc.RoadEdgeReader.read(RoadEdgeReader.java:70)
at com.test.Main.main(Main.java:42)
原来升级驱动包就可以了。
分享到:
相关推荐
import java.sql.Connection; public class ConnectionPoolExample { public static void main(String[] args) { try { Context ic = new InitialContext(); DataSource ds = (DataSource) ic.lookup("java:...
1. **连接管理**:驱动程序负责建立、管理和关闭到MySQL服务器的网络连接,支持多种连接方式,如TCP/IP、UNIX套接字等。 2. **SQL语句执行**:它将Java应用程序中的SQL命令转化为MySQL服务器能理解的格式,执行查询...
它支持多种连接模式,如TCP/IP、Unix套接字和命名管道。 2. **SQL语句执行**:允许Java应用执行SQL查询、插入、更新、删除等操作,支持预编译的PreparedStatement和CallableStatement,提高性能并防止SQL注入攻击。...
Oracle驱动程序通常遵循Java Database Connectivity (JDBC) 标准,这是一个Java API,允许Java程序员使用SQL语句来访问和操作数据库。JDBC驱动分为四种类型:Type 1、Type 2、Type 3 和 Type 4。Oracle提供的驱动...
MySQL JDBC驱动支持各种数据库连接模式,包括标准TCP/IP、套接字、命名管道以及共享内存等,确保在不同环境下都能顺利工作。 SQL Server 2008的JDBC驱动是由Microsoft开发的,名为SQL Server JDBC Driver,它同样...
在Java程序设计中,异常处理是程序健壮性的重要组成部分。Java提供了一套丰富的异常类来帮助开发人员处理在程序执行过程中可能发生的错误。本文档列出了Java中常见的异常类型,并简要描述了这些异常的含义以及可能...
本文将详细介绍如何使用Java从`file.json`这样的JSON文件中读取数据,并将其有效地保存到数据库中。 首先,我们需要了解JSON的基本结构。JSON是一种基于文本的、易于人阅读和编写的数据格式,同时也易于机器解析和...
接下来,我们需要创建一个Java类来读取Excel文件。Apache POI提供了`HSSFWorkbook`类来处理`.xls`(Excel 97-2003格式)文件,而`XSSFWorkbook`则用于`.xlsx`(Excel 2007及以上版本)文件。假设你的Excel文件是`....
在平安科技的Java开发技术面试题大全中,包含了众多与Java开发相关的知识点和技能。以下将对提供的部分内容中的关键字进行解析,并详细阐述它们所涉及的Java知识点。 1. request, response, pageContext, session, ...