Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1985

SessionBean ejbCreate invoked potentially twice

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Auto Closed
    • 1.7.4, 7.0.2
    • None
    • TomEE Core Server
    • None

    Description

      When an EJB 2.x style Stateless session bean implements the javax.ejb.SessionBean interface, the "ejbCreate" method is invoked twice if the method signature is public void ejbCreate()

      If the method signature is public void ejbCreateObject() or otherwise has a suffix as is allowed in the EJB spec, it is only invoked once as intended.

      Attachments

        Activity

          People

            dblevins David Blevins
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: