1 Reply Latest reply on Sep 12, 2006 1:30 PM by Yasen Toshev

    SEAM with JSF (Action not called)

    Vijendra Babar Newbie

      Hello Friends,

      I am using JBoss 4.0.4 GA with JDK 1.5

      I have created on sample application of SEAM using JSF.
      This application contains 2 text box with one command button.
      On action of this button I have called on method (Listener).

      The page gets loaded but on clicking the command button following error is prompted:

      javax.servlet.ServletException: Error calling action method of component with id _id0:_id6 javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)

      root cause

      javax.faces.FacesException: Error calling action method of component with id _id0:_id6

      Validation of text box are running well but its not able to call listener.
      Can any one sort out it please.

      Thanks in advance.

        • 1. Re: SEAM with JSF (Action not called)
          Yasen Toshev Newbie

          Hi, Vijendra Babar,

          I guess that the problem comes from the version of the JBoss AS that you are using. The JEMS installer for JBoss AS 4.0.4 is required for using Seam (instead of the normal jboss-4.0.4.GA-Patch1-installer.jar).

          You can read it in the getting started document:
          ( http://labs.jboss.com/portal/jbossseam/gettingstarted/index.html )

          "Download the JEMS installer for JBoss AS 4.0.4 and install it with the EJB 3.0 profile selected. Note: do not install any other version of JBoss, and do not try to install JBoss using the normal JBoss AS installer - Seam requires EJB 3.0 RC8 which is only currently available in the special JEMS Installer!"

          I had the same problem and the JEMS installer worked for me. I hope that this information will help you.

          Best regards,
          Yasen Toshev