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. 

file:/C:/jboss-4.2.2-1-jsf/server/default/deploy/pims.ear/lib/jsf-impl.jar
file:/C:/jboss-4.2.2-1-jsf/server/default/tmp/deploy/tmp25412jsf-impl.jar

Any ideas how I can solve this problem? It´s driving me nuts...

Thanks,
David

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186996#4186996

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186996

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to