1 2 3 4 Previous Next 54 Replies Latest reply on Jan 26, 2011 12:12 PM by niknik77771 Go to original post
      • 45. Re: Google App Engine support status in v4?
        niknik77771

        What a pity!!!

        I hoped to switch to RichFaces today. Before I used PrimeFaces but it looks like he does not test it on GAE. Too much bugs.

        Good luck. Hope you will fulfill the promise to support this capricious platform.

        • 46. Re: Google App Engine support status in v4?
          jbalunas

          It is not that it is completely broken.  Nick has been working on a work around.  Nick can you provide more info?

          • 47. Re: Google App Engine support status in v4?
            niknik77771

            Is it safe to begin a project with GAE and RichFaces in local mode without deploying, hoping to future version of RichFaces?

            • 48. Re: Google App Engine support status in v4?
              nbelaevski

              I had to switch to 'client' state saving, otherwise I was getting ViewExpiredException permanently. The issue has been reported to Mojarra issue tracker & GAE forums, but it's still in unresolved state. So, archetype & richfaces-showcase were updated to use 'client' state saving. One more thing that has been added is maven-gae-plugin configuration.

              • 49. Re: Google App Engine support status in v4?
                jbalunas

                Nick is certainly correct here.  It looks like there are some issues with how GAE is handling clusters and session replication.  Nick has already contacted both mojarra and GAE forums.

                 

                Thankfully it appears switching to client state saving significantly helps this issue.  We have updated the showcase example and archetype to use this.  We are also looking into maven-gae-plugin to make it all easier.

                 

                However more updates in this area will need to wait for post M5/CR1 so that we can get the core RichFaces 4.0 stabilized and ready for release.

                • 50. Re: Google App Engine support status in v4?
                  niknik77771

                  Are you sure that this is a really GAE bug. May be one of a reason is Mojarra? In MyFaces discussion I have seen that they have solved all you bugs in version 2.0.3.

                  Thank you for plugin, but I still don't see a nice goals gae:run gae:debug gae:stop and gae:deploy

                  • 51. Re: Google App Engine support status in v4?
                    niknik77771

                    I just checked out all trunk and I can see gae:goals. That is great!

                    But, in the case of

                    Mvn gae:run, same as

                    mvn gae:run -Denforcer.skip=true

                    I ‘ve got:

                    22.12.2010 9:58:14 com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException

                    SEVERE: Error Rendering View[/welcome.xhtml]

                    java.lang.NullPointerException: Argument Error: Parameter value is null

                            at com.sun.faces.renderkit.html_basic.HtmlResponseWriter.writeURIAttribute(HtmlResponseWriter.java:979)

                            at com.sun.faces.renderkit.html_basic.StylesheetRenderer.encodeEnd(StylesheetRenderer.java:98)

                            at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:879)

                            at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650)

                            at com.sun.faces.renderkit.html_basic.HeadRenderer.encodeHeadResources(HeadRenderer.java:101)

                            at com.sun.faces.renderkit.html_basic.HeadRenderer.encodeBegin(HeadRenderer.java:76)

                            at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:824)

                     

                     

                    In the case of mvn gae:run -Denforcer.skip=true –Pgae

                     

                    I can see the start page, but any click cause

                    javax.validation.ValidationException: Unable to find a default provider

                          at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264)

                          at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111)

                          at javax.faces.validator.BeanValidator.validate(BeanValidator.java:271)

                          at javax.faces.component.UIInput.validateValue(UIInput.java:1142)

                          at javax.faces.component.UIInput.validate(UIInput.java:960)

                          at javax.faces.component.UIInput.executeValidate(UIInput.java:1204)

                          at javax.faces.component.UIInput.processValidators(UIInput.java:693)

                     

                    But project structure is very attractive.

                    • 52. Re: Google App Engine support status in v4?
                      nbelaevski

                      We are working on the problem: https://issues.jboss.org/browse/RF-10066

                      • 53. Re: Google App Engine support status in v4?
                        niknik77771

                        Resolved?

                        How to use GAE plugin correctly? Please, add this to readme.txt.

                        • 54. Google App Engine support status in v4?
                          niknik77771

                          That is a simple project on the basis of RichFaces showcase.

                          Integrated:

                          1. JSF mojarra 2.0.3

                          2. RichFaces 4 M5

                          3. Weld 1.0.1

                          4. Objectify

                          5. Maven-gae-plugin 0.8.1

                          6. GAE 1.4.0

                          7. CDI ViewScoped and FlashScoped by https://github.com/verborghs/jsf-cdi

                           

                           

                          Please note that you should make your own weld servlet library. Just remove all package com. In weld servlet.1.0.1.Final in your local repository.

                          To run application "mvn clean" after "gae:run". To deploy modify appengine-web.xml and "mvn clean package" after "mvn gae:deploy"

                           

                          http://groups.google.com/group/maven-gae-plugin/browse_thread/thread/b09010a7870b299f

                          1 2 3 4 Previous Next