I am receiving the following error message when trying to deploy my application on jboss:
javax.faces.FacesException: Can't parse configuration file: jar:file:/C:/jboss-4.2.2-1-jsf/server/default/deploy/pims.ear/lib/jsf-facelets.jar!/META-INF/faces-config.xml: Error at line 8 column 16: Error at (8, 16: com.sun.faces.config.beans.ComponentBean cannot be cast to com.sun.faces.config.beans.ComponentBean
After much reading about JBoss classloading I suspect that its because the class is being loaded by two classloaders and is then causing problems.. I believe this class is located in jsf-impl.jar. Looking at the loader repository for the ear for my jsf web app, there are two references to jsf-impl.jar. The unexpected on being in the tmp folder.
Any ideas how I can solve this problem? ItÃ‚Â´s driving me nuts...
Deploy folder should have its own copy of files, that shouldn't be a problem. Please look at: http://www.jboss.org/community/docs/DOC-10182 for the information how to configure JSF bundled with application.