3 Replies Latest reply on Oct 5, 2006 3:13 PM by F B

    Entity beans not autodeployed : javax.ejb.EJBException: java

    F B Newbie

      "all of a sudden" EJB3 CMP entity beans are failing with:

      "javax.ejb.EJBException: java.lang.IllegalArgumentException: Unknown entity: __" when I call em.persist(MyCMPBean) from the session bean. Don't think it matters but... the Session Bean is a Stateless EJB as a webservice. All beans are done with annotations.

      persistence.xml is in the jarfile contained in the ear file and referenced by application.xml as a module. The classes are not explicitly listed however the PU does define "<exclude-unlisted-classes>false</exclude-unlisted-classes>"

      This worked fine until recently and I don't think anything changed (of course something obviously did and I cannot find it)