IBM Support

PI85250: HUNG THREAD ISSUE IN MYFACES _GETMETADATATARGET

Fixes are available

8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
17.0.0.3: WebSphere Application Server Liberty 17.0.0.3
17.0.0.4: WebSphere Application Server Liberty 17.0.0.4
18.0.0.1: WebSphere Application Server Liberty 18.0.0.1
18.0.0.2: WebSphere Application Server Liberty 18.0.0.2
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
18.0.0.3: WebSphere Application Server Liberty 18.0.0.3
18.0.0.4: WebSphere Application Server Liberty 18.0.0.4
19.0.0.1: WebSphere Application Server Liberty 19.0.0.1
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
19.0.0.2: WebSphere Application Server Liberty 19.0.0.2
19.0.0.3: WebSphere Application Server Liberty 19.0.0.3
19.0.0.4: WebSphere Application Server Liberty 19.0.0.4
19.0.0.5: WebSphere Application Server Liberty 19.0.0.5
19.0.0.6: WebSphere Application Server Liberty 19.0.0.6
19.0.0.7: WebSphere Application Server Liberty 19.0.0.7
19.0.0.8: WebSphere Application Server Liberty 19.0.0.8
19.0.0.9: WebSphere Application Server Liberty 19.0.0.9
19.0.0.10: WebSphere Application Server Liberty 19.0.0.10
19.0.0.11: WebSphere Application Server Liberty 19.0.0.11
19.0.0.12: WebSphere Application Server Liberty 19.0.0.12
20.0.0.1: WebSphere Application Server Liberty 20.0.0.1
20.0.0.2: WebSphere Application Server Liberty 20.0.0.2
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
20.0.0.3: WebSphere Application Server Liberty 20.0.0.3
20.0.0.4: WebSphere Application Server Liberty 20.0.0.4
20.0.0.5: WebSphere Application Server Liberty 20.0.0.5
20.0.0.6: WebSphere Application Server Liberty 20.0.0.6
20.0.0.7: WebSphere Application Server Liberty 20.0.0.7
20.0.0.8: WebSphere Application Server Liberty 20.0.0.8
20.0.0.9: WebSphere Application Server Liberty 20.0.0.9
20.0.0.10: WebSphere Application Server Liberty 20.0.0.10
20.0.0.11: WebSphere Application Server Liberty 20.0.0.11
20.0.0.12: WebSphere Application Server Liberty 20.0.0.12
21.0.0.3: WebSphere Application Server Liberty 21.0.0.3
21.0.0.4: WebSphere Application Server Liberty 21.0.0.4
21.0.0.5: WebSphere Application Server Liberty 21.0.0.5
21.0.0.6: WebSphere Application Server Liberty 21.0.0.6
21.0.0.7: WebSphere Application Server Liberty 21.0.0.7
8.5.5.20: WebSphere Application Server V8.5.5.20
21.0.0.8: WebSphere Application Server Liberty 21.0.0.8
21.0.0.9: WebSphere Application Server Liberty 21.0.0.9
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
21.0.0.1: WebSphere Application Server Liberty 21.0.0.1
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
21.0.0.2: WebSphere Application Server Liberty 21.0.0.2
21.0.0.10: WebSphere Application Server Liberty 21.0.0.10
21.0.0.11: WebSphere Application Server Liberty 21.0.0.11
21.0.0.12: WebSphere Application Server Liberty 21.0.0.12
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
22.0.0.1: WebSphere Application Server Liberty 22.0.0.1
22.0.0.2: WebSphere Application Server Liberty 22.0.0.2
8.5.5.21: WebSphere Application Server V8.5.5.21
22.0.0.3: WebSphere Application Server Liberty 22.0.0.3
22.0.0.4: WebSphere Application Server Liberty 22.0.0.4

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using MyFaces JSF implementation, a hang issue may occur.
    Hung threads show the following callstack:
    
    at java/util/HashMap.getEntry(HashMap.java:476(Compiled Code))
    at java/util/HashMap.get(HashMap.java:429(Compiled Code))
    at
    org/apache/myfaces/view/facelets/tag/MetaRulesetImpl._getMetadat
    aTarget(MetaRulesetImpl.java:219(Compiled Code))
    at
    org/apache/myfaces/view/facelets/tag/MetaRulesetImpl.finish(Meta
    RulesetImpl.java:156(Compiled Code))
    at
    javax/faces/view/facelets/MetaTagHandler.setAttributes(MetaTagHa
    ndler.java:65(Compiled Code))
    at
    javax/faces/view/facelets/DelegatingMetaTagHandler.setAttributes
    (DelegatingMetaTagHandler.java:93(Compiled Code))
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server            *
    *                  Traditional                                 *
    *                  Profile versions 8.0, 8.5.5 and Liberty     *
    *                  Profile users of JavaServer Faces (JSF)     *
    *                  MyFaces 2.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Threads might hang when trying to       *
    *                      access                                  *
    *                      an unsynchronized HashMap object        *
    *                      inside                                  *
    *                      MetaRulesetImpl._getMetadataTarget      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    With a highly concurrent workload, WebContainer threads might
    hang inside MetaRulesetImpl when they are trying to access an
    unsynchronized HashMap object.
    The hung thread stack will look similar to the following
    snippet:
    at java/util/HashMap.getEntry(HashMap.java:476(Compiled Code))
    at java/util/HashMap.get(HashMap.java:429(Compiled Code))
    at
    org/apache/myfaces/view/facelets/tag/MetaRulesetImpl._getMetadat
    aTarget(MetaRulesetImpl.java:219(Compiled Code))
    at
    org/apache/myfaces/view/facelets/tag/MetaRulesetImpl.finish(Meta
    RulesetImpl.java:156(Compiled Code))
    at
    javax/faces/view/facelets/MetaTagHandler.setAttributes(MetaTagHa
    ndler.java:65(Compiled Code))
    at
    javax/faces/view/facelets/DelegatingMetaTagHandler.setAttributes
    (DelegatingMetaTagHandler.java:93(Compiled Code))
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI85250

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-07-31

  • Closed date

    2017-10-02

  • Last modified date

    2017-10-02

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

  • 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":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 May 2022