Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5448

Enhance behavior of transaction propagation called over IIOP to not start 2PC when called ejb creates own new transaction

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Obsolete
    • Minor
    • None
    • 7.1.0.DR1
    • EJB, IIOP
    • None

    Description

      Based on discussion at jira JBEAP-5126 (https://issues.jboss.org/browse/JBEAP-5126?focusedCommentId=13271878#comment-13271878) there could be a good enhancement for transaction propagated over ejb called over iiop to not start 2PC process when the called ejb creates its own new transaction (TransactionAttributeType.REQUIRES_NEW).

      Quoting Tom's comment here

      Yeah, its expected to be this way for JTS as the context is propagated
      over. It could be possible to register an enhancement in the iiop
      subsystem to remove the context from the thread if the EJB does not
      require a propagated transaction.

      Attachments

        Issue Links

          Activity

            People

              tadamski@redhat.com Tomasz Adamski
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Ondrej Chaloupka Ondrej Chaloupka (Inactive)
              Ondrej Chaloupka Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: