11 Replies Latest reply on May 7, 2007 5:48 PM by pmuir

    seam and jboss as 4.2

    lschaffer

      Hello,
      Is the latest seam release compatible with jboss as 4.2 or is there a way to use seam with as 4.2?
      I have tried some examples but they did not work (it seems jboss 4.2 replaced myfaces to sun jsf 1.2)
      Thanks

        • 1. Re: seam and jboss as 4.2
          gavin.king

          It should be possible to make the examples work on 4.2, but if you can wait, Seam 1.3 will target AS 4.2.

          • 2. Re: seam and jboss as 4.2
            lschaffer

            Hello,
            Can you please give me some instruction about how can I do this
            thanks

            • 3. Re: seam and jboss as 4.2
              gavin.king

              The process is going to be similar to the process of making Seam run on JSF RI. No, I don't yet have a recipe, I have not yet done it myself.

              • 4. Re: seam and jboss as 4.2
                thejavafreak

                 

                "lschaffer" wrote:
                Hello,
                Can you please give me some instruction about how can I do this
                thanks

                - Add commons-collections 3.1
                - Add this line to web.xml
                <listener>
                 <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
                 </listener>


                • 5. Re: seam and jboss as 4.2
                  james_hays

                   

                  "gavin.king@jboss.com" wrote:
                  It should be possible to make the examples work on 4.2, but if you can wait, Seam 1.3 will target AS 4.2.


                  do we have a target date for seam 1.3? I've heard a May time frame, but can we get your estimate?

                  • 6. Re: seam and jboss as 4.2
                    james_hays

                    I've run into an issue when using Seam and JBoss 4.2. I've followed the examples found on the forums, especially Gavin's guide to getting the booking example to work.
                    http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94738

                    When using JBoss 4.2RC1, I'm not getting a java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester

                    In the JBoss AS 4.0.5 release, the digester class was found in the jbossweb-tomcat55.sar\jsf-libs directory. But, is not found anywhere in the 4.2 structure.

                    Here is the relavant stacktrace

                    java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
                    at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:131)
                    at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:216)
                    at org.ajax4jsf.framework.resource.ResourceBuilderImpl.<init>(ResourceBuilderImpl.java:120)
                    at org.ajax4jsf.framework.resource.InternetResourceBuilder.getInstance(InternetResourceBuilder.java:156)
                    at org.ajax4jsf.framework.renderer.RendererBase.getResourceBuilder(RendererBase.java:136)
                    at org.ajax4jsf.framework.renderer.RendererBase.getResource(RendererBase.java:131)
                    at org.ajax4jsf.renderkit.html.AjaxFormRenderer.<init>(AjaxFormRenderer.java:74)
                    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)


                    In fact, all the apache commons are gone. Is this a jar that needs to be included at the jboss level, or should I simply include it at the ear level?

                    • 7. Re: seam and jboss as 4.2
                      james_hays

                      As a quick fix, I added the needed commons jars to my ear. I now get all kinds of conversation ended notifications when using RichFaces' SuggestBox. It appears to send a request and recieve the response, but I'm redirected to the no-conversation view with the message that the conversation had ended when the popup normally renders.

                      Anybody running into this issue? Any suggestions?

                      • 8. Re: seam and jboss as 4.2
                        vladtwilight

                        Trying to run Seam 1.2.1GA with Jboss 4.2.RC2. I followed the instructions for porting Seam to SUN JSF RI 1.2. I added the commons jars. The myproject welcome page (http://localhost:8080/myproject/home.seam) appears but none of the JSF tags have been processed (in other words, view source reveals <f:facet tags> in the HTML). Anyone else getting this? I would love to stick with JBoss 4.0.5 but there is a nasty EJB3 memory leak. Would really like a way to get Seam working with 4.2...

                        • 9. Re: seam and jboss as 4.2
                          pmuir

                          Seam CVS runs on AS 4.2.0.CR2. This is your best bet for now (we'll have a Seam beta soon)

                          • 10. Re: seam and jboss as 4.2
                            vladtwilight

                            Ok, thanks for the quick response!

                            • 11. Re: seam and jboss as 4.2
                              pmuir

                              Oh, and look at the sticky thread just above this one ;)