glassfish
  1. glassfish
  2. GLASSFISH-19270

<method-intf> with * for method-name in addition to style 1 for all methods causes all methods to use the method-intf tx attribute

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b60
    • Fix Version/s: 4.0_b63
    • Component/s: ejb_container
    • Labels:
      None

      Description

      This DD results in all methods having tx attribute NotSupported:

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

        Activity

        Hide
        marina vatkina added a comment -

        Fixed MethodDescriptor.equals method to make sure MDs with wild-card method-name do not compare equal if one has the method-intf element set and another doesn't

        Sending dol/src/main/java/com/sun/enterprise/deployment/MethodDescriptor.java
        Transmitting file data .
        Committed revision 56929.

        Show
        marina vatkina added a comment - Fixed MethodDescriptor.equals method to make sure MDs with wild-card method-name do not compare equal if one has the method-intf element set and another doesn't Sending dol/src/main/java/com/sun/enterprise/deployment/MethodDescriptor.java Transmitting file data . Committed revision 56929.

          People

          • Assignee:
            marina vatkina
            Reporter:
            marina vatkina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: