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

EJB container-transaction configuration need to include Timer method-intf

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • EAP 6.1.0.Alpha (7.2.0.Final)
    • EJB
    • None

    Description

      In the following ejb-jar.xml snippet,

              <container-transaction>
                  <method>
                      <ejb-name>TestBean</ejb-name>
                      <method-name>*</method-name>
                  </method>
                  <trans-attribute>Required</trans-attribute>
              </container-transaction>
              <container-transaction>
                  <method>
                      <ejb-name>TestBean</ejb-name>
                      <method-intf>Timer</method-intf>
                      <method-name>*</method-name>
                  </method>
                  <trans-attribute>NotSupported</trans-attribute>
              </container-transaction>
      

      Only timer methods have tx attr not supported, and all other methods have tx attr required.

      Currently with as-7, the second container-transaction overwrites the first one, resulting in all methods have tx attr not supported.

      Attachments

        Activity

          People

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: