Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-45

create() of a CMP bean doesn't create an instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • 2.0
    • 2.0
    • container system
    • None

    Description

      When a CMP declares parameterless create() method no instance is created. There's a testcase that shows the issue. It prevents PetStore 1.3.2 from running successfully onto Geronimo.

      To execute the testcase and see the issue do the following:

      1. Make sure you've got the recent OpenEJB sources
      2. Remove 'BUG_' from the method names of org.openejb.test.entity.cmp2.PetstoreTests

      + BUG_test01_create()
      + BUG_test02_setterAfterCreate()

      3. Go to modules/itests directory
      4. Run itests

      maven -Dmaven.itest.includes=**/Cmp2TestSuite.java

      5. Look at target/itest-reports/TEST-org.openejb.test.entity.cmp2.Cmp2TestSuite.txt

      See http://docs.openejb.org/Creating+itests for more information about OpenEJB itests module and how to create and run EJB tests

      Attachments

        Activity

          People

            Unassigned Unassigned
            jlaskowski Jacek Laskowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: