Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4287

Support GlobalSchedulerService to run in container manager transaction environment (e.g. ejb timer)

    XMLWordPrintable

Details

    Description

      Running inside CMT, GlobalJpaTimerJobInstance assumes transaction managment at command service level, disposing the runtime engine before transaction completion. Due to ContainerManagedTransactionManger the session is registered to be disposed after transaction ends. This raises an exception because the session was previously disposed.

      After discussion in user forums Maciej proposes a solution extending GlobalSchedulerService to decide if the transaction is managed by SchedulerService or not.

      Discussion here: GlobalTimerService and DisposableCommandService running in CMT

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              aartigao Alan Artigao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: