3 Replies Latest reply on Jun 16, 2006 12:58 PM by Yuhong Wen

    EJB2 CMP not bound in "JBoss 4.0.4 GA + EJB3"

    Stephane Malbequi Newbie

      Hi,

      sorry for my english, first.

      I want to migrate to EJB3 a J2EE application (EJB 2.0 Session Stateless + Entity CMP) which works fine with "JBoss 4.0.4 GA".

      First, I try to deploy the app.ear file without any change in the JBoss 4.0.4 GA + EJB3 configuration

      And my problem is : even I see this line in server.log

      DEBUG [org.jboss.ejb3.Ejb3AnnotationHandler] found EJB3: ejbName=User, class=com.xxx.xxx.xxx.user.UserCMP, type=ENTITY

      I have the following exception when I try to use the deployed application

      javax.ejb.EJBException: javax.naming.NameNotFoundException: User not bound

      In the JBoss Management Console I only see EJB Session in the System -> JMX Mbeans - > jboss.j2ee

      PS : My application is developed with XDoclet, xml configuration files are fine and no warning appears in logs.

      Any idea ?

      Thanks in advance