IBM Support

PK28310; 6.0.2.9: IllegalStateException infinite loop

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.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"6384","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK28310/readme.txt"}]
Off
[{"DNLabel":"6.0.2.9-WS-WAS-IFPK28310","DNDate":"07-24-2006","DNLang":"US English","DNSize":"12206","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK28310/6.0.2.9-WS-WAS-IFPK28310.pak","DNURL_FTP":null,"DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK28310/6.0.2.9-WS-WAS-IFPK28310.pak"}]

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).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"EJB Container","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.0.2.9","Edition":"Base;Express;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24012947