4 Replies Latest reply on May 7, 2006 9:01 PM by Vallée Jacques

    Tomcat + JBoss Embeddable EJB3

    Attila Mravik Newbie

      I tried to use seam with EJB3 with a Tomcat 5.5 server as stated in seam documentation Chapter 3.3.
      I have:
      - EJB working on Tomcat (embedded-war example working properly)
      - MyFaces working with Tomcat (simple.war)

      I added the required line to seam.properties in the registration demo application and deployed the war. (added the ejb3 file to WEB-INF/lib)

      The file deploys normally and the application starts.

      After using the Register button on the register.jsf page I get the following error:

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

      root cause

      javax.faces.FacesException: Error calling action method of component with id _id0:_id5
      org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
      javax.faces.component.UICommand.broadcast(UICommand.java:106)
      javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
      javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
      org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271)
      org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)


      Could you make a simple example for this configuration? (I can not use JBoss AS right now because of limited resources.)

      thanks for help