legacy-knowledge-base
公開されました Sep. 10, 2025

JBossデータソースエラーによる本番稼動停止

written-by

Kenny Back

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • 今日、2回の生産停止があり、次のようなエラーが発生しました:
ERROR [liferay/search_writer/SYSTEM_ENGINE-7][ElasticsearchIndexWriter:143] 
java.lang.IllegalStateException: Future got interrupted

Caused by: javax.resource.ResourceException: IJ000470:
You are trying to use a connection factory that has been shut down:
java:jboss/datasources/LiferayPool at
org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection
(AbstractConnectionManager.java:777)
at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:138)
... 94 more

環境

  • DXP 7.2

解像度

追加情報

  • 一般的に言って、データソースの接続タイプは通常、失敗した接続をテストして破棄する機能を持っている。 このスタックトレース・スニペットによると、JBoss 接続プールを使用して JNDI で定義された接続を使用しているようなので、このような状況では、接続をアプリケーションに渡して使用する前に、接続をテストするように設定するとよいでしょう。 しかし、JBossがサードパーティのソフトウェアであることを考えると、特定の実装にも依存するため、ここでも大雑把に診断しているに過ぎない。 これは、誰かが手動で行うテストではないと思われるので、具体的に言うのは難しいが、接続を渡す前に接続をテストし、検証するためのプールの設定である可能性が高い。

did-this-article-resolve-your-issue

legacy-knowledge-base