Download
Abstract
An MDB application receives the following exception repeatedly after a failure occurs initializing the MDB: IllegalStateException: MessageEndpoint proxy used after MessageEndpoint
Download Description
PK28310 resolves the following problem:
ERROR DESCRIPTION
An MDB application receives the following exception repeatedly after a failure occurs initializing the MDB:
IllegalStateException: MessageEndpoint proxy used after MessageEndpoint.release was called. Internal state = 1
This is caused when an exception is thrown in a MessageDriven beans ejbCreate() method, causing WebSphere to fail to create a message endpoint and the SystemOut.log is filled with error messages in an infinite loop. After a while the node stops responding.
LOCAL FIX
N/A
PROBLEM SUMMARY
USERS AFFECTED
All WebSphere Application Server version 6.0 users who use MDBs that happen to throw an exception during the MDBs ejbCreate method.
PROBLEM DESCRIPTION
An issue within an MDB application was hit whereby it received the following exception repeatedly after a failure occurs initializing the MDB:
IllegalStateException:
MessageEndpoint proxy used after MessageEndpoint.release was called. Internal state = 1
RECOMMENDATION
None
The IllegalStateException is caused when an exception is thrown in a MessageDriven beans ejbCreate() method, causing WebSphere to fail to create a message endpoint and the SystemOut.log is filled with error messages in an infinite loop. After a while the node stops responding.
When the MDB ejbCreate throws an exception, the exception is not handled appropriately by WebSphere leaving the MDB in an improper state. When this MDB is accessed subsequent times, it is found to be in an improper state and the IllegalStateException and message shown above will be reported to the user.
PROBLEM CONCLUSION
After applying this fix, the appropriate code will be executed to properly handle the case where an MDB's ejbCreate method throws an exception. The MDB will be put into the correct state in this scenario leaving it in a proper state for subsequent requests.
The fix for this APAR is currently targeted for inclusion in fixpack 6.0.2.11. Please refer to the Recommended fixes page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Prerequisites
Please download the UpdateInstaller below to install this fix.
Installation Instructions
Please review the readme.txt for detailed installation instructions.
Technical Support
Contact IBM Support using SR (http://www-306.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV(U.S. only).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg24012947