Hi, i am facing problem while deploying JSF portlets in JBoss Portal.
I am getting following exception 

javax.faces.FacesException: java.lang.ClassCastException
        at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:336)
        at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
        at org.apache.catalina.core.ContainerBase.addChildInternal

On searing on net, i found out , this could be the problem because of Apache 
myfaces jar. I tried removing jsf-libs from 
JBoss_home\server\default\deploy\jbossweb-tomcat55.sar, but to no avail.

when this didnt work, i tried removing JSF specific jar files from lib folder 
of my web application and i configured listner in web.xml as follows.

<listner-class>org.apache.myfaces.webapp.StartupServletContextListener</listner-class>

but still getting the exception..

can anybody suggest me something on this.
thankyou

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to