Threads looping in WeakHashMap.get called from com.sun.facelets.tag.MetaRulesetImpl.getMetadataTarget on JBoss

Solution Verified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP)

Issue

  • Many threads got stuck in JSF and consumed high CPU at the following location:
    at java.util.WeakHashMap.get(WeakHashMap.java:355)
    at com.sun.facelets.tag.MetaRulesetImpl.getMetadataTarget(MetaRulesetImpl.java:101)
    at com.sun.facelets.tag.MetaRulesetImpl.finish(MetaRulesetImpl.java:123)
    at com.sun.facelets.tag.MetaTagHandler.setAttributes(MetaTagHandler.java:60)

Resolution

Root Cause

Diagnostic Steps

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.