IBM Support

PH18475: CLIENT RECEIVED 'HTTP 500 ERROR' FOR THEIR REQUEST DUE TO JAVA.LANG.ILLEGALSTATEEXCEPTION IN THE CR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Client received 'HTTP 500 ERROR' for their request.Joblog and
    FFDC in CR showed java.lang.IllegalStateException.
    .
    After looking at the trace, this looks like a timing issue. When
    a new http request comes in, if there is not enough data to
    queue the request, the read goes async. The initial thread doing
    the read will unwind and allow another thread to come and
    continue the read request. During this window, if a second
    thread picks up the request and gets far enough along to mark
    the request as "readCompleted", both threads may attempt to
    queue the request to WLM.
    

Local fix

  • Retry the client request.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  V9.0                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: HTTP 500 error returned due             *
    *                      to java.lang.IllegalStateException in   *
    *                      the control region.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When an initial read for an incoming HTTP request goes
    async, there is a window of time where a second thread may
    continue the read before the first thread exits. During this
    time, the initial thread performs a read complete check which
    may be a false positive if the second thread gets far enough
    along in the read. This could result in both threads attempting
    to queue the request to WLM and an IllegalStateException may
    occur.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH18475

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-10-24

  • Closed date

    2020-02-03

  • Last modified date

    2020-02-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

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R900 PSY

       UP

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900"}]

Document Information

Modified date:
16 September 2021