APAR status
Closed as program error.
Error description
Intermittent problem in Liberty - following message is issued: J2CA0079E: Method getManagedConnection has detected an internal illegal state and is throwing an IllegalStateException. The exception is: java.lang.IllegalStateException: getManagedConnection: illegal state exception. State = STATE_INACTIVE MCW = 515b4506
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server Liberty * **************************************************************** * PROBLEM DESCRIPTION: Possible IllegalStateException when * * executing PurgePoolContents * **************************************************************** * RECOMMENDATION: * **************************************************************** When purging pool contents we used a lock on the data structure used to generating a list of managed connections to purge. This lock was released before we started purging connections. During the purge, we call getManagedConnection() which has a possibility of throwing an IllegalStateException if the state of the connection had changed after releasing the lock.
Problem conclusion
This problem was fixed by keeping the lock until we finish purging all the connections marked to be purged. This problem is fixed by Open Liberty issue - OLGH15026 Link: https://github.com/OpenLiberty/open-liberty/issues/15026 The fix for this APAR is currently targeted for inclusion in fix pack 21.0.0.2. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PH31875
Reported component name
LIBERTY PROF -
Reported component ID
5655W6514
Reported release
CD0
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-11-19
Closed date
2021-03-03
Last modified date
2021-03-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
LIBERTY PROF -
Fixed component ID
5655W6514
Applicable component levels
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Platform":[{"code":"PF054","label":"z\/OS"}],"Version":"CD0"}]
Document Information
Modified date:
05 March 2021