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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.1.1
    • EAP 5.0.1, EAP_EWP 5.1.0
    • Seam
    • None
    • 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.
    • Hide

      See readme.txt in attached todo_async_seam.zip

      Show
      See readme.txt in attached todo_async_seam.zip
    • Release Notes
    • 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.
    • Documented as Resolved Issue

      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.

        1. jbpm-async-task-not executed.txt
          60 kB
          manaRH

            mnovotny@redhat.com Marek Novotny
            rhn-support-tkobayas Toshiya Kobayashi
            Misty Stanley-Jones Misty Stanley-Jones (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: