添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

1.sqlplus 正常登录;
2.tnsping ip
在这里插入图片描述
2.JDBC–socket read timed out;

修改 listener.ora tnsnames.ora
文件路径\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN
listener.ora
在这里插入图片描述
tnsnames.ora
在这里插入图片描述
结果 问题还是没有解决

重配TNS服务
开始》oracle-oraDb11g_home1》net configuration assistant
在这里插入图片描述
1 进入 监听程序配置
在这里插入图片描述
2 重新配置 监听程序
在这里插入图片描述
3 默认 下一步
结果 问题还是没有解决

1 先删除监听程序
2 重建监听程序
结果 问题解决连,JDBC连接正常

@Test public void test Read Time out() throws SQLException { Connection connection = dataSource.getConnection(); String sql = "select * from demo_table"; PreparedStatement pstmt; try { pstmt = (PreparedStatement)connection.prepareStatement(sql)...
transaction time out 设置的是一个事务的执行时间,里头可能包含多个statement statement time out(也相当于result set fetch time out) 设置的是一个stateme... 问题日志: java .sql.SQLException: I/O Error: Read time d out at net.sourceforge.jtds. jdbc .TdsCore.executeSQL(TdsCore. java :1053) ~[jtds-1.2.5.jar:1.2.5] at net.sourceforge.jtds. jdbc .JtdsStatement.executeSQLQuery(JtdsStatement. java :465) ~[jtds-1.2.. activemq连接jdbc出现Communications link failure The last packet sent successfully to the server was 0 m activemq连接jdbc出现Communications link failure The last packet sent successfully to the server was 0 m 一问三不知的小白: 加了还是不行 表情包 activemq连接jdbc出现Communications link failure The last packet sent successfully to the server was 0 m baidu_41849012: 果然是 ssl 的问题 JDBC连接oracle11g——socket read timed out 不吃西红柿丶: 非常有用,感谢大佬的整理,期待后续大作