11 Replies Latest reply on Dec 29, 2010 9:37 AM by Bertrand Toussaint

    Seam 2.2.1.CR3 is out!

    Marek Novotny Newbie

      Seam 2.2.1.CR3 is available for public



      Today was released last candidate for 2.2.1 - Seam 2.2.1.CR3. This version was still focused on bug fixing and on JBoss AS 6 CR1 as runtime deployment.


      Seam downloads are available at sourceforge.net - here.


      Documentation for 2.2.1.CR3 is available at standard Documentation place at seamframework.org (e.g html or PDF).


      There were fixed 32 bugs, upgraded Wicket support to 1.4.14, Javassist to 3.12 to eliminate some bugs with proxy objects.
      We support JBoss AS 6 CR1 deployment with almost all examples, Spring, dvdstore, blog and jee5-booking have got special build script for JBoss AS 6, which enables packaging and deployment to AS 6. If you have issues with your current applications, look at these examples for inspirations.


      Note that full JSF2 support is still problem, but we will solve this incompatibilities in future release of Seam. Look at my older comment about JSF2 and Seam.


      Please check it out, next release 2.2.1.Final will fix only regression issues from previous CRx preview releases and will align with final release of JBoss AS 6.

        • 2. Re: Seam 2.2.1.CR3 is out!
          Robert Morse Apprentice

          Thanks to the Seam team for getting this out! 
          Unfortunately, I have to wait for Seam 3 to mature a bit more before migrating to it, so continued support of Seam 2 is greatly appreciated.
          Eagerly awaiting JSF2 support under Seam 2.  Vendors like Primefaces no longer support JSF1.
          Thanks again!


          -robert.

          • 3. Re: Seam 2.2.1.CR3 is out!
            Richard Taylor Newbie

            This is excellent news for us as well.  In the same boat as Robert.  Thanks!

            • 4. Re: Seam 2.2.1.CR3 is out!
              su baochen Newbie

              Thanks for the seam team's great work! Downloading now....

              • 5. Re: Seam 2.2.1.CR3 is out!
                hantsy bai Master

                I will keep on the 2.2 in my project...according to the roadmap of seam 3, many features existed in seam2 are missing in seam 3.

                • 6. Re: Seam 2.2.1.CR3 is out!
                  Bertrand Toussaint Newbie


                  I just tried to migrate from seam 2.2.1.CR2 to seam 2.2.1.CR3, and it seams that nested conversations are not more supported...
                  
                  When I try to open a view with "conversationPropagation" set to "nest", I get a severe error...
                  
                  Here is the stack trace:
                  
                  2010-12-28 15:15:27,943 WARN  [org.jboss.seam.jsf.SeamPhaseListener uncaught exception, passing to exception handler
                  java.lang.IllegalArgumentException: No enum const class org.jboss.seam.core.PropagationType.NEST
                          at java.lang.Enum.valueOf(Enum.java:196)
                          at org.jboss.seam.core.PropagationType.valueOf(PropagationType.java:8)
                          at org.jboss.seam.core.ConversationPropagation.getPropagationFromRequestParameter(ConversationPropagation.java:186)
                          at org.jboss.seam.core.ConversationPropagation.restoreConversationId(ConversationPropagation.java:58)
                          at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:390)
                          at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:229)
                          at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:195)
                          at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175)
                          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114)
                          at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
                          at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
                          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                          at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
                          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.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                          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:182)
                          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                          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:662)
                  2010-12-28 15:15:27,955 ERROR [org.jboss.seam.jsf.SeamPhaseListener  swallowing exception
                  java.lang.IllegalArgumentException: No enum const class org.jboss.seam.core.PropagationType.NEST
                          at java.lang.Enum.valueOf(Enum.java:196)
                          at org.jboss.seam.core.PropagationType.valueOf(PropagationType.java:8)
                          at org.jboss.seam.core.ConversationPropagation.getPropagationFromRequestParameter(ConversationPropagation.java:186)
                          at org.jboss.seam.core.ConversationPropagation.restoreConversationId(ConversationPropagation.java:58)
                          at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:390)
                          at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:229)
                          at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:195)
                          at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175)
                          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114)
                          at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
                          at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
                          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                          at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
                          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.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                          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:182)
                          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                          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:662)
                  2010-12-28 15:15:27,956 WARN  [org.jboss.seam.Component] Cannot create Seam component, scope is not active: uiDirectoryAddContactMgr(CONVERSATION)
                  2010-12-28 15:15:27,961 ERROR [org.jboss.seam.jsf.SeamPhaseListener] swallowing exception
                  javax.el.PropertyNotFoundException: Target Unreachable, identifier 'uiDirectoryAddContactMgr' resolved to null
                          at org.jboss.el.parser.AstValue.getTarget(AstValue.java:38)
                          at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
                          at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
                          at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:175)
                          at org.jboss.seam.navigation.Pages.callAction(Pages.java:704)
                          at org.jboss.seam.navigation.Pages.preRender(Pages.java:331)
                          at org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:560)
                          at org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:471)
                          at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:147)
                          at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:117)
                          at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
                          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
                          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
                          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                          at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
                          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.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
                          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                          at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                          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:182)
                          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                          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:662)
                  2010-12-28 15:15:28,287 WARN  [org.jboss.seam.Component] Cannot create Seam component, scope is not active: uiDirectoryAddContactMgr(CONVERSATION)
                  
                  
                  After rolling back to seam 2.2.1.CR2, it works well.
                  
                  It seems to be a regression...
                  
                  



                  • 7. Re: Seam 2.2.1.CR3 is out!
                    Marek Novotny Newbie

                    Bertrand,


                    If you look at reference documentation, there is only described type NESTED and not NEST, therefore you got


                    java.lang.IllegalArgumentException: No enum const class org.jboss.seam.core.PropagationType.NEST.


                    It worked before, but it was confusing and definitely bug - JBSEAM-4284, now it is checked against org.jboss.seam.core.PropagationType ENUM for allowed types.

                    • 8. Re: Seam 2.2.1.CR3 is out!
                      Bertrand Toussaint Newbie

                      Marek,


                      Thanks a lot for your quick response... We will update our code...


                      Long life to seam framework and best wishes (and roadmap) for the New Year.


                      Bertrand

                      • 9. Re: Seam 2.2.1.CR3 is out!
                        Bertrand Toussaint Newbie


                        Marek,
                        
                        We have done the update : "nest" has been replaced by "nested" in the whole xhtml views.
                        
                        It works well when the conversation propagation is done by using the tag <s:conversationPropagation type="nested" />
                        
                        It does not work if you use the attribute propagation="nested" on the <s:link> tag: the nested conversation is not created.
                        
                        If you remove the propagation attribute from <s:link> tag and insert <s:conversationPropagation type="nested" /> inside the tag, it works.
                        
                        The documentation still references "nest" value for <s:link> propagation attribute in the chapter 7.5. Using <s:link> and <s:button>
                        
                        http://docs.jboss.org/seam/2.2.1.CR3/reference/en-US/html/conversations.html
                        
                        If you use s:link with propagation="nest", you get the exception java.lang.IllegalArgumentException: No enum const class org.jboss.seam.core.PropagationType.NEST.
                        
                        So, the workaround is: do not use "propagation" attribute on s:link, use <s:conversationPropagation type="nested" /> instead.
                        
                        Bertrand
                        



                        • 10. Re: Seam 2.2.1.CR3 is out!
                          Marek Novotny Newbie

                          ok,


                          Bertrand thanks for discovering. Could you create JIRA issue for it? I will look on it more when I return back from holidays.


                          Cheers,

                          • 11. Re: Seam 2.2.1.CR3 is out!
                            Bertrand Toussaint Newbie

                            Marek,


                            a Jira issue has been created


                            JBSEAM-4755


                            Have a good rest.


                            Bertrand