Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4100

EJB 2.1 entities are not deployed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.1.0.Final
    • EJB
    • None

      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.

            jaikiran Jaikiran Pai (Inactive)
            mrootman Michael Rootman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: