IBM Support

PH54173: LIBERTY NOT SETTING THE -XSHARECLASSES OPTION WHEN USING JAVA 11

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 starting Liberty with Java 11 via JCL we are not passing in
    -Xshareclasses:
    2CIUSERARG               -Xshareclasses:name=liberty-%u,nonfata
    l,cacheDirPerm=1000,cacheDir=/Liberty/servers/.classCache
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Liberty for z/OS *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Liberty not setting the -Xshareclasses  *
    *                      option when using Java 11               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When starting Liberty as a started task with Java 11, the
    following option is not set on the server: -
    Xshareclasses:name=liberty-%u,nonfata
    l,cacheDirPerm=1000,cacheDir=/Liberty/servers/.classCache
    

Problem conclusion

  • A check has been added to set the share classes option when usin
    Java 11.
    
    The fix for this APAR is targeted for inclusion in fix pack
    23.0.0.5. For more information, see 'Recommended Updates for
    WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH54173

  • 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

    2023-04-26

  • Closed date

    2023-05-16

  • Last modified date

    2023-05-16

  • 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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 May 2023