1 2 Previous Next 15 Replies Latest reply on Apr 10, 2008 12:14 AM by Sergey Smirnov

    RichFaces app worked with 3.14 now does not work in 3.2 new

    Phil Wilson Apprentice

      Hi,

      First of all..I have to say great work guys...Richfaces ROCKS !!!! Very good.

      I have an app that worked fine in the old version of Richfaces 3.14.

      I had to upgrade since t:fileupload did not work. We had to move to rich:fileupload.

      My systems is set as the following:

      Myfaces 1.22
      JSTL 1.2
      Tomcat 6
      Richfaces 3.2 GA version


      The app complies fine with eclipse.

      When I run Tomcat I get the following message.

      ================================================

      HTTP Status 500 -

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 1

      1: <jsp:forward page="/login.jsf" />


      Stacktrace:
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      root cause

      javax.servlet.ServletException: Servlet execution threw an exception
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:302)
      org.ajax4jsf.Filter.doFilter(Filter.java:175)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
      org.ajax4jsf.Filter.doFilter(Filter.java:175)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      root cause

      java.lang.NoClassDefFoundError: org/apache/commons/el/Logger
      org.apache.myfaces.shared_tomahawk.util.ClassUtils.(ClassUtils.java:41)
      org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.(MyfacesConfig.java:80)
      org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.writeCodeBeforeBodyEnd(ExtensionsPhaseListener.java:115)
      org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.getCodeBeforeBodyEnd(ExtensionsPhaseListener.java:96)
      org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.renderCodeBeforeBodyEnd(ExtensionsPhaseListener.java:86)
      org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.afterPhase(ExtensionsPhaseListener.java:66)
      org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92)
      org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:142)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:302)
      org.ajax4jsf.Filter.doFilter(Filter.java:175)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
      org.ajax4jsf.Filter.doFilter(Filter.java:175)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      root cause

      java.lang.ClassNotFoundException: org.apache.commons.el.Logger
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
      java.lang.ClassLoader.loadClassInternal(Unknown Source)
      org.apache.myfaces.shared_tomahawk.util.ClassUtils.(ClassUtils.java:41)
      org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.(MyfacesConfig.java:80)
      org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.writeCodeBeforeBodyEnd(ExtensionsPhaseListener.java:115)
      org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.getCodeBeforeBodyEnd(ExtensionsPhaseListener.java:96)
      org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.renderCodeBeforeBodyEnd(ExtensionsPhaseListener.java:86)
      org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.afterPhase(ExtensionsPhaseListener.java:66)
      org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92)
      org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:142)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:302)
      org.ajax4jsf.Filter.doFilter(Filter.java:175)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
      org.ajax4jsf.Filter.doFilter(Filter.java:175)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.

        • 2. Re: RichFaces app worked with 3.14 now does not work in 3.2
          Sergey Smirnov Master

          ClassNotFoundException is most cases means that you have mix of the different version of the JSF/RichFaces loaded together.
          Clean cache, check you have no problem with Jboss classloaded.

          • 3. Re: RichFaces app worked with 3.14 now does not work in 3.2
            Phil Wilson Apprentice

            Hi,

            Thanks for your quick reply...

            I will try that now and let you know.


            Phil

            • 4. Re: RichFaces app worked with 3.14 now does not work in 3.2
              Phil Wilson Apprentice

              I cleared the cache and same issue...

              I am using Tomcat 6 not Jboss. Do you think that could be an issue?


              Myfaces 1.22
              JSTL 1.2
              Tomcat 6
              Richfaces 3.2 GA version



              I have not changed any code since we tried to upgrade from 3.14 to 3.2 richFaces..
              Phil

              • 5. Re: RichFaces app worked with 3.14 now does not work in 3.2
                Sergey Smirnov Master

                 

                java.lang.NoClassDefFoundError: org/apache/commons/el/Logger


                This is a class from commons-el library. It looks like it is missing. Most likely, it is http://commons.apache.org/el/ . If it does not help, ask MyFaces guys what the library codependencies for supporting EL.

                • 6. Re: RichFaces app worked with 3.14 now does not work in 3.2
                  Phil Wilson Apprentice

                  Hi,

                  I fixed the errors...I was missing jars from some reason with Tomcat 6.

                  Now I get this error.


                  =====================================


                  An Error Occurred:
                  Exception while calling encodeEnd on component : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /login.jsp][Class: javax.faces.component.html.HtmlForm,Id: f1b][Class: org.richfaces.component.html.HtmlToolBar,Id: j_id_jsp_914077674_3][Class: org.richfaces.component.html.HtmlMenuItem,Id: j_id_jsp_914077674_4]}

                  Caused by:
                  javax.faces.FacesException - Parent menu for menu group (id=f1b:j_id_jsp_914077674_4) has not been found.



                  avax.faces.FacesException: Exception while calling encodeEnd on component : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /login.jsp][Class: javax.faces.component.html.HtmlForm,Id: f1b][Class: org.richfaces.component.html.HtmlToolBar,Id: j_id_jsp_914077674_3][Class: org.richfaces.component.html.HtmlMenuItem,Id: j_id_jsp_914077674_4]}
                  at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:559)
                  at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
                  at org.richfaces.renderkit.html.ToolBarRendererBase.encodeChildren(ToolBarRendererBase.java:104)
                  at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:543)
                  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:239)
                  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:246)
                  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:246)
                  at org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:423)
                  at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:380)
                  at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
                  at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
                  at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
                  at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
                  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:302)
                  at org.ajax4jsf.Filter.doFilter(Filter.java:175)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
                  at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
                  at org.ajax4jsf.Filter.doFilter(Filter.java:175)
                  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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
                  at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
                  at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
                  at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
                  at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
                  at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
                  at org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
                  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
                  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
                  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
                  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:447)
                  at java.lang.Thread.run(Unknown Source)
                  Caused by: javax.faces.FacesException: Parent menu for menu group (id=f1b:j_id_jsp_914077674_4) has not been found.
                  at org.richfaces.renderkit.html.MenuItemRendererDelegate.getParentMenu(MenuItemRendererDelegate.java:167)
                  at org.richfaces.renderkit.html.MenuItemRendererDelegate.processInlineStyles(MenuItemRendererDelegate.java:128)
                  at org.richfaces.renderkit.html.MenuItemRendererBase.processInlineStyles(MenuItemRendererBase.java:245)
                  at org.richfaces.renderkit.html.MenuItemRendererBase.initializeResources(MenuItemRendererBase.java:150)
                  at org.richfaces.renderkit.html.MenuItemRenderer.doEncodeEnd(MenuItemRenderer.java:203)
                  at org.richfaces.renderkit.html.MenuItemRenderer.doEncodeEnd(MenuItemRenderer.java:288)
                  at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
                  at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:556)
                  ... 50 more

                  • 7. Re: RichFaces app worked with 3.14 now does not work in 3.2
                    Phil Wilson Apprentice

                    AjaxViewRoot id=" immediate=" locale=" renderKitId=" renderRegionOnly=" rendered=" selfRendered=" submitted=" transient=" viewId=">

                    --HtmlOutputText escape=" id=" rendered=" transient=" value="/>

                    --HtmlMessages globalOnly=" id=" layout=" rendered=" showDetail=" showSummary=" style=" tooltip=" transient="/>

                    --HtmlForm enctype=" id=" prependId=" rendered=" submitted=" transient=">

                    --HtmlOutputText escape=" id=" rendered=" transient=" value="/>

                    --HtmlToolBar id=" itemSeparator=" rendered=" transient=" width=">

                    --HtmlMenuItem ajaxSingle=" bypassUpdates=" disabled=" iconClass=" iconStyle=" id=" ignoreDupResponses=" immediate=" labelClass=" limitToList=" onselect=" rendered=" requestDelay=" selectClass=" selectStyle=" submitMode=" target=" timeout=" transient=">

                    --HtmlOutputLink disabled=" id=" rendered=" transient=">

                    --HtmlOutputText escape=" id=" rendered=" transient=" value="/>

                    --/HtmlOutputLink>

                    --/HtmlMenuItem>

                    --HtmlMenuItem ajaxSingle=" bypassUpdates=" disabled=" iconClass=" iconStyle=" id=" ignoreDupResponses=" immediate=" labelClass=" limitToList=" onselect=" rendered=" requestDelay=" selectClass=" selectStyle=" submitMode=" target=" timeout=" transient=">

                    --HtmlOutputLink disabled=" id=" rendered=" transient=">

                    --HtmlOutputText escape=" id=" rendered=" transient=" value="/>

                    --/HtmlOutputLink>

                    --/HtmlMenuItem>

                    • 8. Re: RichFaces app worked with 3.14 now does not work in 3.2
                      Sergey Smirnov Master

                       

                      Caused by: javax.faces.FacesException: Parent menu for menu group (id=f1b:j_id_jsp_914077674_4) has not been found.


                      You have never show any code snippet yet, but it seems like you use rich:menuItem directly on the toolBar without having rich:menu

                      This does not allowed according to the original spec.

                      • 9. Re: RichFaces app worked with 3.14 now does not work in 3.2
                        Phil Wilson Apprentice

                        oh ok...

                        This worked with 3.14...

                        I will include a rich:menu after the rich:toolbar...

                        Thanks again for all the help...

                        Phil

                        • 10. Re: RichFaces app worked with 3.14 now does not work in 3.2
                          Sergey Smirnov Master

                          Ok. you posted it while I was typing.

                          It was a bug in the 3.1.4 when it was possible to use rich:MenuItem like that. The bug was fixed in 3.2.0

                          However, not only you why used to use this undocumented feature. So, we are going to allow it in the future versions.

                          • 11. Re: RichFaces app worked with 3.14 now does not work in 3.2
                            Phil Wilson Apprentice

                            Ok..

                            I almost got this running...

                            I have

                            commons-codec.jar = ${maven.repo}/commons-codec/jars/commons-codec-1.3.jar

                            in my build...


                            I have this error now ..

                            any ideal?

                            ===================================

                            type Exception report

                            message

                            description The server encountered an internal error () that prevented it from fulfilling this request.

                            exception

                            org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 1

                            1: <jsp:forward page="/login.jsf" />


                            Stacktrace:
                            org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
                            org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
                            org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
                            org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
                            javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

                            root cause

                            javax.servlet.ServletException: Servlet execution threw an exception
                            org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:302)
                            org.ajax4jsf.Filter.doFilter(Filter.java:175)
                            org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
                            org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
                            org.ajax4jsf.Filter.doFilter(Filter.java:175)
                            org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
                            org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
                            org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
                            org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                            javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                            org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
                            org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
                            org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
                            javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

                            root cause

                            java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
                            org.apache.myfaces.shared_impl.util.StateUtils.encode(StateUtils.java:226)
                            org.apache.myfaces.shared_impl.util.StateUtils.construct(StateUtils.java:151)
                            org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeViewStateField(HtmlResponseStateManager.java:101)
                            org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeState(HtmlResponseStateManager.java:91)
                            javax.faces.render.ResponseStateManager.writeState(ResponseStateManager.java:64)
                            org.apache.myfaces.application.jsp.JspStateManagerImpl.writeState(JspStateManagerImpl.java:454)
                            org.ajax4jsf.application.AjaxStateManager.writeState(AjaxStateManager.java:196)
                            javax.faces.application.StateManager.writeState(StateManager.java:162)
                            org.apache.myfaces.application.jsp.JspViewHandlerImpl.writeState(JspViewHandlerImpl.java:546)
                            org.ajax4jsf.application.ViewHandlerWrapper.writeState(ViewHandlerWrapper.java:124)
                            org.ajax4jsf.application.AjaxViewHandler.writeState(AjaxViewHandler.java:120)
                            org.apache.myfaces.shared_impl.renderkit.html.HtmlFormRendererBase.encodeEnd(HtmlFormRendererBase.java:142)
                            javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:556)
                            javax.faces.component.UIComponent.encodeAll(UIComponent.java:250)
                            javax.faces.component.UIComponent.encodeAll(UIComponent.java:246)
                            org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:423)
                            org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:380)
                            org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
                            org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
                            org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
                            org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
                            javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
                            org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:302)
                            org.ajax4jsf.Filter.doFilter(Filter.java:175)
                            org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
                            org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
                            org.ajax4jsf.Filter.doFilter(Filter.java:175)
                            org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
                            org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
                            org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
                            org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                            javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                            org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
                            org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
                            org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
                            javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

                            root cause

                            java.lang.ClassNotFoundException: org.apache.commons.codec.binary.Base64
                            org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
                            org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
                            java.lang.ClassLoader.loadClassInternal(Unknown Source)
                            org.apache.myfaces.shared_impl.util.StateUtils.encode(StateUtils.java:226)
                            org.apache.myfaces.shared_impl.util.StateUtils.construct(StateUtils.java:151)
                            org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeViewStateField(HtmlResponseStateManager.java:101)
                            org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeState(HtmlResponseStateManager.java:91)
                            javax.faces.render.ResponseStateManager.writeState(ResponseStateManager.java:64)
                            org.apache.myfaces.application.jsp.JspStateManagerImpl.writeState(JspStateManagerImpl.java:454)
                            org.ajax4jsf.application.AjaxStateManager.writeState(AjaxStateManager.java:196)
                            javax.faces.application.StateManager.writeState(StateManager.java:162)
                            org.apache.myfaces.application.jsp.JspViewHandlerImpl.writeState(JspViewHandlerImpl.java:546)
                            org.ajax4jsf.application.ViewHandlerWrapper.writeState(ViewHandlerWrapper.java:124)
                            org.ajax4jsf.application.AjaxViewHandler.writeState(AjaxViewHandler.java:120)
                            org.apache.myfaces.shared_impl.renderkit.html.HtmlFormRendererBase.encodeEnd(HtmlFormRendererBase.java:142)
                            javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:556)
                            javax.faces.component.UIComponent.encodeAll(UIComponent.java:250)
                            javax.faces.component.UIComponent.encodeAll(UIComponent.java:246)
                            org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:423)
                            org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:380)
                            org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
                            org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
                            org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
                            org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
                            javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
                            org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:302)
                            org.ajax4jsf.Filter.doFilter(Filter.java:175)
                            org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
                            org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
                            org.ajax4jsf.Filter.doFilter(Filter.java:175)
                            org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
                            org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
                            org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
                            org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                            javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                            org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
                            org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
                            org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
                            javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

                            • 12. Re: RichFaces app worked with 3.14 now does not work in 3.2
                              Sergey Smirnov Master

                              This is a question to MyFaces guys

                              • 13. Re: RichFaces app worked with 3.14 now does not work in 3.2
                                Phil Wilson Apprentice

                                I have
                                MYFACES-API122.jar = ${maven.repo}/myfaces/jars/myfaces-api-1.2.2.jar
                                MYFACES-IMPL122.jar = ${maven.repo}/myfaces/jars/myfaces-impl-1.2.2.jar

                                Does anyone else have this running with myfaces??

                                Phil

                                • 14. Re: RichFaces app worked with 3.14 now does not work in 3.2
                                  Phil Wilson Apprentice

                                  Ok...

                                  I am going to take MyFaces out of our project.

                                  What Jars work with RichFaces 3.2 instead ??

                                  Phil

                                  1 2 Previous Next