9i jdbc thin drive不支援Load balance
環境是WebSphere 6.0連線10g rac的時候連線出現負載均衡的問題。
原因:
當前WebSphere 6.0的JDBC驅動是9i的, 而且9.2.0.8以前的jdbc thin drive是不支援rac的負載均衡
JDBC Thin does not support redirection to another NET listener
解決方法當然是換成9.2.0.8或者10g的jdbc drive.
就是這樣,簡單記錄一下:
下面是metalink的內容轉載,供參考:
Subject: Cannot Connect When Using 9.2.0.1 Thin Driver And Loadbalancing
Doc ID: Note:371702.1 Type: PROBLEM
Last Revision Date: 14-MAY-2008 Status: PUBLISHED
In this Document
Symptoms
Cause
Solution
References
Applies to:
JDBC - Version: 9.2.0.1.0
This problem can occur on any platform.
Symptoms
Using 9.2.0.1 JDBC Thin driver to access a RAC cluster with the following connect string :
jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS_LIST =(LOAD_BALANCE=ON)(ADDRESS = (PROTO = TCP)(HOST =host2)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = host1)(PORT = 1521)))(CONNECT_DATA =(SERVER =DEDICATED)(SERVICE_NAME = DB102)))
At connection time, the following exception is occuring :
java.sql.SQLException: Io exception: Connection refused (DESCRIPTION=(ERR=1153)(VSNNUM=153093632)(ERROR_STACK=(ERROR=(CODE=1153)(EMFI=4)(ARGS='(ADDRESS=(PROTO =TCP)(HOST=hostname)(PORT=1521))'))(ERROR=(ODE=305)(EMFI=1)))).]
Cause
The cause of this problem has been identified and verified in an unpublished Bug 2427185.
It is caused by the fact that the JDBC Thin does not support redirection to another NET listener
Solution
Upgrade the JDBC driver version to the latest version, for example 9.2.0.8.
原因:
當前WebSphere 6.0的JDBC驅動是9i的, 而且9.2.0.8以前的jdbc thin drive是不支援rac的負載均衡
JDBC Thin does not support redirection to another NET listener
解決方法當然是換成9.2.0.8或者10g的jdbc drive.
就是這樣,簡單記錄一下:
下面是metalink的內容轉載,供參考:
Subject: Cannot Connect When Using 9.2.0.1 Thin Driver And Loadbalancing
Doc ID: Note:371702.1 Type: PROBLEM
Last Revision Date: 14-MAY-2008 Status: PUBLISHED
In this Document
Symptoms
Cause
Solution
References
Applies to:
JDBC - Version: 9.2.0.1.0
This problem can occur on any platform.
Symptoms
Using 9.2.0.1 JDBC Thin driver to access a RAC cluster with the following connect string :
jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS_LIST =(LOAD_BALANCE=ON)(ADDRESS = (PROTO = TCP)(HOST =host2)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = host1)(PORT = 1521)))(CONNECT_DATA =(SERVER =DEDICATED)(SERVICE_NAME = DB102)))
At connection time, the following exception is occuring :
java.sql.SQLException: Io exception: Connection refused (DESCRIPTION=(ERR=1153)(VSNNUM=153093632)(ERROR_STACK=(ERROR=(CODE=1153)(EMFI=4)(ARGS='(ADDRESS=(PROTO =TCP)(HOST=hostname)(PORT=1521))'))(ERROR=(ODE=305)(EMFI=1)))).]
Cause
The cause of this problem has been identified and verified in an unpublished Bug 2427185.
It is caused by the fact that the JDBC Thin does not support redirection to another NET listener
Solution
Upgrade the JDBC driver version to the latest version, for example 9.2.0.8.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12361284/viewspace-620293/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- JDBC 如何配置RAC 的Load Balance ?JDBC
- PostgreSQL DBA(127) - Develop(JDBC failover&load balance)SQLdevJDBCAI
- Jdbc thin not suppot Rac TAFJDBC
- Oracle RAC Load BalanceOracle
- LOAD_BALANCE&TAF總結
- rac failover and load_balanceAI
- Feature Differences Between JDBC OCI and Thin DriversJDBC
- Oracle LOAD_BALANCE&TAF總結Oracle
- [zt] Oracle RAC Load Balance [final]Oracle
- 轉載:Oracle jdbc thin driver三種格式OracleJDBC
- Oracle RAC Load Balance , Fail Over測試OracleAI
- 轉:ORACLE的JDBC連線方式:OCI和THINOracleJDBC
- 用JDBC THIN CLIENT能訪問oracle cluster嗎?JDBCclientOracle
- PostgreSQL DBA(128) - pgAdmin(Load balance with HAProxy)SQL
- 彈性負載均衡(Elastic Load Balance,ELB)負載AST
- rac failover and load_balance簡單使用AI
- 如何配置Oracle RAC Load Balance 及FailOverOracleAI
- jdbc:oracle:thin:@192.168.3.98:1521:orcl(詳解)JDBCOracle
- 伺服器負載均衡(Server Load Balance,SLB)伺服器負載Server
- gslb(global server load balance)技術的一點理解Server
- REMOTE_LISTENER對LOAD_BALANCE的影響(二)REM
- REMOTE_LISTENER對LOAD_BALANCE的影響(一)REM
- Can the JDBC Thin Driver Do Failover by Specifying FAILOVER_MODE?JDBCAI
- Testcontainer JDBC 支援AIJDBC
- Server Data Synchronization Via Linux rsync、rsync+inotify Between Load Balance ServerServerLinux
- Spring的JDBC支援SpringJDBC
- 雲端計算教程學習入門影片課件:Load Balance講解
- RAC的兩大應用特性FAILOVER和LOAD_BALANCE總結AI
- Oracle 9i, 10g jdbc driver 檔案OracleJDBC
- 客戶端設定了load balance , Server端就不用remote_listener了吧?客戶端ServerREM
- 從零手寫實現 nginx-31-load balance 負載均衡介紹Nginx負載
- Spring 對JDBC的支援SpringJDBC
- Azure Load Balancer : 支援 IPv6
- one drive
- Oracle9i, 10g, 11g 負載均衡(load balance)和Fail OverOracle負載AI
- 關於Thin Clientclient
- java B2B2C Springcloud電子商城系統--------負載均衡(Load Balance)JavaSpringGCCloud負載
- mongodb分片balanceMongoDB