Caused by: java.sql.SQLException: ORA-12543: TNS: 无法连接目标主机

中间件日志报执行一条很简单的SQL报错,在中间件的机器上telnet数据库服务器都是通的,最后诊断是高级复制导致的,备机关闭了。
update gg_deploye_file set content=?, sync_sign=?, att_syn_flag=?,modify_date=systimestamp where deploye_id=?
Caused by: java.sql.SQLException: ORA-12543: TNS: 无法连接目标主机
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1014)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)

你可能感兴趣的:(ORA-系列)