IBM Support

PM97503: ILLEGALSTATEEXCEPTION CAN OCCUR DURING SERVER SHUTDOWN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following exception stack can be noticed during the
    shutdown of the Liberty profile server.
    java.lang.IllegalStateException: getManagedConnection: illegal
    state exception. State = STATE_INACTIVE MCW = 55768da5
    >    at
    com.ibm.ejs.j2c.MCWrapper.getManagedConnection(MCWrapper.java:64
    5)
    >    at
    com.ibm.ejs.j2c.PoolManager.serverShutDown(PoolManager.java:1888
    )
    >    at
    com.ibm.ejs.j2c.ConnectionManagerServiceImpl.destroyConnectionFa
    ctories(ConnectionManagerServiceImpl.java:247)
    >    at
    com.ibm.ws.jdbc.DataSourceService.destroyConnectionFactories(Dat
    aSourceService.java:261)
    >    at
    com.ibm.ws.jdbc.DataSourceService.deactivate(DataSourceService.j
    ava:235)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: During a Liberty Profile server         *
    *                      shutdown an IllegalStateException       *
    *                      occurs.                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the connection factories are getting destroyed during the
    shutdown of the Liberty Profile server an llegalStateException
    like the following can occur.
    java.lang.IllegalStateException: getManagedConnection: illegal
    state exception. State = STATE_INACTIVE MCW = 55768da5
    at
    com.ibm.ejs.j2c.MCWrapper.getManagedConnection(MCWrapper.java:64
    5)
    at
    com.ibm.ejs.j2c.PoolManager.serverShutDown(PoolManager.java:1888
    )
    at
    com.ibm.ejs.j2c.ConnectionManagerServiceImpl.destroyConnectionFa
    ctories(ConnectionManagerServiceImpl.java:247)
    at
    com.ibm.ws.jdbc.DataSourceService.destroyConnectionFactories(Dat
    aSourceService.java:261)
    at
    com.ibm.ws.jdbc.DataSourceService.deactivate(DataSourceService.j
    ava:235)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM97503

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-09-20

  • Closed date

    2013-10-22

  • Last modified date

    2013-10-22

  • 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 PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 January 2022