[jboss-jira] [JBoss JIRA] (AS7-4100) EJB 2.1 entities are not deployed

Michael Rootman (JIRA) jira-events at lists.jboss.org
Thu Mar 8 08:13:36 EST 2012


Michael Rootman created AS7-4100:
------------------------------------

             Summary: EJB 2.1 entities are not deployed
                 Key: AS7-4100
                 URL: https://issues.jboss.org/browse/AS7-4100
             Project: Application Server 7
          Issue Type: Bug
          Components: EJB
    Affects Versions: 7.1.0.Final
         Environment: Jboss 7.1 Final, Windows 7, JDK 7
            Reporter: Michael Rootman
            Assignee: jaikiran pai


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.







--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list