12 Replies Latest reply on Apr 18, 2011 6:36 PM by judy guglielmin

    2.2.1.CR3 and JSF 2

    Alexandr Areshchanka Newbie

      Hello Seam dev team.


      Have you decided wheather CR3 will include support of JSF or you will create new branch for example 2.5 for JSF2?


      because there are several showstoppers that do not allow to work with seam and jsf2


      JBSEAM-4621
      JBSEAM-4621
      JBSEAM-4637


      Are there any time estimations for version that will support jsf2? Will it be released at all or you will support jsf2 only in seam3?


      Thanks for information.


      Alex.


        • 1. Re: 2.2.1.CR3 and JSF 2
          Robert Morse Apprentice

          Best of luck getting an answer on this!

          • 2. Re: 2.2.1.CR3 and JSF 2
            Marek Novotny Newbie

            Very shortly.


            That is more than clear that Seam 2 won't support JSF2 facelets in JSF2 mode ;-(


            Sorry, but integration with JSF 1.2 and jsf-facelets is very tight and if we want to keep backward compatibility there is more work which won't be done in 2.2.1 release frame. We have now 2.2.1.CR2 and CR3 should be released soon.


            Our main purpose for 2.2.1 release is running on JBoss AS 6/Glassfish 3 without big issues.


            After 2.2.1 release I will create branch for JSF2 compatible Seam 2 code.

            • 3. Re: 2.2.1.CR3 and JSF 2
              gopi balagala Newbie

              Hi,


                   May I know when can we are except this release version for working with JSF2 and Seam2.2.1.



              Thank you.

              • 4. Re: 2.2.1.CR3 and JSF 2
                Alexandr Areshchanka Newbie

                As I see all issues for 2.2.1.Final are closed, and release will be in couple days\week.


                I hope now seam dev team will concentrate on migrating Seam2 to JSF2. Cause of last time all efforts where dedicated to Seam 3 and I think it's not good, new


                projects will be started with JSF2 and seam 3 is still not ready, when spring have ready working solution. Seam can lost lots of users due to that...

                • 5. Re: 2.2.1.CR3 and JSF 2
                  Marek Novotny Newbie

                  Sure thing, Till the end of January we will finish the journey for 2.2.1.


                  After that I will prepare new branch and work on 2.3.0,Alpha will start. This should change the Seam build system to fully mavenized project with Seam 2 modules. This transformation gives us possibility to prepare support for JSF 1.2 and JSF2 in parallel for backward compatibility. We will try to provide for instance jboss-seam-ui.jar and jboss-seam-ui-jsf2.jar as a result from this change.


                  Stay tuned!

                  • 6. Re: 2.2.1.CR3 and JSF 2
                    Marek Novotny Newbie

                    Just for clarification we won't migrate Seam2 to JSF2, but we would like to support JSF2 in parallel with older JSF 1.2 in new community Seam 2 branch.

                    • 7. Re: 2.2.1.CR3 and JSF 2
                      Cristi Boariu Newbie

                      Hi Marek,


                      With all my respect for your work, I have a question:


                      - is your job on making Seam 2 to work with jsf 2 also, done?
                      If yes, is it included here? http://sourceforge.net/projects/jboss/files/JBoss%20Seam/2.2.1.Final/jboss-seam-2.2.1.Final.zip/download


                      Thanks in advance.

                      • 8. Re: 2.2.1.CR3 and JSF 2
                        Marek Novotny Newbie

                        NO, it is a goal for 2.3.0 right now - work is in progress, Stay tuned!

                        • 9. Re: 2.2.1.CR3 and JSF 2
                          Emmanuel Kpoudosu Newbie

                          Richfaces 4 works only with JSF 2, so does this imply that Seam 2.2.1 Final wont work with Richfaces 4?

                          • 10. Re: 2.2.1.CR3 and JSF 2
                            Marek Novotny Newbie

                            Well, Richfaces 4 is not final yet (CR1 currently) and it is targeted to JSF2, correct. It can work but not 100%. 2.2.1.Final is integrated with Richfaces 3.3.3.Final. I have not tried that. You can try it ;-).

                            • 11. Re: 2.2.1.CR3 and JSF 2
                              Rajiv Mathew Newbie
                              <blockquote>
                              _Marek Novotny wrote on Feb 03, 2011 12:02:_<br/>

                              NO, it is a goal for 2.3.0 right now - work is in progress, Stay tuned!
                              </blockquote>

                              Hi Marek,

                              On the JBoss-Seam project page, there appears no signs of activity toward a Seam 2.3.0 release, not even a CR1 or beta. I'm working on migrating my project to JSF 2.0 on JBoss 5.1.0 GA, but am running into an exception. hoping, as per discussion above, than Seam 2.3.0 release will fix this issue.

                              13:44:39,458 ERROR Persistent Faces Servlet Servlet.service() for servlet Persistent Faces Servlet threw exception
                              java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.lifecycle.LifecycleFactory
                                      at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804)
                                      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
                                      at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.(clinit)(ReceiveSendUpdates.java:74)
                                      at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.(init)(MainSessionBoundServlet.java:168)
                                      at com.icesoft.faces.webapp.http.servlet.MainServlet$3.newServer(MainServlet.java:137)
                                      at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.checkSession(SessionDispatcher.java:125)
                                      at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:84)
                                      at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55)
                                      at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:183)
                                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                      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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
                                      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
                                      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
                                      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
                                      at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:696)
                                      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:667)
                                      at org.apache.jsp.index_jsp._jspService(index_jsp.java:74)
                                      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
                                      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
                                      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
                                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
                                      at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
                                      at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at com.safenetinc.smc.ui.login.HttpSessionInvalidator.doFilter(HttpSessionInvalidator.java:46)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.securechannel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:138)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
                                      at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
                                      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:235)
                                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                                      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
                                      at org.jboss.web.tomcat.security.FormAuthValve.invoke(FormAuthValve.java:78)
                                      at com.safenetinc.RequireClientAuthValve.invoke(RequireClientAuthValve.java:30)
                                      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
                                      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                                      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                                      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:330)
                                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
                                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                                      at java.lang.Thread.run(Thread.java:619)
                              13:44:39,505 ERROR jsp Servlet.service() for servlet jsp threw exception
                              java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.lifecycle.LifecycleFactory
                                      at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804)
                                      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
                                      at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.<clinit>(ReceiveSendUpdates.java:74)
                                      at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.<init>(MainSessionBoundServlet.java:168)
                                      at com.icesoft.faces.webapp.http.servlet.MainServlet$3.newServer(MainServlet.java:137)
                                      at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.checkSession(SessionDispatcher.java:125)
                                      at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:84)
                                      at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55)
                                      at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:183)
                                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                      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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
                                      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
                                      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
                                      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
                                      at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:696)
                                      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:667)
                                      at org.apache.jsp.index_jsp._jspService(index_jsp.java:74)
                                      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
                                      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
                                      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
                                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
                                      at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
                                      at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at com.safenetinc.smc.ui.login.HttpSessionInvalidator.doFilter(HttpSessionInvalidator.java:46)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.securechannel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:138)
                                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
                                      at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
                                      at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
                                      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:235)
                                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                                      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
                                      at org.jboss.web.tomcat.security.FormAuthValve.invoke(FormAuthValve.java:78)
                                      at com.safenetinc.RequireClientAuthValve.invoke(RequireClientAuthValve.java:30)
                                      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
                                      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                                      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                                      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:330)
                                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
                                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                                      at java.lang.Thread.run(Thread.java:619)
                              13:44:39,505 ERROR Persistent Faces Servlet Servlet.service() for servlet Persistent Faces Servlet threw exception
                              java.lang.NoClassDefFoundError: Could not initialize class com.icesoft.faces.webapp.http.core.ReceiveSendUpdates
                              • 12. Re: 2.2.1.CR3 and JSF 2
                                judy guglielmin Novice

                                From the stack trace it appears that you are trying to deploy ICEfaces-1.8 (which has PersistentFacesServlet).  If you are trying to deploy a project with jsf2.0, then you would require ICEfaces2 (no longer contains the PersistentFacesServlet).
                                For any configuration issues with ICEfaces, you should probably see:-
                                ICEfaces2 wiki