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

NPE in class AnnotationDeployer during deployment of annotated beans

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.7.0
    • ejb3 simplified
    • None
    • All

    Description

      When you try to deploy an annotated stateless session bean shown below, a NPE is thrown.
      The ejb3 core spec says in section 13.3.6
      By default, a session bean or message-driven bean has container managed transaction demarcation if the
      transaction management type is not specified.
      This means that even if we do not specify the annotation or deployment descriptor element for TransactionManagement then it should default to container managed transaction management

      Attachments

        1. AnnotationDeployer.patch
          1 kB
          Manu T George

        Activity

          People

            manucet Manu T George
            manucet Manu T George
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: