4 Replies Latest reply on Aug 4, 2006 10:59 AM by jim shirreffs

    Getting Started Seam

    jim shirreffs Newbie

      Hi, I've been using JBoss AS (ebj) for a while, now I am trying to investigate JSF, so I tried to follow the Seam getting started guide.

      Did a fresh install of everything

      I am getting the error
      08:42:13,550 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      org.jboss.seam.InstantiationException: Could not instantiate Seam component: register

      Caused by: javax.naming.NameNotFoundException: RegisterAction not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:267)

      Now this is a fresh install AS404 EJB clustered and I think I did everything correctly, does anyone have any ideas on why I am getting the about error. I can usually figure things out once I can get an example or two working. But I've got to be able to get one working!

      thanks in advance

      jim

        • 2. Re: Getting Started Seam
          jim shirreffs Newbie

          Yes, I think so, at first I tried on my backup server but that did not work so I wiped out the backup and did a fresh install, since Seam needs hibernate 3.3 and I use hibernate 3 in production.

          I suppose I can do another fresh install. might have a jar conflict somewhere since I tend to put jars in jre/lib/ext

          • 3. Re: Getting Started Seam
            jim shirreffs Newbie

            Move all the jars out of jre/lib/ext seems to help.

            Now I am getting

            09:30:34,003 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces
            .PRETTY_HTML' found, using default value true
            09:30:34,003 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces
            .ALLOW_JAVASCRIPT' found, using default value true
            09:30:34,003 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces
            .DETECT_JAVASCRIPT' found, using default value false
            09:30:34,003 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces
            .AUTO_SCROLL' found, using default value false
            09:30:46,456 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet
            threw exception
            javax.faces.el.EvaluationException: /register.xhtml @67,80 value="#{register.verify}": $Proxy117
            at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
            at javax.faces.component.UIOutput.getValue(UIOutput.java:75)
            at javax.faces.component.UIInput.validate(UIInput.java:273)
            at javax.faces.component.UIInput.processValidators(UIInput.java:144)
            at javax.faces.component.UIComponentBase.processValidators(UIComponentBa
            se.java:417)
            at javax.faces.component.UIForm.processValidators(UIForm.java:68)
            at javax.faces.component.UIComponentBase.processValidators(UIComponentBa
            se.java:417)
            at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:14
            2)

            • 4. Re: Getting Started Seam
              jim shirreffs Newbie

              Got it working, some have done something wrong in earlier installs.

              thanks