[jbossts-issues] [JBoss JIRA] (JBTM-3237) LRA service singleton invoked twice singletons are created twice when the CDI observers subsystem is used

Michael Musgrove (Jira) issues at jboss.org
Tue Jul 21 07:29:00 EDT 2020


     [ https://issues.redhat.com/browse/JBTM-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Musgrove reassigned JBTM-3237:
--------------------------------------

    Assignee:     (was: Michael Musgrove)


> LRA service singleton invoked twice singletons are created twice when the CDI observers subsystem is used
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JBTM-3237
>                 URL: https://issues.redhat.com/browse/JBTM-3237
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: LRA
>            Reporter: Michael Musgrove
>            Priority: Major
>             Fix For: 5.next
>
>
> 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|https://quarkus.io/guides/lifecycle].



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jbossts-issues mailing list