4 Replies Latest reply on Nov 3, 2009 9:42 AM by kanwar sangha

    Sorry, but did you test Seam on Glassfish?

    alberto Gori Novice

      I tried Seam 2.2.0 on Glassfish 2. No chance to make it work. Example (jee5/booking) doesn't work
      (java.lang.ClassNotFoundException: org.hibernate.MappingException)
      , still worse is a seam-gen project for GF.


      Some of you loves to say that Seam is super easy to setup...but nothing is super easy here for Glassfish.
      Are you really testing Seam before a release in Application Server that are not JBoss?

        • 1. Re: Sorry, but did you test Seam on Glassfish?
          Johnny Ren Newbie

          We use Seam 2.1.1.GA on Glassfish 2.1.  No problem at all. I have not tested Seam 2.2.0 on Glassfish. Check out iovector.com

          • 2. Re: Sorry, but did you test Seam on Glassfish?
            Dmitry Shultz Newbie

            We use Seam 2.2.0 on Glasfish (war deployments).
            After we get the correct set of jars it works(immigrationprocess.ca), except of problem with the logging (i can't manage to have control of all the different logging packages... probably didn't spend enough time with it).

            • 3. Re: Sorry, but did you test Seam on Glassfish?
              I need a real name Newbie

              Alberto;


              I totally agree with you.


              Seamgen and Glassfish do not work Out of the Box as advertised.


              My experience with SeamGen and Glassfish is if you like a heaping helping of PAIN then go for it. It's just not ready for prime-time.


              It make you wonder if the folks at JBoss really want Seam/SeamGen working with a competing product like GlassFish? If you look at the evidence on these board and elsewhere I say they do not. And then there is the question of compliance with agreed upon standards. Glassfish is the JEE Reference Implimentation application server and yet.


              In all of the documentation, examples and more there is not one clearly illustrated step-by-step instruction of making a SeamGenned project work Glassfish V2.1 and then deploying and then running it.


              If you generate a WAR project and try to deploy to GFv2.1 it fails.


              If you generate a EAR project and do all of the post modifications according to the Read-Me file and try to deploy to GFv2.1 it fails.


              Seamgen simply does not work as advertised.


              Even the Seam Booking example does not work as advertised. Deploying it to GFv2.1 fails.


              What does work is the JPA example, but this is not a SeamGenned project. I am thinking of using this example and comparing it to the SeamGenned project to see what is different but the project structures are different!


              It is also not clear which versions are supposed to work. Is is Seam 2.1.2, 2.2.0 with GFv2.1


              Also are there pre-conditions before running SeamGen like log4j and other requirements?


              I also think the examples should use MySQl (Oracle, etc) and not Derby as this would be more likely to be in a production environment, not to mention it would make the Seam people to fully test it before claiming it works.


              Maybe I do not have all the facts but I have read Seam - Contextual Components chapters 41 and MORE ( a lot more!!!) and even these instruction are out of sync with the read-me.txt generated by SeamGen!


              Be warned, This is a nightmare...

              • 4. Re: Sorry, but did you test Seam on Glassfish?
                kanwar sangha Newbie

                We have been using seam , glassfish , mysql for 2 years now and there was absolutely no pain.We use seam-gen in more than 95% of the code and it works very nicely.