Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2822

No Process-Application-Context Switch after cross-application EJB invocation

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0, 7.1.6, 7.2.0-alpha6
    • Component/s: engine
    • Labels:

      Description

      Scenario:

      • two applications are deployed:
      • pa.war
      • service.war

      1) Start a process instance of a process which invokes a bean from pa.war => engine orchestrates context switch to pa.war
      2) the bean looks up a Local EJB from service.war and invokes it => container performs context switch to service.war
      3) the invoked EJB starts another process
      4) this process invokes a Java Delegate implementation from pa.war

      ==> Problem: CNFException because the process engine does not perform the context switch back to the pa.war / does not detect that the container manipulated the thread context in steps 2-3

      Failing testcase:
      https://github.com/camunda/camunda-bpm-platform/commit/57756e004275c3739c265c17b96cba68290585c9

        Attachments

          Activity

            People

            Assignee:
            sebastian.menski Sebastian Menski
            Reporter:
            meyer Daniel Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: