1 Reply Latest reply on Apr 15, 2015 8:44 AM by Michal Petrov

    Richfaces migration to 4.5.3 - problems

    Srinivas Konidena Newbie

      Hi,

       

      I am migrating my richfaces application from version 3.3 to 4.5.3. In order to support new richfaces version, am also migrating JSF version from 1.2 to 2.1 and seam version from 2.2 to 2.3. Now my application is pointing the Richfaces4.5.3, JSF2.1 and Seam2.3. when I start the JBoss application server6.2 no error message in log. Server is starting up properly without any error. But when I request for my application Home page I am getting "java.lang.NoSuchMethodError: javax.faces.component.UIViewRoot.getViewMap()Ljava/util/Map;" error. Complete error details are in below.

       

      10:45:45,285 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/SimpleReporting].[Faces Servlet]] (http-localhost/127.0.0.1:9080-1) JBWEB000236: Servlet.service() for servlet Faces Servlet threw exception: java.lang.NoSuchMethodError: javax.faces.component.UIViewRoot.getViewMap()Ljava/util/Map;

          at org.jboss.seam.contexts.PageContext.getOrCreateViewMap(PageContext.java:154) [jboss-seam.jar:2.3.1.Final]

          at org.jboss.seam.contexts.PageContext.<init>(PageContext.java:47) [jboss-seam.jar:2.3.1.Final]

          at org.jboss.seam.contexts.FacesLifecycle.resumePage(FacesLifecycle.java:180) [jboss-seam.jar:2.3.1.Final]

          at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:389) [jboss-seam.jar:2.3.1.Final]

          at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:229) [jboss-seam.jar:2.3.1.Final]

          at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:195) [jboss-seam.jar:2.3.1.Final]

          at com.sun.faces.lifecycle.Phase.handleAfterPhase(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]

          at com.sun.faces.lifecycle.Phase.doPhase(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]

          at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]

          at com.sun.faces.lifecycle.LifecycleImpl.execute(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]

          at javax.faces.webapp.FacesServlet.service(Unknown Source) [jsf-api-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_75]

       

      10:45:45,291 ERROR [org.jboss.as.txn] (http-localhost/127.0.0.1:9080-1) JBAS010152: APPLICATION ERROR: transaction still active in request with status 0

       

      Pl give me any suggestions what causes this Error and how to fix it.

       

      Thanks.