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

transaction policy interceptors must not enlist caller's connections

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.2
    • container system
    • None

    Description

      Instance interceptors are all after the tx interceptors. As a result, when a tx interceptor starts a new tx, ConnectionTrackingCoordinator.newTransaction is called and attempt to enroll any connection handles the CALLER has open in the new transaction. These handles are not going to be available to the called ejb so this is certainly wrong.

      I think we can install a blank ConnectorInstanceContext in the CTC while the tx interceptors are traversed. The alternative would be to find some way to distinguish between container and bean managed transactions inside the tx manager.

      Attachments

        Activity

          People

            djencks David Jencks
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: