EAP 4.x および 5.x で、JDBC データソースの障害検知のためにコネクションバリデーションを有効にする
Issue
<validation>タグは、データベースがアクティブになっていることを継続的に確認し、JBoss を再起動せずに継続しますか?- データベースのメンテナンスまたは機能停止後に JBoss が再接続できません。
- データソースコネクションプールに対してコネクションバリデーションを有効にするにはどうすれば良いですか?
- データベース接続で
No operations allowed after connection closedが発生していますが、コネクションを使用する前に有効であることを確認するにはどうすれば良いですか?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
- Red Hat JBoss Enterprise Portal Platform (EPP)
- 4.3
- 5.x
- Red Hat JBoss SOA Platform (SOA-P)
- 4.3
- 5.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.
