Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3237

LRA service singleton invoked twice singletons are created twice when the CDI observers subsystem is used

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • LRA
    • None

    Description

      When the LRA coordinator is ran with Quarkus the LRAService ApplicationScoped bean initialise event is triggered twice. I noticed this problem when running with Quarkus (https://github.com/quarkusio/quarkus/issues/2673) but the resolution of that issue was that CDI is under-specified in this area. The fix for our needs is to observe the bean being destructed using the Quarkus ShutdownEvent.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: