0 Replies Latest reply on Dec 23, 2005 3:41 AM by ghal ghal

    Creating JSF portlets in JBoss Portal

    ghal ghal Newbie

      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