11 Replies Latest reply on Oct 10, 2007 1:18 PM by maxandersen

    Red Hat Developer Studio Hangs while creating a Seam Web Pro

    shankar.mandal

      Hi Guys,

      I am new to RHDS and trying to create a Seam Web Project.

      If I select the 'Java Persistance' facet, while creating a Seam Web project, the wizard hangs at a point infinitly and it shows "Installing Java Persistance facet..."

      I am using a HSQL database connection profile.

      Any one has any clues, please share it.

      Thanks
      SM

        • 1. Re: Red Hat Developer Studio Hangs while creating a Seam Web
          maxandersen

          hmm...if you don't select JPA everything works fine ?

          then do the web creation without JPA and afterwards go to preferences of the project and under facets add Dali.

          let me know how that goes ?

          • 2. Re: Red Hat Developer Studio Hangs while creating a Seam Web
            adamtarshis

            I had a similar problem when creating a new seam project. following your advice max, i created a seam project without jpa support and then added it afterwords. Seemed to work ok but then when i went to open the persistence.xml file i got a stack overflow and was asked to shutdown RHDS.

            I'll post errors in a few minutes if it helps.

            • 3. Re: Red Hat Developer Studio Hangs while creating a Seam Web
              adamtarshis

              I'm probably not the best person to be submitting bugs as i dont have a lot of experience with exclipse or seam. That said...

              When creating a seam project with JPA support the first error that comes up is an issue with the faces-config:

              Severity and Description Path Resource Location Creation Time Id
              error: Attribute phase-listener references to non-existent class org.jboss.seam.jsf.TransactionalSeamPhaseListener imfamishedTest/WebContent/WEB-INF faces-config.xml line 9 1191869090343 11


              However, the jboss-seam.jar is present in the WEB-INF/lib folder and does of course contain that file.

              • 4. Re: Red Hat Developer Studio Hangs while creating a Seam Web
                maxandersen

                that does not sound like being JPA dependent.

                have you tried to do a clean build?

                what if you don't enable JPA?

                • 5. Re: Red Hat Developer Studio Hangs while creating a Seam Web
                  gmarcus

                   

                  "adamtarshis" wrote:
                  I'm probably not the best person to be submitting bugs as i dont have a lot of experience with exclipse or seam. That said...

                  When creating a seam project with JPA support the first error that comes up is an issue with the faces-config:

                  Severity and Description Path Resource Location Creation Time Id
                  error: Attribute phase-listener references to non-existent class org.jboss.seam.jsf.TransactionalSeamPhaseListener imfamishedTest/WebContent/WEB-INF faces-config.xml line 9 1191869090343 11


                  However, the jboss-seam.jar is present in the WEB-INF/lib folder and does of course contain that file.


                  I am having the same problem with a fresh install of rhds Beta 2.

                  When I do a "project | Clean...", the error changes to line 21:
                  Attribute phase-listener references non-existent class org.jboss.seam.jsf.TransactionalSeamPhaseListener



                  • 6. Re: Red Hat Developer Studio Hangs while creating a Seam Web
                    maxandersen

                    I cannot reproduce this with the jbossas and seam that comes with RHDS.

                    Are you using something else ?

                    • 7. Re: Red Hat Developer Studio Hangs while creating a Seam Web
                      ybxiang.wolf

                      I met the same problem and reported it here too.
                      RHDS B2 has solved this problem.
                      Try it!

                      • 8. Re: Red Hat Developer Studio Hangs while creating a Seam Web
                        ybxiang.wolf

                         

                        "gmarcus" wrote:
                        "adamtarshis" wrote:
                        I'm probably not the best person to be submitting bugs as i dont have a lot of experience with exclipse or seam. That said...

                        When creating a seam project with JPA support the first error that comes up is an issue with the faces-config:

                        Severity and Description Path Resource Location Creation Time Id
                        error: Attribute phase-listener references to non-existent class org.jboss.seam.jsf.TransactionalSeamPhaseListener imfamishedTest/WebContent/WEB-INF faces-config.xml line 9 1191869090343 11


                        However, the jboss-seam.jar is present in the WEB-INF/lib folder and does of course contain that file.


                        I am having the same problem with a fresh install of rhds Beta 2.
                        ~~~~~~~~Are you sure you have the same problem with rhds beta2? Everything is ok for me!!! Why? I tried rhds beta2 just now!
                        ~~~~~~~~Are you sure you have the same problem with rhds beta2? Everything is ok for me!!! Why? I tried rhds beta2 just now!
                        ~~~~~~~~Are you sure you have the same problem with rhds beta2? Everything is ok for me!!! Why? I tried rhds beta2 just now!


                        When I do a "project | Clean...", the error changes to line 21:
                        Attribute phase-listener references non-existent class org.jboss.seam.jsf.TransactionalSeamPhaseListener



                        • 9. Re: Red Hat Developer Studio Hangs while creating a Seam Web
                          gmarcus

                           

                          "max.andersen@jboss.com" wrote:
                          I cannot reproduce this with the jbossas and seam that comes with RHDS.

                          Are you using something else ?


                          Hello Max.
                          I did a full uninstall of RHDS Beta 1 and did a clean install of RHDS Beta 2.
                          I am using the built-in seam and jboss as that comes with RHDS Beta 2.

                          Any ideas on how to track down the problem?



                          • 10. Re: Red Hat Developer Studio Hangs while creating a Seam Web
                            maxandersen

                            Yes and when you are using the wizards to create the project are you using the Seam that comes bundled or another version of seam ?

                            • 11. Re: Red Hat Developer Studio Hangs while creating a Seam Web
                              maxandersen

                              sorry ...you just said you used the built-in.

                              I really don't understand how you can get the error ;(