Hi Torben,
i didn't resolved it for the moment. I'm continuing to used mojarra ...
I'll prefer to use MyFaces instead of Mojarra, because : http://blog.oio.de/2013/04/08/jsf-comparison-myfaces-vs-mojarra/
I'll will try asap with new JBoss EAP Beta version.
I think it's not a trouble with RichFaces, because there is the same error without RichFaces component, and only with an outputScript (something like <h:outputScript library="javax.faces" name="jsf.js" />).