2 Replies Latest reply on Jul 25, 2011 7:50 PM by Maycon Oliveira

    JSF error after AS6 to AS7 migration ( java.lang.ClassNotFoundException: sun.util.calendar.ZoneInfo)

    Maycon Oliveira Newbie

      I´m getting the above error after i done the migration to AS7.  As you can see in error log, i also tried to update the jsf implementation , but the error remains the same.   The errors occurs when i put a jsf converter on a outputText and the state saving is client:

       

      The enviroment: JSF 1.2 , richfaces 3.3.3 , jdk 1.6.24 , jboss AS7 and tomahawk 1.1.6 (but not used in this case)

       

      On any jsf page:

       

      <h:outputText value="#{backingA.valor}">

        <f:convertDateTime type="date" dateStyle="short"

        pattern="dd/MM/yyyy HH:mm" timeZone="America/Sao_Paulo" />

        </h:outputText>

       

       

      With this config:

       

      <context-param>

        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>

        <param-value>client</param-value>

        </context-param>

       

       

      I get:

       

       

      00:05:10,654 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/Hefesto].[Faces Servlet]] (http--127.0.0.1-8080-3) Servlet.service() for servlet Faces Servlet threw exception: java.lang.ClassNotFoundException: sun.util.calendar.ZoneInfo from [Module "deployment.ADM.ear.ADMWeb.war:main" from Service Module Loader]

                at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)

                at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)

                at java.lang.Class.forName0(Native Method) [:1.6.0_24]

                at java.lang.Class.forName(Class.java:247) [:1.6.0_24]

                at com.sun.faces.renderkit.ApplicationObjectInputStream.resolveClass(ApplicationObjectInputStream.java:95) [jsf-impl-1.2_15.jar:1.2_15-20100816-SNAPSHOT]

                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574) [:1.6.0_24]

                at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) [:1.6.0_24]

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) [:1.6.0_24]

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) [:1.6.0_24]

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322) [:1.6.0_24]

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) [:1.6.0_24]

                at com.sun.faces.renderkit.ResponseStateManagerImpl.getTreeStructureToRestore(ResponseStateManagerImpl.java:200) [jsf-impl-1.2_15.jar:1.2_15-20100816-SNAPSHOT]

                at javax.faces.render.ResponseStateManager.getState(ResponseStateManager.java:226) [jsf-api-1.2_15.jar:1.2_15-20100816-SNAPSHOT]

                at org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:436) [richfaces-impl-3.3.3.Final.jar:]

                at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:311) [jsf-impl-1.2_15.jar:1.2_15-20100816-SNAPSHOT]

                at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:316) [jsf-facelets-1.1.15.B1.jar:]

                at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:316) [jsf-facelets-1.1.15.B1.jar:]

                at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:316) [jsf-facelets-1.1.15.B1.jar:]

                at org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:107) [richfaces-api-3.3.3.Final.jar:]

                at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:179) [jsf-impl-1.2_15.jar:1.2_15-20100816-SNAPSHOT]

                at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [jsf-impl-1.2_15.jar:1.2_15-20100816-SNAPSHOT]

                at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:102) [jsf-impl-1.2_15.jar:1.2_15-20100816-SNAPSHOT]

                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-1.2_15.jar:1.2_15-20100816-SNAPSHOT]

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) [jsf-api-1.2_15.jar:1.2_15-20100816-SNAPSHOT]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-3.3.3.Final.jar:]

                at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-3.3.3.Final.jar:]

                at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-3.3.3.Final.jar:]

                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-3.3.3.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.0.Final.jar:7.0.0.Final]

                at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49) [jboss-as-jpa-7.0.0.Final.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

       

       

      Any ideas? I alread tried everthing.

       

       

      Thanks