IBM Support

PI12707: An IllegalStateException exception is caused by multiple invalidation calls.

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

  • When MaxInactiveInterval is set to 0 during an explicit
    invalidation call and the session.invalidate() method is called,
    the session is invalidated twice. See the following example
    exception:
    
    com.ibm.ws.webcontainer.servlet.ServletWrapper service
    SRVE0014E:
    Uncaught service() exception root cause action:
    javax.servlet.ServletException: java.lang.IllegalStateException
    Caused by: java.lang.IllegalStateException
    at
    com.ibm.ws.xs.sessionmanager.WXSSessionImpl.invalidate(WXSSessio
    nImpl.ja
    va:1113)
    

Local fix

  • Only call session.invalidate()
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of WebSphere eXtreme Scale HTTP       *
    *                  session replication with the splicer        *
    *                  property, listenerMode, set to false in a   *
    *                  Servlet3.0 specification runtime            *
    *                  environment.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: If listenerMode=false in a Servlet3.0   *
    *                      runtime, and the application sets       *
    *                      maxInactiveInterval to 0, the session   *
    *                      times out.                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The meaning of setting maxInactiveInterval to 0 has changed in
    the Servlet3.0 specification. Previously, it meant to time out
    the session immediately. In the Servlet3.0 specification, it
    means to never timeout. The WebSphere eXtreme Scale Client
    timed out the session immediately, regardless of the servlet
    specification level.
    

Problem conclusion

  • The WebSphere eXtreme Scale Client HTTP session component has
    been updated to properly time out or never time out the session
    when maxInactiveInterval has been set to 0, depending on the
    servlet specification level of the runtime.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI12707

  • Reported component name

    WS EXTREME SCAL

  • Reported component ID

    5724X6702

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-27

  • Closed date

    2014-03-03

  • Last modified date

    2014-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

    WS EXTREME SCAL

  • Fixed component ID

    5724X6702

Applicable component levels

  • R850 PSY

       UP

  • R860 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSTVLU","label":"WebSphere eXtreme Scale"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 March 2014