1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

UCP-45060 ライフサイクルの状態が無効です。ユニバーサル接続プールの状態を確認してください

Posted at

ucp.jarを使おうとしてハマった件。
getConnectionの時点でUniversalConnectionPoolExceptionが発生して落ちてしまう。
例外のメッセージは以下。

ライフサイクルの状態が無効です。ユニバーサル接続プールの状態を確認してください

デバッガで追ってみたりしたものの原因がさっぱり分からず、辛うじて分かったのはエラーコード45060のみ。
で、エラーコードをもとに調べてみたところ、以下の記事を発見。

JDBC: Oracle Universal Connection Pool Error UCP-45060 Invalid life cycle state
This could be a bug in the UCP and JDBC version you're using.

…そういえば、OracleクライアントとJDBCのバージョンいくつだ?←

ここでまさかのOracle 10g(ojdbc14.jar)登場。
Oracle 11g(ojdbc6.jar)に切り替えたところ、正常に動作することが確認できた。

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?