0 Replies Latest reply on Oct 20, 2010 12:00 PM by ram sundaram

    STATE_SAVING_METHOD

    ram sundaram Newbie

      java.lang.ClassNotFoundException: No ClassLoaders found for: com.sun.facelets.tag.jstl.fn.JstlFunction
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:169)
      at org.apache.el.lang.FunctionMapperImpl$Function.getMethod(FunctionMapperImpl.java:147)
      at org.apache.el.lang.FunctionMapperImpl.resolveFunction(FunctionMapperImpl.java:53)
      at org.apache.el.parser.AstFunction.getValue(AstFunction.java:71)
      at org.apache.el.parser.AstGreaterThanEqual.getValue(AstGreaterThanEqual.java:21)
      at org.apache.el.parser.AstChoice.getValue(AstChoice.java:27)
      at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
      at org.richfaces.component.html.HtmlDataGrid.getColumns(HtmlDataGrid.java:450)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:243)
      at com.sun.facelets.util.DevTools.writeStart(DevTools.java:287)
      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:192)
      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)
      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)
      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)
      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)
      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)
      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)
      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)
      at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:107)
      at com.sun.facelets.FaceletViewHandler.handleRenderException(FaceletViewHandler.java:692)
      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:660)
      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:619)

      In web.xml if i add the following :

       

      <context-param>
           <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
           <param-value>server</param-value>
      </context-param>
      
      
      

       

           I get following error stacktrace. when i dont add the above one everything works fine. Any thoughts?

       

      java.lang.ClassNotFoundException: No ClassLoaders found for: com.sun.facelets.tag.jstl.fn.JstlFunction

      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)

      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)

      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

      at java.lang.Class.forName0(Native Method)

      at java.lang.Class.forName(Class.java:169)

      at org.apache.el.lang.FunctionMapperImpl$Function.getMethod(FunctionMapperImpl.java:147)

      at org.apache.el.lang.FunctionMapperImpl.resolveFunction(FunctionMapperImpl.java:53)

      at org.apache.el.parser.AstFunction.getValue(AstFunction.java:71)

      at org.apache.el.parser.AstGreaterThanEqual.getValue(AstGreaterThanEqual.java:21)

      at org.apache.el.parser.AstChoice.getValue(AstChoice.java:27)

      at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)

      at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)

      at org.richfaces.component.html.HtmlDataGrid.getColumns(HtmlDataGrid.java:450)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:243)

      at com.sun.facelets.util.DevTools.writeStart(DevTools.java:287)

      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:192)

      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)

      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)

      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)

      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)

      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)

      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)

      at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:210)

      at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:107)

      at com.sun.facelets.FaceletViewHandler.handleRenderException(FaceletViewHandler.java:692)

      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:660)

      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)

      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)

      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)

      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)

      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)

      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

      at java.lang.Thread.run(Thread.java:619)