I believe the Alfresco folks are aware of the issue. Take a look at this thread:
http://forums.alfresco.com/viewtopic.php?start=0&t=5609
(at the time of this posting, I'm unable to access their site)
It seems that Alfresco has dependencies on MyFaces APIs instead of relying purely
on the standard APIs. This dependency also seems to have allowed MyFaces bugs
to creep into their application.
This makes migrating to GlassFish problematic as the EE spec doesn't allow the overriding
of container classes (which JSF now is).
[Message sent by forum member 'rlubke' (rlubke)]
http://forums.java.net/jive/thread.jspa?messageID=263397