Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
7.1.0.Final
-
None
-
Compatibility/Configuration
Description
EJB 2.1 entities are not deployed on Jboss 7.1
1.Create jar file with 2.1 entities jar from integration examples:
https://github.com/jbossas/jboss-as/blob/master/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/entity/cmp/simple/SimpleCMPUnitTestCase.java
https://github.com/jbossas/jboss-as/tree/master/testsuite/integration/basic/src/test/resources/ejb/entity/cmp/simple
2.Pack jar into EAR file.
3.Deploy EAR in standalone mode and watch, that JBoss recognized packed jar file and confirms it deployment. No mentioning of recognized entities and binding them to JNDI names
4.Trying to lookup entities on module or application level throws NameNotFoundException
P.S Adding EJB 2.1 Session beans to jar shows, that session beans recognized, deployed and accesable for JNDI lookup.
Entity beans are not deployed.