1 Reply Latest reply on Jul 30, 2006 5:25 PM by lucasfmr

    Cannot find seam component <jndi problem>?

    lucasfmr

      part of jboss initialize log:
      ...
      15:03:53,203 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      15:03:53,296 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=jboss-seam-usuario.ear,jar=jboss-seam-usuario.jar,name=CrudUsuario,service=EJB3 with dependencies:
      15:03:53,296 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-usuario.ear,jar=jboss-seam-usuario.jar,unitName=userDatabase
      15:03:53,781 INFO [EJBContainer] STARTED EJB: negocio.usuario.CrudUsuario ejbName: CrudUsuario
      ...

      but when i thi the submit i´m getting the follow exceptions:

      Caused by: javax.naming.NameNotFoundException: CrudUsuario not bound;
      Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: CrudUsuario;
      Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{CrudUsuario.persistir};
      javax.faces.FacesException: Error calling action method of component with id _id0:_id6

      and the components.xml:



      false
      #{ejbName}/local



      tanx