[JBoss JIRA] (JBTM-2307) StoreManager.getRecoveryStore() does not return the correct default
by Michael Musgrove (JIRA)
Michael Musgrove created JBTM-2307:
--------------------------------------
Summary: StoreManager.getRecoveryStore() does not return the correct default
Key: JBTM-2307
URL: https://issues.jboss.org/browse/JBTM-2307
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Recovery
Affects Versions: 5.0.3
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Fix For: 5.0.4
We used to treat requests to get a store with a null name as implicitly meaning get the default named store. But a recent change (JBTM-2203 Make default name null in order for quick lookup) meant that this is no longer the default behaviour. Now a request like the following {code}
BeanPopulator.getNamedInstance(ObjectStoreEnvironmentBean.class, null);{code} will return something other than the default named instance. This is causing a problem on wildfly where the call StoreManager.getRecoveryStore() does not return what was set in the transaction subsystem service initialisation.
The fix is to explicitly set the name, ie replace calls like
{code}BeanPopulator.getNamedInstance(ObjectStoreEnvironmentBean.class, null);{code} with {code}BeanPopulator.getNamedInstance(ObjectStoreEnvironmentBean.class, "default");{code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years
[JBoss JIRA] (JBTM-2304) Cannot compile TestModule.idl using IBM stub compiler (JDK8)
by Michael Musgrove (JIRA)
[ https://issues.jboss.org/browse/JBTM-2304?page=com.atlassian.jira.plugin.... ]
Michael Musgrove updated JBTM-2304:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Cannot compile TestModule.idl using IBM stub compiler (JDK8)
> ------------------------------------------------------------
>
> Key: JBTM-2304
> URL: https://issues.jboss.org/browse/JBTM-2304
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Build System, JTS
> Reporter: Tom Jenkinson
> Assignee: Michael Musgrove
>
> {quote}
> org.jboss.jbossts.qa.idl.compile.init:
> [idl-compiler] Parsing...
> [idl-compiler] Processing for ibmorb '/home/hudson/workspace/narayana-ibm-jdk/qa/dist/../../ArjunaJTS/idl/src/test/idl/TestModule.idl'
> BUILD FAILED
> /home/hudson/workspace/narayana-ibm-jdk/qa/build.xml:123: The following error occurred while executing this line:
> /home/hudson/workspace/narayana-ibm-jdk/qa/tests/build-jts.xml:229: Failed to compile '/home/hudson/workspace/narayana-ibm-jdk/qa/dist/../../ArjunaJTS/idl/src/test/idl/TestModule.idl' file
> Total time: 2 seconds
> qa build failed
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years
[JBoss JIRA] (JBTM-2303) Cannot create jacoco report
by Michael Musgrove (JIRA)
[ https://issues.jboss.org/browse/JBTM-2303?page=com.atlassian.jira.plugin.... ]
Michael Musgrove updated JBTM-2303:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Cannot create jacoco report
> ---------------------------
>
> Key: JBTM-2303
> URL: https://issues.jboss.org/browse/JBTM-2303
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Build System
> Reporter: Tom Jenkinson
> Assignee: Michael Musgrove
>
> {quote}
> [jacoco:coverage] Enhancing junit with coverage
> [junit] Running org.jboss.jbossts.qa.junit.testgroup.TestGroup_jdbcresources02_pgsql_jndi
> [junit] Tests run: 30, Failures: 0, Errors: 0, Time elapsed: 412.658 sec
> ci-tests:
> BUILD SUCCESSFUL
> Total time: 447 minutes 53 seconds
> generating test coverage report
> Buildfile: /home/hudson/workspace/narayana-codeCoverage/qa/run-tests.xml
> jacoco-report:
> [jacoco:report] Loading execution data file /home/hudson/workspace/narayana-codeCoverage/qa/testoutput/jacoco-qa.exec
> BUILD FAILED
> /home/hudson/workspace/narayana-codeCoverage/qa/run-tests.xml:544: Error while creating report
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years
[JBoss JIRA] (JBTM-2303) Cannot create jacoco report
by Michael Musgrove (JIRA)
[ https://issues.jboss.org/browse/JBTM-2303?page=com.atlassian.jira.plugin.... ]
Michael Musgrove commented on JBTM-2303:
----------------------------------------
The test that tests the perf regression checker fails because of a timing issue on jaime. The test runs a bit of work twice - on the second run it adds in a one millisecondsleep and that is usually enough for it to detect a perf regression. I have increased the sleep to 5 millis and that seems to pass on jaime (it consistently failed with only a 1ms sleep).
> Cannot create jacoco report
> ---------------------------
>
> Key: JBTM-2303
> URL: https://issues.jboss.org/browse/JBTM-2303
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Build System
> Reporter: Tom Jenkinson
> Assignee: Michael Musgrove
>
> {quote}
> [jacoco:coverage] Enhancing junit with coverage
> [junit] Running org.jboss.jbossts.qa.junit.testgroup.TestGroup_jdbcresources02_pgsql_jndi
> [junit] Tests run: 30, Failures: 0, Errors: 0, Time elapsed: 412.658 sec
> ci-tests:
> BUILD SUCCESSFUL
> Total time: 447 minutes 53 seconds
> generating test coverage report
> Buildfile: /home/hudson/workspace/narayana-codeCoverage/qa/run-tests.xml
> jacoco-report:
> [jacoco:report] Loading execution data file /home/hudson/workspace/narayana-codeCoverage/qa/testoutput/jacoco-qa.exec
> BUILD FAILED
> /home/hudson/workspace/narayana-codeCoverage/qa/run-tests.xml:544: Error while creating report
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years
[JBoss JIRA] (JBTM-2303) Cannot create jacoco report
by Michael Musgrove (JIRA)
[ https://issues.jboss.org/browse/JBTM-2303?page=com.atlassian.jira.plugin.... ]
Michael Musgrove updated JBTM-2303:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/jbosstm/narayana/pull/781
> Cannot create jacoco report
> ---------------------------
>
> Key: JBTM-2303
> URL: https://issues.jboss.org/browse/JBTM-2303
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Build System
> Reporter: Tom Jenkinson
> Assignee: Michael Musgrove
>
> {quote}
> [jacoco:coverage] Enhancing junit with coverage
> [junit] Running org.jboss.jbossts.qa.junit.testgroup.TestGroup_jdbcresources02_pgsql_jndi
> [junit] Tests run: 30, Failures: 0, Errors: 0, Time elapsed: 412.658 sec
> ci-tests:
> BUILD SUCCESSFUL
> Total time: 447 minutes 53 seconds
> generating test coverage report
> Buildfile: /home/hudson/workspace/narayana-codeCoverage/qa/run-tests.xml
> jacoco-report:
> [jacoco:report] Loading execution data file /home/hudson/workspace/narayana-codeCoverage/qa/testoutput/jacoco-qa.exec
> BUILD FAILED
> /home/hudson/workspace/narayana-codeCoverage/qa/run-tests.xml:544: Error while creating report
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years
[JBoss JIRA] (JBTM-2274) Create separate assumed complete type for heuristic transactions
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-2274?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris updated JBTM-2274:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Create separate assumed complete type for heuristic transactions
> ----------------------------------------------------------------
>
> Key: JBTM-2274
> URL: https://issues.jboss.org/browse/JBTM-2274
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: JTS
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 4.17.24, 5.0.4
>
>
> Currently all JTS transaction records are moved to assumed complete store after 3 recovery tries. This is not good if the transaction has a heuristic outcome. It leads to the heuristic participant being rolled back, because recovery coordinator cannot see the log record after the move.
> Creating separate locations for such heuristic transactions and checking their status during replay_completion would solve the problem.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years
[JBoss JIRA] (JBTM-2304) Cannot compile TestModule.idl using IBM stub compiler (JDK8)
by Michael Musgrove (JIRA)
[ https://issues.jboss.org/browse/JBTM-2304?page=com.atlassian.jira.plugin.... ]
Michael Musgrove updated JBTM-2304:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/jbosstm/narayana/pull/780
> Cannot compile TestModule.idl using IBM stub compiler (JDK8)
> ------------------------------------------------------------
>
> Key: JBTM-2304
> URL: https://issues.jboss.org/browse/JBTM-2304
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Build System, JTS
> Reporter: Tom Jenkinson
> Assignee: Michael Musgrove
>
> {quote}
> org.jboss.jbossts.qa.idl.compile.init:
> [idl-compiler] Parsing...
> [idl-compiler] Processing for ibmorb '/home/hudson/workspace/narayana-ibm-jdk/qa/dist/../../ArjunaJTS/idl/src/test/idl/TestModule.idl'
> BUILD FAILED
> /home/hudson/workspace/narayana-ibm-jdk/qa/build.xml:123: The following error occurred while executing this line:
> /home/hudson/workspace/narayana-ibm-jdk/qa/tests/build-jts.xml:229: Failed to compile '/home/hudson/workspace/narayana-ibm-jdk/qa/dist/../../ArjunaJTS/idl/src/test/idl/TestModule.idl' file
> Total time: 2 seconds
> qa build failed
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years
[JBoss JIRA] (JBTM-2304) Cannot compile TestModule.idl using IBM stub compiler (JDK8)
by Michael Musgrove (JIRA)
[ https://issues.jboss.org/browse/JBTM-2304?page=com.atlassian.jira.plugin.... ]
Michael Musgrove commented on JBTM-2304:
----------------------------------------
There is hardcoded path to ibmorbtools.jar in qa/tests/build-jts.xml (oops) so it should be easy to fix.
> Cannot compile TestModule.idl using IBM stub compiler (JDK8)
> ------------------------------------------------------------
>
> Key: JBTM-2304
> URL: https://issues.jboss.org/browse/JBTM-2304
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Build System, JTS
> Reporter: Tom Jenkinson
> Assignee: Michael Musgrove
>
> {quote}
> org.jboss.jbossts.qa.idl.compile.init:
> [idl-compiler] Parsing...
> [idl-compiler] Processing for ibmorb '/home/hudson/workspace/narayana-ibm-jdk/qa/dist/../../ArjunaJTS/idl/src/test/idl/TestModule.idl'
> BUILD FAILED
> /home/hudson/workspace/narayana-ibm-jdk/qa/build.xml:123: The following error occurred while executing this line:
> /home/hudson/workspace/narayana-ibm-jdk/qa/tests/build-jts.xml:229: Failed to compile '/home/hudson/workspace/narayana-ibm-jdk/qa/dist/../../ArjunaJTS/idl/src/test/idl/TestModule.idl' file
> Total time: 2 seconds
> qa build failed
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years