oracle共享服务器创建成功后,通过jdbc连接数被限制,报错:java.sql.SQLException: Io 异常: End of TNS data channel解决方法
2008-04-29 16:06
1331 查看
错误描述:在对oracle进行了共享服务器的配置后,单独一个用户进程通过共享服务器连接到oracle实例没有任何问题!但是通过jdbc依次创建100个oracle实例的连接(业务系统需要)就会报java.sql.SQLException: Io 异常: End of TNS data channel错误,通过写java程序通过jdbc连接的测试,发现circuits参数决定了同时能通过共享服务器的方式连接上oracle实例的连接个数。如果circuits参数值为10,那么最多有10-3=7个连接(只是测试,可能不准确)同时被连接。以此类推。
解决方法:通过修改cicuits来增大连接数。Alter system set circuits=100 scope=both;
解决方法:通过修改cicuits来增大连接数。Alter system set circuits=100 scope=both;
相关文章推荐
- oracle共享服务器创建成功后,通过jdbc连接数被限制,报错:java.sql.SQLException: Io 异常: End of TNS data channel解决方法
- java.sql.SQLException:IO Exception : End of TNS data channel
- java.sql.SQLException: Io : NL Exception was generated错误解决(jdbc数据源问题)
- java里连接sqlserver对象名无效的解决方法 java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]对象名 无效
- 异常:Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'--解决方法
- 高并发请求服务器时,经常出现如下异常:java.lang.OutOfMemoryError: unable to create new native thread的解决方法
- HiveServer2 的jdbc方式创建udf的修改(add jar 最好不要使用),否则会造成异常: java.sql.SQLException: Error while processing statement: null
- 更新MySQL数据库( java.sql.SQLException: No value specified for parameter 1) 异常 解决方法
- oracle 11g JDBC连接数据库:IO异常The Network Adapter could not establish the connection 解决方法
- 通过设置代理,解决服务器禁止抓取,报“java.io.IOException: Server returned HTTP response code: 403 for URL”错误的方法
- Android断点下载时异常:java.io.IOException: unexpected end of stream,请问该怎么解决
- 在linux上通过JDBC连接ORACLE 时总是出现 java.sql.SQLRecoverableException: IO Error: Connection reset 的问题
- Oracle sql developer Unable to create an instance of the Java Virtu... 解决方法
- 解决java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket这个异常
- 解决java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket异常
- 解决java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket这个异常
- 解决java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket这个异常
- java.sql.SQLException: Io : NL Exception was generated错误解决(jdbc数据源问题)
- Java与mysql数据库编程中遇见“Before start of result set at com.mysql.jdbc.SQLError.createSQLException” 的解决办法
- java.sql.SQLException: oracle.jdbc.driver.OracleDriver