0 Replies Latest reply on Jan 19, 2004 12:40 AM by mikeguan

    "error: no such Entity!"  WHY?

    mikeguan Newbie

      My Env: jboss-3.0.4_tomcat-4.1.12, jdk1.3, Jbuilder9
      When I run a servlet, which invokes a SessionBean and this sessionBean invokes a EntityBean , A error described in the topic occurs . What makes this happen?
      In the process of build this project in Jbuilder9, it said "'JBossDemoModule.ejbgrpx': No JNDI-Name is specified for EJB-Reference: ejb/Employees". Employees is a EntityBean name. if I add <jndi-name>ejb/Employees</jndi-name> to match <ejb-ref-name>ejb/Employees</ejb-ref-name>in jboss.xml and build it, the element <jndi-name>ejb/Employees</jndi-name> will be erased automatically. Why?

      Thanks a lot!