Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2238

@TransactionAttribute(TransactionAttributeType.BEAN) Does not work in SLSB

    Details

    • Steps to Reproduce:
      Hide

      Create an SLSB with a single method that force a transaction timeout.
      Put the @TransactionAttribute(TransactionAttributeType.BEAN) annotation in class scope.
      Use restful to call that method.

      You will see a transaction timeout exception referencing CMT management. This is incorrect because CMT should not be used in this case

      Show
      Create an SLSB with a single method that force a transaction timeout. Put the @TransactionAttribute(TransactionAttributeType.BEAN) annotation in class scope. Use restful to call that method. You will see a transaction timeout exception referencing CMT management. This is incorrect because CMT should not be used in this case
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      As a workaround, for now, try setting (in addition to the BEAN tx management type, that you already have):

      @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)

      Show
      As a workaround, for now, try setting (in addition to the BEAN tx management type, that you already have): @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
    • Component Fix Version(s):
      tx2:0.0.2

      Gliffy Diagrams

        Attachments

          Activity

            People

            • Assignee:
              jaikiran jaikiran pai
              Reporter:
              fidox Israel E. Bethencourt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: