IBM Support

PH31875: J2CA0079E: GETMANAGEDCONNECTION INTERNAL ILLEGAL STATE STATE = STATE_INACTIVE MCW

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

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

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