[JBoss JIRA] (JBTM-2459) Add an option to allow JBTM-2443 to be enabled in 4.17
by Tom Jenkinson (JIRA)
Tom Jenkinson created JBTM-2459:
-----------------------------------
Summary: Add an option to allow JBTM-2443 to be enabled in 4.17
Key: JBTM-2459
URL: https://issues.jboss.org/browse/JBTM-2459
Project: JBoss Transaction Manager
Issue Type: Feature Request
Components: Configuration
Reporter: Tom Jenkinson
Assignee: Tom Jenkinson
Fix For: 4.17.29
JBTM-2443 should not be the default behavior in 4.x series but would be useful to allow it to be enabled to assist with migration to 5.x where it is the default and only option.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (JBTM-2433) TransactionRolledBackException in MultiCloseTest
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-2433?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris updated JBTM-2433:
----------------------------------
Description:
It looks like this failure has been caused by the race condition in WS-BA. In our tests it should be handled by the Byteman rule, but seems that for an unknown reason it has still failed in this occasion.
{code}
-------------------------------------------------------------------------------
Test set: com.arjuna.wstx.tests.arq.ba.MultiCloseTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.117 sec <<< FAILURE!
testMultiClose(com.arjuna.wstx.tests.arq.ba.MultiCloseTest) Time elapsed: 2.5 sec <<< ERROR!
com.arjuna.wst.TransactionRolledBackException: null
at com.arjuna.wst11.stub.BusinessActivityTerminatorStub.close(BusinessActivityTerminatorStub.java:95)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.close(UserBusinessActivityImple.java:157)
at com.arjuna.wstx.tests.arq.ba.MultiCloseTest.testMultiClose(MultiCloseTest.java:71)
{code}
was:
It looks like this failure has been caused by the race condition in WS-BA. In our tests it should be handled by the Byteman rule, but seems that for an unknown reason it has still failed in this occasion.
http://albany.eng.hst.ams2.redhat.com/view/Status/job/narayana/858/PROFIL...
{code}
-------------------------------------------------------------------------------
Test set: com.arjuna.wstx.tests.arq.ba.MultiCloseTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.117 sec <<< FAILURE!
testMultiClose(com.arjuna.wstx.tests.arq.ba.MultiCloseTest) Time elapsed: 2.5 sec <<< ERROR!
com.arjuna.wst.TransactionRolledBackException: null
at com.arjuna.wst11.stub.BusinessActivityTerminatorStub.close(BusinessActivityTerminatorStub.java:95)
at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.close(UserBusinessActivityImple.java:157)
at com.arjuna.wstx.tests.arq.ba.MultiCloseTest.testMultiClose(MultiCloseTest.java:71)
{code}
> TransactionRolledBackException in MultiCloseTest
> ------------------------------------------------
>
> Key: JBTM-2433
> URL: https://issues.jboss.org/browse/JBTM-2433
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: XTS
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 5.next
>
> Attachments: com.arjuna.wstx.tests.arq.ba.MultiCloseTest-output.txt
>
>
> It looks like this failure has been caused by the race condition in WS-BA. In our tests it should be handled by the Byteman rule, but seems that for an unknown reason it has still failed in this occasion.
> {code}
> -------------------------------------------------------------------------------
> Test set: com.arjuna.wstx.tests.arq.ba.MultiCloseTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.117 sec <<< FAILURE!
> testMultiClose(com.arjuna.wstx.tests.arq.ba.MultiCloseTest) Time elapsed: 2.5 sec <<< ERROR!
> com.arjuna.wst.TransactionRolledBackException: null
> at com.arjuna.wst11.stub.BusinessActivityTerminatorStub.close(BusinessActivityTerminatorStub.java:95)
> at com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple.close(UserBusinessActivityImple.java:157)
> at com.arjuna.wstx.tests.arq.ba.MultiCloseTest.testMultiClose(MultiCloseTest.java:71)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (JBTM-2454) Internal IBM J9 compiler error building XTS
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2454?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-2454:
--------------------------------
Priority: Minor (was: Major)
> Internal IBM J9 compiler error building XTS
> -------------------------------------------
>
> Key: JBTM-2454
> URL: https://issues.jboss.org/browse/JBTM-2454
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Build System
> Affects Versions: 5.2.0
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Priority: Minor
> Fix For: 5.next
>
>
> On lancel we get the following error. I am unable to reproduce it on my laptop.
> The compiler details are:
> {quote}
> java version "1.8.0"
> Java(TM) SE Runtime Environment (build pxa6480sr1-20150417_01(SR1))
> IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20150410_243669 (JIT enabled, AOT enabled)
> J9VM - R28_Java8_SR1_20150410_1531_B243669
> JIT - tr.r14.java_20150402_88976.03
> GC - R28_Java8_SR1_20150410_1531_B243669_CMPRSS
> J9CL - 20150410_243669)
> JCL - 20150413_01 based on Oracle jdk8u45-b13
> {quote}
> and the build error is:
> {quote}
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ localjunit-disabled-context-propagation-tests ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 12 source files to /home/hudson/workspace/narayana-ibm-jdk/XTS/localjunit/disabled-context-propagation/target/test-classes
> An exception has occurred in the compiler (1.8.0-internal). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
> java.lang.NullPointerException
> at javax.lang.model.util.ElementScanner6.scan(ElementScanner6.java:142)
> at javax.lang.model.util.ElementScanner6.visitType(ElementScanner6.java:189)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment$ComputeAnnotationSet.visitType(JavacProcessingEnvironment.java:777)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment$ComputeAnnotationSet.visitType(JavacProcessingEnvironment.java:758)
> at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1162)
> at javax.lang.model.util.ElementScanner6.scan(ElementScanner6.java:157)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment$ComputeAnnotationSet.scan(JavacProcessingEnvironment.java:798)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.findAnnotationsPresent(JavacProcessingEnvironment.java:993)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.<init>(JavacProcessingEnvironment.java:891)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1182)
> at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1182)
> at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:868)
> at com.sun.tools.javac.main.Main.compile(Main.java:535)
> at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:141)
> at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:150)
> at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
> at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)
> at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785)
> at org.apache.maven.plugin.compiler.TestCompilerMojo.execute(TestCompilerMojo.java:152)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
> at java.lang.reflect.Method.invoke(Method.java:507)
> 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)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (JBTM-2426) XTS WSTFSC07-interop failure
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-2426?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris updated JBTM-2426:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/jbosstm/narayana/pull/886
> XTS WSTFSC07-interop failure
> ----------------------------
>
> Key: JBTM-2426
> URL: https://issues.jboss.org/browse/JBTM-2426
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: XTS
> Affects Versions: 5.1.1
> Reporter: Michael Musgrove
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 5.next
>
> Attachments: com.jboss.transaction.wstf.interop.Sc007Test-output.txt
>
>
> junit test failure:
> {code}
> Running com.jboss.transaction.wstf.interop.Sc007Test
> Tests run: 15, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 326.369 sec <<< FAILURE!
> test3_10(com.jboss.transaction.wstf.interop.Sc007Test) Time elapsed: 212.002 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Conversation did not complete successfully
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.TestCase.assertTrue(TestCase.java:192)
> at com.jboss.transaction.wstf.interop.Sc007TestCase.test3_10(Sc007TestCase.java:474)
> at com.jboss.transaction.wstf.interop.Sc007Test.test3_10(Sc007Test.java:176)
> test3_11(com.jboss.transaction.wstf.interop.Sc007Test) Time elapsed: 1.608 sec <<< ERROR!
> com.arjuna.wst.TransactionRolledBackException: null
> at com.arjuna.wst11.stub.CompletionStub.commit(CompletionStub.java:65)
> at com.jboss.transaction.wstf.interop.Sc007TestCase.test3_11(Sc007TestCase.java:495)
> at com.jboss.transaction.wstf.interop.Sc007Test.test3_11(Sc007Test.java:181)
> Results :
> Failed tests:
> Sc007Test.test3_10:176 Conversation did not complete successfully
> Tests in error:
> Sc007Test.test3_11:181 » TransactionRolledBack
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (JBTM-2426) XTS WSTFSC07-interop failure
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-2426?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris commented on JBTM-2426:
---------------------------------------
As stated by the comment in the code [1] timerTask field may be set to null by another thread. However, a bit later in the method we do not check for null, only if the value differs [2]. Same thing applies for sendCommit method.
[1] https://github.com/jbosstm/narayana/blob/master/XTS/WS-T/dev/src/com/arju...
[2] https://github.com/jbosstm/narayana/blob/master/XTS/WS-T/dev/src/com/arju...
> XTS WSTFSC07-interop failure
> ----------------------------
>
> Key: JBTM-2426
> URL: https://issues.jboss.org/browse/JBTM-2426
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: XTS
> Affects Versions: 5.1.1
> Reporter: Michael Musgrove
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 5.next
>
> Attachments: com.jboss.transaction.wstf.interop.Sc007Test-output.txt
>
>
> junit test failure:
> {code}
> Running com.jboss.transaction.wstf.interop.Sc007Test
> Tests run: 15, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 326.369 sec <<< FAILURE!
> test3_10(com.jboss.transaction.wstf.interop.Sc007Test) Time elapsed: 212.002 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Conversation did not complete successfully
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.TestCase.assertTrue(TestCase.java:192)
> at com.jboss.transaction.wstf.interop.Sc007TestCase.test3_10(Sc007TestCase.java:474)
> at com.jboss.transaction.wstf.interop.Sc007Test.test3_10(Sc007Test.java:176)
> test3_11(com.jboss.transaction.wstf.interop.Sc007Test) Time elapsed: 1.608 sec <<< ERROR!
> com.arjuna.wst.TransactionRolledBackException: null
> at com.arjuna.wst11.stub.CompletionStub.commit(CompletionStub.java:65)
> at com.jboss.transaction.wstf.interop.Sc007TestCase.test3_11(Sc007TestCase.java:495)
> at com.jboss.transaction.wstf.interop.Sc007Test.test3_11(Sc007Test.java:181)
> Results :
> Failed tests:
> Sc007Test.test3_10:176 Conversation did not complete successfully
> Tests in error:
> Sc007Test.test3_11:181 » TransactionRolledBack
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months