IBM Support

PH66007: CWWKE0701E SWITCH_PTHREAD_CONTEXT FAILS WITH REASON USERID_NOT_MUTABLE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A request is sent to a Servlet in a Liberty JVMSERVER. CICS
    creates a task for the request and later tries to change the
    USERID the task is running under. This fails with CWWKE0701E in
    messages.log and standard error shows:
    
    [com.ibm.cics.wlp.security.zos] [CICSThreadIdentityServiceImpl]
    @Error: set() - *** SJJS SWITCH_PTHREAD_CONTEXT failed. ***
    com.ibm.cics.domains.DomainException: Class: Dfhsjjsj, function:
    SWITCH_PTHREAD_CONTEXT, response: EXCEPTION, reason:
    USERID_NOT_MUTABLE
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: CWWKE0701E SWITCH_PTHREAD_CONTEXT       *
    *                      responds with USERID_NOT_MUTABLE when   *
    *                      an async servlet is called.             *
    ****************************************************************
    When sending a request to an async servlet in a Liberty
    JVMSERVER from a web application, CICS attempts to process this
    and set a USERID for the task to run under. This fails as the
    USERID is not currently mutable and so the following error can
    be observed in messages.log and STDERR:
    
    [com.ibm.cics.wlp.security.zos] [CICSThreadIdentityServiceImpl]
    @Error: set() - *** SJJS SWITCH_PTHREAD_CONTEXT failed. ***
    com.ibm.cics.domains.DomainException: Class: Dfhsjjsj, function:
    SWITCH_PTHREAD_CONTEXT, response: EXCEPTION, reason:
    USERID_NOT_MUTABLE
    

Problem conclusion

  • CICS has been updated to ensure USERIDs are mutable when an
    async servlet from a Liberty JVMSERVER web application is called
    and initially processed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH66007

  • Reported component name

    CICS TS Z/OS V6

  • Reported component ID

    5655YA100

  • Reported release

    400

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-04-04

  • Closed date

    2025-04-22

  • Last modified date

    2025-05-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UO02889

Modules/Macros

  • DFJ@H387 DFJ@H639
    

Fix information

  • Fixed component name

    CICS TS Z/OS V6

  • Fixed component ID

    5655YA100

Applicable component levels

  • R400 PSY UO02889

       UP25/04/23 P F504

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
02 May 2025