Oracle RAC配置local_listener

新安装的RAC在做压力测试,问题接连出现。

今天又遇到应用返回的错误日志:

 [WARN ] [13:42:59] net.sf.hibernate.util.JDBCExceptionReporter - SQL Error: 002, SQLState: null
[ERROR] [13:42:59] net.sf.hibernate.util.JDBCExceptionReporter - Io 异常: The Network Adapter could not establish the connection
[ERROR] [13:42:59] net.sf.hibernate.util.JDBCExceptionReporter - Cannot open connection
java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
        at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:420)
        at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)
        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
        at java.sql.DriverManager.getConnection(DriverManager.java:525)

经过一番排查,感觉是没有配LOCAL_LISTENER的缘故。

因为是Oracle自身的BUG,如果不配置LOCAL_LISTENER参数,会出现客户端连接数据不稳定的现象。

已经报给系统工程师进行调整。等待后续结果反馈!

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7353848/viewspace-680890/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7353848/viewspace-680890/

你可能感兴趣的:(Oracle RAC配置local_listener)