5 Replies Latest reply on Aug 5, 2012 7:09 PM by mcloud

    Seam 2.3 examples

    mcloud

      I'm trying to test out seam 2.3 beta and am running into issues trying the dvdstore and booking demos. I'm supposed to use the examples or examples-ee6 with jboss 7.1? Anyway, everytime i try to deploy the booking demo using the instructions from the readme it complains about a missing booking-ejb.ejb (notice the misleading file extension). Trying the same with the dvd store demo, it complains about a missing server folder in jboss 7.1. I dont think it is supposed to be there, is maven deploy supported for jboss 7.1 at all?

        • 1. Re: Seam 2.3 examples
          mcloud

          If anyone encounters this, you need to build the examples using the top-level pom.xml from the examples-ee6 folder at least once. And watchout for the readme.txt in each demo, the new jboss deploy plugin need to be called as jboss-as:deploy, other version are the old one and don't support jboss 7 at all

          • 2. Re: Seam 2.3 examples
            manarh

            Hey Solerman,

             

            you don't need to build top-level examples project. if you have unzipped the whole seam distribution zip, Maven just acts as it looks on filesystem for examples-ee6 parent. The second is true you need to look at specific example readme.txt for instructions even generall steps are:

            1. mvn clean install

            2. cd example-ear ( or example-war in case example is only war application)

            3. mvn jboss-as:deploy

            • 3. Re: Seam 2.3 examples
              mcloud

              Try that on a new machine and it will complains it doesn't find the top examples pom.xml. I think something is wrong regarding the module path, I dont have the source here to check, can be a wrong relative path or a completely missing one (like plain maven dependency). I'm also seeing conversation erros trying the settings or new hotel booking, is that expected in the current beta?

              • 4. Re: Seam 2.3 examples
                manarh

                Solerman Kaplon wrote:

                 

                Try that on a new machine and it will complains it doesn't find the top examples pom.xml. I think something is wrong regarding the module path, I dont have the source here to check, can be a wrong relative path or a completely missing one (like plain maven dependency). I'm also seeing conversation erros trying the settings or new hotel booking, is that expected in the current beta?

                The only issue could be that you don't have that parent pom.xml one level up.

                 

                Wrt conversation errors, I am not aware any issues with booking example in 2.3.0.Beta2 or in current sources. Could you try the latest checkout from SVN too?

                1 of 1 people found this helpful
                • 5. Re: Seam 2.3 examples
                  mcloud

                  With the svn version it seems to work ok AFAIL, tks for the help