java.sql.SQLException: Io 异常: The Network Adapter could not establish the connec
来源:互联网 发布:android模拟器linux版 编辑:程序博客网 时间:2024/05/29 19:30
我也遇到过,用toad可以连上,但程序不行,后来查明是公司网络故障,时通时不通
现在公司网络正常后,再也没出现过类似的情况
现在又发现一种情况.一台机上装了多个数据库(ora817和ora92),某些原因,监听不正常.如ora817监听对所有数据库都监听了,端口号为1521,但实际配置文件中只监听0ra817数据库,查监听状态连ora92都监听了,监听不正常;
ora92监听端口号为1523,只监听ora92,查监听状态正常.
这样当用sqlplus连接时用1521能连上,但用jdbc连接由于端口号错误,也会出现上面的IO异常情况.
解决办法,对各个数据库的监听文件和监听状态进行检查.有问题的监听重新启动后,监听符合配置,问题解决.
0 0
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connec
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connec
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connec
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection解决方案
- 关于java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- java.sql.SQLException: Io 异常:The Network Adapter could not establish the connect
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- (java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection)
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection可能问题之一
- Caused by: java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- 异常java.sql.SQLException: Io exception:The Network Adapter could not establish connection
- Cannot create PoolableConnectionFactory(Io 异常: The Network Adapter could not establish the connec
- Java.Sql.Sqlexception: Io Exception: The Network Adapter Could Not Establish The Connection
- The Network Adapter could not establish the connec
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Java学习之Iterator(迭代器)的一般用法
- Java中List,ArrayList用法
- Java容器类List、ArrayList、Vector及map、HashMap
- JAVA中String、StringBuffer、StringBuilder区别
- java.io.NotSerializableException错误解决方法
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connec
- 为多个checkbox绑定单击事件
- 使用JQuery 加载页面时调用JS
- 【精】设计师完全自学指南
- 妻子朋友谈眼里的快播CEO 曾想打造中国的Adobe
- java实现从键盘接收一个输入字符
- 在java中如何用键盘输入一个数,字符,字符串
- 如何查看计算机端口状态
- js 判断截取数字