LoginSignup
0
2

More than 5 years have passed since last update.

[Java][Java EE][Glassfish] (続)Glassfishのキャッシュを疑っていくスタイル

Last updated at Posted at 2017-01-06

Glassfishのキャッシュを疑っていくスタイルを真似っ子して、自分もGlassfishのキャッシュを疑っていくスタイルで生きていこうという宣言です。

Glassfishを使っていると、こんな症状が出ることがあります。

  • アプリをデプロイしなおしたら、なんでかエラーで動かない。
  • JDBCリソース追加したら、Glassfishが起動しない。
  • エラーが出た。 RAR7132: Unable to enlist the resource in transaction. Returned resource to pool.
  • エラーが出た。 RAR5117 : Failed to obtain/create connection from connection pool [ ... ]. Reason : com.sun.appserv.connectors.internal.api.PoolingException: java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources. ]]
  • エラーが出た。 RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources. ]]]

そんなときは、このスタイルでいきましょう。

Glassfishのキャッシュを疑っていくスタイル

でもきっと、Payaraへ移行するのが最も正解に近い。

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2