the
https://glassfish.dev.java.net/issues/show_bug.cgi?id=6577 says it's ported to glassfish v2.1
useBundledJsf should be used in conjunction with classloader's delegate set to false. explanation of delegate mode is given at
http://docs.sun.com/app/docs/doc/820-4496/beagb?a=view
with this setup you force server to load your jsf implementation from applications WEB-INF/lib folder. errors with xerces and/or other libs are to be expected. to resolve it you need to put correct version (the one that jsf libs, you put in application WEB-INF/lib, were compiled with).
in my case, I was overriding some jsf classes, setup sun-web.xml with given example, put following jars in WEB-INF/lib (besides the ones that were already there) and it worked with glassfish 2.1
activation.jar
jaas.jar
jaxen-1.1-beta-7.jar
jdbc2_0-stdext.jar
jstl.jar
jta.jar
standard.jar
xalan.jar
xerces-2.6.2.jar
xml-apis.jar
You could try putting xerces-2.6.2.jar to WEB-INF/lib inside your app. If another exception arises, see if you should put another jar (with given classes).
[Message sent by forum member 'mknezic' (mladen.knezic_at_zg.t-com.hr)]
http://forums.java.net/jive/thread.jspa?messageID=367082