[JBoss JIRA] (JBTM-3273) Avoid implementing InvocationHandler in jtaLogger
by Mayank Kunwar (Jira)
[ https://issues.redhat.com/browse/JBTM-3273?page=com.atlassian.jira.plugin... ]
Mayank Kunwar reassigned JBTM-3273:
-----------------------------------
Assignee: Mayank Kunwar (was: Ondrej Chaloupka)
> Avoid implementing InvocationHandler in jtaLogger
> -------------------------------------------------
>
> Key: JBTM-3273
> URL: https://issues.redhat.com/browse/JBTM-3273
> Project: JBoss Transaction Manager
> Issue Type: Enhancement
> Components: JTA
> Reporter: Sanne Grinovero
> Assignee: Mayank Kunwar
> Priority: Major
>
> Context: optimisations for Quarkus
> Class {{com.arjuna.ats.jta.logging.jtaLogger}} is implementing {{InvocationHandler}}, and this is causing some difficulties in optimising Narayana for GraalVM native images.
> One problem is that all classes which use the logger have access to the {{InvocationHandler}}, which makes the analysis phase of the compiler quite more complex; this gets confusing when there is a compilation failure as this gets occasionally reported as the root cause (even though it's just one of the paths leading to a non-real issue).
> A secondary problem is that this class is inizializing a rather expensive proxy; this is less important but it would be great for the sake of bootstrap optimisations to refactor the {{i18NLogger}} field to not be a proxy.
> See also https://github.com/quarkusio/quarkus/pull/5343 : with such invocation handlers being widely reachable, it's very hard to support its native compilation.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (JBTM-3182) Fix basic LRA tests
by Michael Musgrove (Jira)
[ https://issues.redhat.com/browse/JBTM-3182?page=com.atlassian.jira.plugin... ]
Michael Musgrove updated JBTM-3182:
-----------------------------------
Status: Pull Request Sent (was: Reopened)
Git Pull Request: https://github.com/jbosstm/narayana/pull/1490
> Fix basic LRA tests
> -------------------
>
> Key: JBTM-3182
> URL: https://issues.redhat.com/browse/JBTM-3182
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: LRA
> Affects Versions: 5.9.7.Final
> Reporter: Martin Stefanko
> Assignee: Martin Stefanko
> Priority: Blocker
> Fix For: 5.9.8.Final
>
>
> lra-test/basic is unable to run because of wrong CDI configuration after latest LRA upgrade:
> {code:java}
> ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-1) RESTEASY002025: Unknown exception while executing GET /root/participant/lra: java.lang.NullPointerException
> at io.narayana.lra.filter.ServerLRAFilter.filter(ServerLRAFilter.java:311)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (JBTM-3182) Fix basic LRA tests
by Michael Musgrove (Jira)
[ https://issues.redhat.com/browse/JBTM-3182?page=com.atlassian.jira.plugin... ]
Michael Musgrove updated JBTM-3182:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Fix basic LRA tests
> -------------------
>
> Key: JBTM-3182
> URL: https://issues.redhat.com/browse/JBTM-3182
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: LRA
> Affects Versions: 5.9.7.Final
> Reporter: Martin Stefanko
> Assignee: Martin Stefanko
> Priority: Blocker
> Fix For: 5.9.8.Final
>
>
> lra-test/basic is unable to run because of wrong CDI configuration after latest LRA upgrade:
> {code:java}
> ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-1) RESTEASY002025: Unknown exception while executing GET /root/participant/lra: java.lang.NullPointerException
> at io.narayana.lra.filter.ServerLRAFilter.filter(ServerLRAFilter.java:311)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years
[JBoss JIRA] (JBTM-3239) Failing AfterLRA participant calls are not repeated with recovery module
by Michael Musgrove (Jira)
[ https://issues.redhat.com/browse/JBTM-3239?page=com.atlassian.jira.plugin... ]
Michael Musgrove updated JBTM-3239:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Failing AfterLRA participant calls are not repeated with recovery module
> ------------------------------------------------------------------------
>
> Key: JBTM-3239
> URL: https://issues.redhat.com/browse/JBTM-3239
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: LRA
> Affects Versions: 5.10.1.Final
> Reporter: Martin Stefanko
> Assignee: Michael Musgrove
> Priority: Blocker
>
> The afterLRA calls are currently delivered only twice when the LRA is finished (twice because of JBTM-3163). When these two calls fail the afterLRA call is never repeated again. However, the specification states that afterLRA must be repeated until the 200 status code is returned.
> The main reason for this issue is the handling of afterLRA listeners in the Transaction object which means that the LRA enters the end phase (Closed/Cancelled) then the afterLRA listeners are called (twice because of above-mentioned issue) but if these calls fail there is nothing telling the transaction object to repeat the calls on the recovery.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years