Oracle への 2 種類の JDBC 接続プール (no-tx-separate-pools) は JBoss EAP で必要ですか?
Issue
- 環境を Oracle JDBC ドライバー 11.2.0.3 にアップグレードし、そのバージョンの
<no-tx-separate-pools />属性を使用する必要があるかどうかを知りたいです。どういう時に、xa-datasourcesを設定する際に"<no-tx-separate-pools />"パラメーターを使用する必要がありますか? そのパラメーターはダブル接続プールを作成するため、削除したいです。以下は、設定例となります。
<xa-datasource>
...
<no-tx-separate-pools />
<track-connection-by-tx>true</track-connection-by-tx>
<isSameRM-override-value>false</isSameRM-override-value>
<xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
<metadata>
<type-mapping>Oracle9i</type-mapping>
</metadata>
...
</xa-datasource>
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
- 6.x
- Oracle JDBC Driver
- 9.x
- 10.x
- 11.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
