13 Replies Latest reply on Sep 6, 2007 3:01 PM by alexsmirnov

    ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released

      RC4 has been released


      Binary Distribution:
      http://snapshots.jboss.org/maven2/org/richfaces/ui/richfaces-ui/3.1.0-rc4/richfaces-ui-3.1.0-rc4-bin.zip

      Other Distributions see at:
      http://snapshots.jboss.org/maven2/org/richfaces/ui/richfaces-ui/3.1.0-rc4/


      If you miss what's new in 3.1.0, read the RC2 announcement:
      http://jboss.com/index.html?module=bb&op=viewtopic&t=116231

      RC3 has been dedicated to the bugs fixing. Ear/War deployment corrected. Please try again who had problems with it.


      Starting from now, only stop-ship bugs will be fixed.

      Next RC is scheduled on Sept 5. If it passes smoke tests OK, GA will be shipped Sept 6. Otherwise, one more day before GA.

        • 1. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released
          raffaele.camanzo

          Hi Sergey,

          the RC4 release resolves my deployment problems. I tested partially the application and everything seems to work properly and faster than pre 3.1.0 releases (as the RC3 did).

          Only one little problem (not affecting the behaviour.. ), when I reach the login page (but happened also in my main page) the server log shows the exception:

          2007-09-03 11:31:23,422 ERROR [org.ajax4jsf.resource.ResourceLifecycle] Exception in PhaseListener, render view : beforePhase
          java.lang.NullPointerException:
           at org.jboss.seam.pdf.DocumentStorePhaseListener.beforePhase(DocumentStorePhaseListener.java:35)
           at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:156)
           at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:336)
           at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
           at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
           at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:198)
           at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:265)
           at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
           at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:149)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
           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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
          2007-09-03 11:31:23,423 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process before phase RENDER_RESPONSE 6
          2007-09-03 11:31:23,445 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process after phase RENDER_RESPONSE 6
          2007-09-03 11:31:23,445 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] committing transaction after phase: RENDER_RESPONSE 6
          2007-09-03 11:31:23,446 DEBUG [org.jboss.seam.transaction.UTTransaction] committing JTA transaction
          2007-09-03 11:31:23,461 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] beginning transaction prior to phase: RESTORE_VIEW 1
          2007-09-03 11:31:23,461 DEBUG [org.jboss.seam.transaction.UTTransaction] beginning JTA transaction
          2007-09-03 11:31:23,461 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process before phase RESTORE_VIEW 1
          2007-09-03 11:31:23,461 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process after phase RESTORE_VIEW 1
          2007-09-03 11:31:23,463 ERROR [org.ajax4jsf.resource.ResourceLifecycle] Exception in PhaseListener, render view : beforePhase
          java.lang.NullPointerException:
           at org.jboss.seam.pdf.DocumentStorePhaseListener.beforePhase(DocumentStorePhaseListener.java:35)
           at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:156)
           at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:336)
           at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
           at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
           at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:198)
           at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:265)
           at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
           at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:149)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
           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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
          2007-09-03 11:31:23,464 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process before phase RENDER_RESPONSE 6
          


          I can say only three things about this problem:
          - I use iText both in the view (the default usage with Seam) and in my source code to generate and view PDF documents programmatically;
          - Does not affect pdf creation and visualization (really strange for me);
          - I've seen the exception only on pages without a long running conversation in place.

          I don't know if it's enough to analyze the problem (this feedback to you only because before of the upgrade to RC4 I've never seen such exception); if you need other information please ask, I'm glad to help you.

          You did a great work with this release!

          Regards,
          Raffaele Camanzo




          • 2. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released
            fmars

            I'm getting the same exceptions, although i don't create pdf and don't use iText. It has worked well with RC3.

            • 3. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released
              jbuechel

              JFYI: Deployment issues resolved and facing the same problem.. (not using pdf/iText either)

              • 4. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released

                Im getting a major problem using this new RC, I made the tests and the problem occurs with the change of the libs only.

                I don´t know exactly what it is but when using Firefox 2.0 and the a4j:status I get a blank page, there is something specific on my application, I show a iframe for the loading process, but it works fine with other releases, here comes my specific code:

                 <a4j:status for="stat1">
                 <f:facet name="start">
                 <f:verbatim>
                 <div id='siteLoader' style="position:absolute;top:0px;left:0px;width: 100%; height: 100%;">
                 <div id='siteDetailLoader'>
                 Selecionar.com.br
                 </div>
                 <div id='loadImg'>
                 <img src='/TestOnline/pages/general/images/logo_selecionar.jpg' border='0'>
                 <br>
                 <center>
                 Carregando...
                 <img src='/TestOnline/pages/general/images/loadinfo.gif' border='0'>
                 </center>
                 <p> </p>
                 </div>
                 <div id='loadText'>
                 Por favor, aguarde ...
                 </div>
                 </div>
                 </f:verbatim>
                 </f:facet>
                 </a4j:status>
                
                


                • 5. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released

                  just to complement, i do view the loading page, and then I get a blank page...

                  I get no errors on console.

                  SOmetimes when I clean the FireFox cahce i can get to the next page, but on the next click the same problem, maybe a javascript bug ?

                  thanks

                  • 6. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released
                    amitev

                    BTW is there a plan for the new components in the next releases.

                    • 7. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released
                      cdollar393

                      After upgrading to RC4 my overridden A4J.AJAX.onExpired and A4J.AJAX.onError functions are not getting called - have the names of the functions that need to be overridden changed?

                      Chris

                      • 8. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released
                        alexsmirnov

                        Yes, it is - with session expiration, no custom onExpired function is called.
                        Please, check for a A4J.AJAX.onError - in a my test application, this worked correctly.

                        • 9. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released
                          cdollar393

                          You're right - onError IS getting called while onExpired IS NOT. So would the recommended way to check for expired sessions now be a servlet filter?

                          • 10. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released
                            cdollar393

                            FWIW I just tried with a servlet filter and it worked fine.

                            • 11. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released
                              locutusut

                              Is there a timeline when this release is expected to go GA?

                              • 12. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released

                                 

                                "LocutusUT" wrote:
                                Is there a timeline when this release is expected to go GA?

                                We are in the process make a decision. The release requires not only building the final GA jar files, but preparing the product pages, release notes, PR and so on.

                                • 13. Re: ANNOUNCEMENT: RichFaces 3.1.0 RC4 has been released
                                  alexsmirnov

                                  Call for a "onExpired" hook was fixed in the 3.1.0-rc5.