5 Replies Latest reply on Nov 7, 2005 4:14 AM by luketung

    Seam-booking on JSF 1.1 RI

    luketung

      Have any one tried running Seam-booking demo over JSF1.1 RI with success? I need to do so for using Exadel_Studio 3.0.4. Thanks.

        • 1. Re: Seam-booking on JSF 1.1 RI
          gavin.king

          I have not done it but it "should work". We don't use any MyFaces specific stuff.

          • 2. Re: Seam-booking on JSF 1.1 RI
            luketung

            Hi Gavin,

            Thanks for the prompt response.

            I am not sure whethere it's a JSF 1.0/1.1 issue or JSF/MyFaces issue. If I am not wrong, the MyFaces that comes with the demo is 1.0.9 and not 1.1 and beyond. Have you tried the demo or Seam with MyFaces 1.1 yet?

            At the moment I am getting

            09:09:57,358 INFO [Seam] done initializing Seam
            09:09:57,939 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
            09:09:58,330 INFO [FacesConfigurator] Reading config jar:file:/C:/jp/jboss/server/default/tmp/deploy/tmp11287seam-booking.ear-contents/facelets-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
            09:09:58,360 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
            09:09:58,720 ERROR [LocaleUtils] Locale name null or empty, ignoring
            09:09:59,682 INFO [StartupServletContextListener] ServletContext 'C:\jp\jboss\server\default\.\tmp\deploy\tmp11287seam-booking.ear-contents\facelets-exp.war\' initialized.
            09:10:00,613 ERROR [[/booking]] StandardWrapper.Throwable
            java.lang.NullPointerException
            at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
            at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
            at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)


            Will keep you posted if I get any further.

            Cheers.

            Luke

            • 3. Re: Seam-booking on JSF 1.1 RI
              marius.oancea

              I think the myfaces that commes is 1.1.0

              I also tried to upgrade to 1.1.1 without much success.

              • 4. Re: Seam-booking on JSF 1.1 RI
                gavin.king

                I don't see any Seam in the stack of that NPE. Why do you think the error is related to Seam?

                • 5. Re: Seam-booking on JSF 1.1 RI
                  luketung

                  I think it's an integration issue. What I am really not so sure is whether it is seen as an error in general. If someone else has done it then it must be me :)

                  By the way, I have decided to stop upgrade JSF/Facelets to the latest and just use Seam as it is---as Seam is way too cool. Thank you everyone for responding to this topic.

                  Cheers
                  Luke