0 Replies Latest reply on Sep 28, 2011 5:18 AM by hantsy bai

    Richfaces 4.1 showcase deployment failed on JBoss 7.0.1.Final

    hantsy bai Master

      I tried to deploy the richfaces 4.1.M2 showcase to my local jboss server 7.0.1Final.

       

      I packaged the the example using

       

       

      mvn clean package -Pjbas7
      

       

      and copy the war package to <JBOSS>/standalone/deployments

       

      When jboss was started, I got the following exception.

       

      6:58:37,207 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
      16:58:37,208 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/showcase] startup failed due to previous errors
      16:58:37,211 严重    [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.UnsupportedOperationException
          at javax.faces.context.FacesContext.getCurrentPhaseId(FacesContext.java:660) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
          at javax.faces.event.ExceptionQueuedEventContext.<init>(ExceptionQueuedEventContext.java:158) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
          at javax.faces.event.ExceptionQueuedEventContext.<init>(ExceptionQueuedEventContext.java:106) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
          at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:301) [jsf-impl-2.0.2-b10.jar:2.0.2-FCS]
          at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.0.1.Final.jar:7.0.1.Final]
          at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:313) [jsf-impl-2.0.2-b10.jar:2.0.2-FCS]
          at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3465) [jbossweb-7.0.1.Final.jar:7.0.1.Final]
          at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3970) [jbossweb-7.0.1.Final.jar:7.0.1.Final]
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:3888) [jbossweb-7.0.1.Final.jar:7.0.1.Final]
          at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.1.Final.jar:7.0.1.Final]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
          at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27]
          at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]