ページの先頭行へ戻る
Interstage Application Server/Interstage Web Server メッセージ集
Interstage

103.3.5 java.lang.IllegalStateException

本項で説明している例外一覧

例外の説明


java.lang.IllegalStateException: UserTransaction does not exist

意味

以下の原因が考えられます。

  • EJBアプリケーションの場合

    • トランザクション管理種別が“Container”の場合、EJBContext(SessionContextまたは、EntityContext)のgetUserTransaction()メソッドを使用してUserTransactionを獲得しようとしている。

    • トランザクション管理種別が“Bean”の場合、SessionContextのgetUserTransaction()メソッドが使用できないBeanのメソッドでgetUserTransaction()を呼び出している。

ユーザの対処

アプリケーションを修正してください。