Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5410

Invoking asynchronous method of Seam component from jBPM Action fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP 5.0.1, EAP_EWP 5.1.0
    • Fix Version/s: EAP_EWP 5.1.1
    • Component/s: Seam
    • Labels:
      None
    • Environment:

      EAP 5.0.1 + Seam 2.2.1.EAP

      1. In case of EAP 5.1.0 + Seam 2.2.2.EAP, this issue is reproducible, but in the environment, synchronous call also fails. It may be worth to raise another JIRA.
    • Steps to Reproduce:
      Hide

      See readme.txt in attached todo_async_seam.zip

      Show
      See readme.txt in attached todo_async_seam.zip
    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      An asynchronous invocation of JBPM which required transactional capabilities could cause the asynchronous action not to execute, if a transaction was not started. An exception was thrown and processing did not continue. This is fixed by checking whether transactions are required, and starting a new one if it is not already active, before initiating the asynchronous JBPM processing.
      Show
      An asynchronous invocation of JBPM which required transactional capabilities could cause the asynchronous action not to execute, if a transaction was not started. An exception was thrown and processing did not continue. This is fixed by checking whether transactions are required, and starting a new one if it is not already active, before initiating the asynchronous JBPM processing.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      Invoking asynchronous method of Seam component from jBPM Action fails

      In case that jBPM calls Action and the Action calls an asynchronous method(@Asynchronous) of a Seam component, the Action is executed but the asynchronous method is not executed.

      node-enter -[sync]> Action --[async]-> Seam component

      Attached the test case which is based on todo example. It contains readme.txt that explains steps to reproduce.
      This doesn't occur with community version Seam 2.2.0.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  manaRH Marek Novotny
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                  Writer:
                  Misty Stanley-Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: