Affects: Release Notes Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A000000Atm83&sfdc.override=1 Steps to Reproduce: create a JSF app, deploy it , run it, then undeploy it review the heapdumps for hanging objects Workaround: Workaround Exists Workaround Description: If you dont require JSF in your webapp you can remove faces-context.xml which could have been added by a new project wizard or an archetype, this will prevent JSF from loading and prevent the leak project_key: JBPAPP6 Due to a faulty JSF patch http://java.net/jira/browse/GLASSFISH-15632 which causes InitFacesContext to never get cleared from the ThreadLocal. Other objects from same War are also hanging.
Pls review and determine if this needs to be fixed in the next EAP release.
Shay, Are you talking about this? http://java.net/jira/browse/JAVASERVERFACES-2477 Can you try Mojarra 2.1.12 and see if that fixes the problem? I've already built it and uploaded to Nexus. So if you edit the main pom and build EAP with these lines you can try out 2.1.12: <version.com.sun.faces>2.1.12-jbossorg-1</version.com.sun.faces> <version.org.jboss.spec.javax.faces.jboss-jsf-api_2.1_spec>2.0.5.Final</version.org.jboss.spec.javax.faces.jboss-jsf-api_2.1_spec>
Closing as deferred. We will upgrade the Mojarra version later if needed.
Link: Added: This issue is related to JBPAPP-10134
JSF upgraded to 2.1.13 (api to 2.0.7.Final)
Affects: Added: Release Notes
Release Notes Docs Status: Added: Not Yet Documented Writer: Added: tomwells
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue Release Notes Text: Added: A faulty JSF patch caused InitFacesContext to not get cleared from the ThreadLocal. This issue has been fixed by a JSF upgrade.
Verified the upgrade with 6.0.1.ER3, checked release notes. I might add a JSF-flavored run to the testsuite for checking memory leaks, if I have time for it soon..
Release Notes Docs Status: Removed: Documented as Resolved Issue Writer: Removed: tomwells Release Notes Text: Removed: A faulty JSF patch caused InitFacesContext to not get cleared from the ThreadLocal. This issue has been fixed by a JSF upgrade. Docs QE Status: Removed: NEW