[JBoss JIRA] (JBTM-3210) Recovery listener gets stuck with processing when unexpected exception happens
by Ondrej Chaloupka (Jira)
Ondrej Chaloupka created JBTM-3210:
--------------------------------------
Summary: Recovery listener gets stuck with processing when unexpected exception happens
Key: JBTM-3210
URL: https://issues.jboss.org/browse/JBTM-3210
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Recovery
Affects Versions: 5.9.8.Final
Reporter: Ondrej Chaloupka
Assignee: Ondrej Chaloupka
If the recovery is triggered with tx listener by socket call like {{SCAN}} and the recovery process itself finishes with an unexpected exception (e.g. {{IllegalStateException}}) then the listener is not informed about this happens to close and report back to user. This ends up with hanging connection and the stuck {{doRecovery}} call.
The stack trace of the {{ISE}} is like this
{code}
ERROR [stderr] (Periodic Recovery) Exception in thread "Periodic Recovery" java.lang.IllegalArgumentException
at com.arjuna.ats.internal.jta.transaction.arjunacore.jca.TransactionImporterImple.recoverTransaction(TransactionImporterImple.java:127)
at com.arjuna.ats.internal.jta.transaction.arjunacore.jca.TransactionImporterImple.recoverTransaction(TransactionImporterImple.java:52)
at com.arjuna.ats.internal.jta.recovery.arjunacore.SubordinateAtomicActionRecoveryModule.periodicWorkFirstPass(SubordinateAtomicActionRecoveryModule.java:74)
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:770)
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:382)
{code}
Stuck connection is like this
{code}
"Server.Connection:127.0.0.1:42768" #193 daemon prio=5 os_prio=0 tid=0x00007f9c20002000 nid=0x11ed8 in Object.wait() [0x00007f9dd08f8000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000d6f5ec08> (a com.arjuna.ats.internal.arjuna.recovery.WorkerService)
at java.lang.Object.wait(Object.java:502)
at com.arjuna.ats.internal.arjuna.recovery.WorkerService.doWork(WorkerService.java:101)
- locked <0x00000000d6f5ec08> (a com.arjuna.ats.internal.arjuna.recovery.WorkerService)
at com.arjuna.ats.internal.arjuna.recovery.Connection.run(Connection.java:88)
{code}
Tx listener waits forever as the connection is never flushed (https://github.com/jbosstm/narayana/blob/5.9.8.Final/txbridge/src/test/ja...)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (JBTM-3209) Reduce the JTA resource footprint when used with Quarkus
by Michael Musgrove (Jira)
Michael Musgrove created JBTM-3209:
--------------------------------------
Summary: Reduce the JTA resource footprint when used with Quarkus
Key: JBTM-3209
URL: https://issues.jboss.org/browse/JBTM-3209
Project: JBoss Transaction Manager
Issue Type: Enhancement
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Applications that consume the quarkus-narayana-jta extension incur a significant resource footprint because things like:
- Lots of reflection going on.
- TransactionManagerStatus is initialised during build (can't be reconfigured - moving it to "part runtime" needs some work)
- It's still logging that ports are being opened during native-image (this confuses people during presentations as we say that's impossible)
This list is not exhaustive and the task is to investigate where we can improve things
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (JBTM-3208) Include an LRA quickstart that includes an embedded coordinator
by Michael Musgrove (Jira)
Michael Musgrove created JBTM-3208:
--------------------------------------
Summary: Include an LRA quickstart that includes an embedded coordinator
Key: JBTM-3208
URL: https://issues.jboss.org/browse/JBTM-3208
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.9.8.Final
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Fix For: 5.9.8.Final
The LRA quickstarts all use an external coordinator for managing the lifecycle of an LRA. We should include a quickstart the demonstrates how to embed the coordinator with the service.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (JBTM-3203) Align XTS SSL quickstart to use the WFLY18 bom when released
by Ondrej Chaloupka (Jira)
[ https://issues.jboss.org/browse/JBTM-3203?page=com.atlassian.jira.plugin.... ]
Ondrej Chaloupka resolved JBTM-3203.
------------------------------------
Fix Version/s: 5.next
Resolution: Done
> Align XTS SSL quickstart to use the WFLY18 bom when released
> ------------------------------------------------------------
>
> Key: JBTM-3203
> URL: https://issues.jboss.org/browse/JBTM-3203
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Quickstarts
> Reporter: Ondrej Chaloupka
> Assignee: Ondrej Chaloupka
> Priority: Major
> Fix For: 5.next
>
>
> The XTS over SSL fails with dependency issue {{'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version]}}[1].
> The trouble is that the test runs with the most recent {{wildfly/quickstart}} repo and consumes the bom from WFLY17. There is not defined the {{jakarta}} dependencies yet. We need to wait for WFLY18 bom with {{jakarta}} dependencies is released and then the test setup has to be fixed.
> [1]
> {code}
> [ERROR] 'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version], /home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml, line 48, column 21
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:416)
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
> at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:253)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> [ERROR]
> [ERROR] The project org.wildfly.quickstarts:wsat-simple:18.0.0.Final-SNAPSHOT (/home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml) has 1 error
> [ERROR] 'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version], /home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml, line 48, column 21
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (JBTM-3203) Align XTS SSL quickstart to use the WFLY18 bom when released
by Ondrej Chaloupka (Jira)
[ https://issues.jboss.org/browse/JBTM-3203?page=com.atlassian.jira.plugin.... ]
Ondrej Chaloupka updated JBTM-3203:
-----------------------------------
Git Pull Request: https://github.com/jbosstm/quickstart/pull/259, https://github.com/jbosstm/quickstart/pull/260 (was: https://github.com/jbosstm/quickstart/pull/259)
> Align XTS SSL quickstart to use the WFLY18 bom when released
> ------------------------------------------------------------
>
> Key: JBTM-3203
> URL: https://issues.jboss.org/browse/JBTM-3203
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Quickstarts
> Reporter: Ondrej Chaloupka
> Assignee: Ondrej Chaloupka
> Priority: Major
> Fix For: 5.next
>
>
> The XTS over SSL fails with dependency issue {{'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version]}}[1].
> The trouble is that the test runs with the most recent {{wildfly/quickstart}} repo and consumes the bom from WFLY17. There is not defined the {{jakarta}} dependencies yet. We need to wait for WFLY18 bom with {{jakarta}} dependencies is released and then the test setup has to be fixed.
> [1]
> {code}
> [ERROR] 'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version], /home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml, line 48, column 21
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:416)
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
> at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:253)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> [ERROR]
> [ERROR] The project org.wildfly.quickstarts:wsat-simple:18.0.0.Final-SNAPSHOT (/home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml) has 1 error
> [ERROR] 'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version], /home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml, line 48, column 21
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (JBTM-3203) Align XTS SSL quickstart to use the WFLY18 bom when released
by Ondrej Chaloupka (Jira)
[ https://issues.jboss.org/browse/JBTM-3203?page=com.atlassian.jira.plugin.... ]
Ondrej Chaloupka reopened JBTM-3203:
------------------------------------
> Align XTS SSL quickstart to use the WFLY18 bom when released
> ------------------------------------------------------------
>
> Key: JBTM-3203
> URL: https://issues.jboss.org/browse/JBTM-3203
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Quickstarts
> Reporter: Ondrej Chaloupka
> Assignee: Ondrej Chaloupka
> Priority: Major
> Fix For: 5.next
>
>
> The XTS over SSL fails with dependency issue {{'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version]}}[1].
> The trouble is that the test runs with the most recent {{wildfly/quickstart}} repo and consumes the bom from WFLY17. There is not defined the {{jakarta}} dependencies yet. We need to wait for WFLY18 bom with {{jakarta}} dependencies is released and then the test setup has to be fixed.
> [1]
> {code}
> [ERROR] 'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version], /home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml, line 48, column 21
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:416)
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
> at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:253)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> [ERROR]
> [ERROR] The project org.wildfly.quickstarts:wsat-simple:18.0.0.Final-SNAPSHOT (/home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml) has 1 error
> [ERROR] 'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version], /home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml, line 48, column 21
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (JBTM-3203) Align XTS SSL quickstart to use the WFLY18 bom when released
by Ondrej Chaloupka (Jira)
[ https://issues.jboss.org/browse/JBTM-3203?page=com.atlassian.jira.plugin.... ]
Ondrej Chaloupka updated JBTM-3203:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Align XTS SSL quickstart to use the WFLY18 bom when released
> ------------------------------------------------------------
>
> Key: JBTM-3203
> URL: https://issues.jboss.org/browse/JBTM-3203
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Quickstarts
> Reporter: Ondrej Chaloupka
> Assignee: Ondrej Chaloupka
> Priority: Major
>
> The XTS over SSL fails with dependency issue {{'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version]}}[1].
> The trouble is that the test runs with the most recent {{wildfly/quickstart}} repo and consumes the bom from WFLY17. There is not defined the {{jakarta}} dependencies yet. We need to wait for WFLY18 bom with {{jakarta}} dependencies is released and then the test setup has to be fixed.
> [1]
> {code}
> [ERROR] 'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version], /home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml, line 48, column 21
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:416)
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
> at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:253)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> [ERROR]
> [ERROR] The project org.wildfly.quickstarts:wsat-simple:18.0.0.Final-SNAPSHOT (/home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml) has 1 error
> [ERROR] 'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version], /home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml, line 48, column 21
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (JBTM-3203) Align XTS SSL quickstart to use the WFLY18 bom when released
by Ondrej Chaloupka (Jira)
[ https://issues.jboss.org/browse/JBTM-3203?page=com.atlassian.jira.plugin.... ]
Issue was automatically transitioned when Ondrej Chaloupka created pull request #260 in GitHub
----------------------------------------------------------------------------------------------
Status: Pull Request Sent (was: Open)
> Align XTS SSL quickstart to use the WFLY18 bom when released
> ------------------------------------------------------------
>
> Key: JBTM-3203
> URL: https://issues.jboss.org/browse/JBTM-3203
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Quickstarts
> Reporter: Ondrej Chaloupka
> Assignee: Ondrej Chaloupka
> Priority: Major
>
> The XTS over SSL fails with dependency issue {{'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version]}}[1].
> The trouble is that the test runs with the most recent {{wildfly/quickstart}} repo and consumes the bom from WFLY17. There is not defined the {{jakarta}} dependencies yet. We need to wait for WFLY18 bom with {{jakarta}} dependencies is released and then the test setup has to be fixed.
> [1]
> {code}
> [ERROR] 'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version], /home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml, line 48, column 21
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:416)
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
> at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:253)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> [ERROR]
> [ERROR] The project org.wildfly.quickstarts:wsat-simple:18.0.0.Final-SNAPSHOT (/home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml) has 1 error
> [ERROR] 'dependencies.dependency.version' for jakarta.enterprise:jakarta.enterprise.cdi-api:jar is missing. @ org.wildfly.quickstarts:wsat-simple:[unknown-version], /home/jenkins/workspace/narayana-quickstarts/quickstart/wsat-simple/pom.xml, line 48, column 21
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months