JBoss において CachedConnectionManager とデフォルトの接続マネージャーの違いは何ですか?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6
<JBOSS HOME>/docs/schemaに以下のスキーマで定義されているuse-ccm属性を使用します。jboss-as-datasources_1_0.xsdjboss-as-datasources_1_1.xsdjboss-as-resource-adapters_1_0.xsdjboss-as-resource-adapters_1_1.xsd
Issue
- CachedConnectionManager (CCM) とデフォルトの接続マネージャーの違いは何ですか?
- CCM は何を提供しますか?
Resolution
CCM は、別の種類の設定に置き換えられるオプションではありません (非キャッシュ接続マネージャーはありません)。これは、デフォルトで有効 (use-ccm=true)1 になります。
接続のデバッグと、トランザクションで接続の lazy enlistment のサポートに CachedConnectionManager が使用されていること、そして接続がアプリケーションによって適切に使用されリリースされているかどうかを追跡する方法については、管理および設定ガイドの Cached connection manager セクションを参照してください。
-
CachedConnectionManager in a production JBoss environment も併せて参照してください。 ↩
Diagnostic Steps
- Lazy Enlistment を行うための参照および説明が必要かどうかを確認します。
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
