[JBoss JIRA] (JBTM-2216) Extraneous warning message observed in XARecoveryModule.xaRecoverySecondPass if the first pass has already failed
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2216?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2216.
-------------------------------
> Extraneous warning message observed in XARecoveryModule.xaRecoverySecondPass if the first pass has already failed
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JBTM-2216
> URL: https://issues.jboss.org/browse/JBTM-2216
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: JTA
> Affects Versions: 4.17.20, 4.17.21, 5.0.2
> Environment: JBoss EAP 6.3
> Reporter: Tom Ross
> Assignee: Tom Jenkinson
> Fix For: 4.17.23, 5.0.4
>
>
> When using AMQ failover protocol, the Narayana recovery process generates the following exception:
> {noformat}
> 10:19:36,053 INFO [org.apache.activemq.transport.failover.FailoverTransport] (ActiveMQ Task-1) Successfully connected to tcp://ragga:61616?trace=true
> 10:21:46,139 INFO [org.apache.activemq.transport.failover.FailoverTransport] (ActiveMQ Task-1) Successfully connected to tcp://ragga:61616?trace=true
> 10:21:46,139 WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016027: Local XARecoveryModule.xaRecovery got XA exception XAException.XAER_RMERR: javax.transaction.xa.XAException: Failover transport not connected: unconnected
> at org.apache.activemq.TransactionContext.recover(TransactionContext.java:656)
> at org.apache.activemq.ra.LocalAndXATransaction.recover(LocalAndXATransaction.java:135)
> at org.jboss.jca.core.tx.jbossts.XAResourceWrapperImpl.recover(XAResourceWrapperImpl.java:177)
> at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecoveryFirstPass(XARecoveryModule.java:548) [jbossjts-jacorb-4.17.21.Final-redhat-1.jar:4.17.21.Final-redhat-1]
> at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:187) [jbossjts-jacorb-4.17.21.Final-redhat-1.jar:4.17.21.Final-redhat-1]
> at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:743) [jbossjts-jacorb-4.17.21.Final-redhat-1.jar:4.17.21.Final-redhat-1]
> at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [jbossjts-jacorb-4.17.21.Final-redhat-1.jar:4.17.21.Final-redhat-1]
> 10:21:56,165 WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016008: Local XARecoveryModule.xaRecovery - caught exception: java.lang.NullPointerException
> at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecoverySecondPass(XARecoveryModule.java:619) [jbossjts-jacorb-4.17.21.Final-redhat-1.jar:4.17.21.Final-redhat-1]
> at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:431) [jbossjts-jacorb-4.17.21.Final-redhat-1.jar:4.17.21.Final-redhat-1]
> at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:212) [jbossjts-jacorb-4.17.21.Final-redhat-1.jar:4.17.21.Final-redhat-1]
> at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:789) [jbossjts-jacorb-4.17.21.Final-redhat-1.jar:4.17.21.Final-redhat-1]
> at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [jbossjts-jacorb-4.17.21.Final-redhat-1.jar:4.17.21.Final-redhat-1]
> {noformat}
> Although the first message may be expected if the resource manager throws an exception in XAResource::recover(), the second message does not add any further assistance in resolving the issue and should be removed as noise.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (JBTM-2256) Race condition between recovery manager initialization and expiry scanner
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2256?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2256.
-------------------------------
> Race condition between recovery manager initialization and expiry scanner
> -------------------------------------------------------------------------
>
> Key: JBTM-2256
> URL: https://issues.jboss.org/browse/JBTM-2256
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Transaction Core
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 4.17.23, 5.0.4
>
>
> In a constructor of RecoveryManagerImple expiry scanner is started before initiating PeriodicRecovery. This causes a problem from time to time, because during the initiation of PeriodicRecovery (more exact XARecoveryModule) ExtendedResourceRecord is added to the RecordTypeManager. It has to be there during the expiry scan execution. Since expiry scanner works in a separate thread it works most of the time, but race condition still exists. Personally I couldn't reproduce the problem.
> Swapping these two actions should solve the problem.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (JBTM-2246) TXBridge multi-hop quickstart fails
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2246?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2246.
-------------------------------
> TXBridge multi-hop quickstart fails
> -----------------------------------
>
> Key: JBTM-2246
> URL: https://issues.jboss.org/browse/JBTM-2246
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: TxBridge, XTS
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Priority: Blocker
> Fix For: 5.0.4
>
>
> http://172.17.131.2/view/Status/job/narayana-quickstarts/104/
> {code}
> [0m[31m07:09:30,301 ERROR [org.jboss.as.txn] (default task-9) WFLYTX0003: APPLICATION ERROR: transaction still active in request with status 0
> [0m[31m07:09:30,301 ERROR [org.jboss.as.txn] (default task-9) WFLYTX0001: Unable to roll back active transaction: com.arjuna.ats.jta.exceptions.InvalidTerminationStateException
> at com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.TransactionImple.rollbackAndDisassociate(TransactionImple.java:358) [narayana-jts-jacorb-5.0.4.Final-SNAPSHOT.jar:5.0.4.Final-SNAPSHOT (revision: 40a71)]
> at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:143) [narayana-jts-jacorb-5.0.4.Final-SNAPSHOT.jar:5.0.4.Final-SNAPSHOT (revision: 40a71)]
> at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:114)
> at org.jboss.as.txn.deployment.TransactionRollbackSetupAction.checkTransactionStatus(TransactionRollbackSetupAction.java:137)
> at org.jboss.as.txn.deployment.TransactionRollbackSetupAction.teardown(TransactionRollbackSetupAction.java:67)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction$1.tearDown(UndertowDeploymentInfoService.java:1470)
> at io.undertow.servlet.core.CompositeThreadSetupAction$1.tearDown(CompositeThreadSetupAction.java:52) [undertow-servlet-1.1.0.Beta6.jar:1.1.0.Beta6]
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:311) [undertow-servlet-1.1.0.Beta6.jar:1.1.0.Beta6]
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:246) [undertow-servlet-1.1.0.Beta6.jar:1.1.0.Beta6]
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:75) [undertow-servlet-1.1.0.Beta6.jar:1.1.0.Beta6]
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:165) [undertow-servlet-1.1.0.Beta6.jar:1.1.0.Beta6]
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Beta6.jar:1.1.0.Beta6]
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:737) [undertow-core-1.1.0.Beta6.jar:1.1.0.Beta6]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (JBTM-2292) Update Narayana release script
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2292?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2292.
-------------------------------
> Update Narayana release script
> ------------------------------
>
> Key: JBTM-2292
> URL: https://issues.jboss.org/browse/JBTM-2292
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: Release Process
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 5.0.4
>
>
> Following changes are needed for Narayana release script:
> * Documentation was completely changed by JBTM-2281, thus links have to be changed
> * New API bundle was introduced with JBTM-2286. It should be used instead of separate JTA, JTS, XTS, RTS archives
> * Upload download links to the new web page via github
> * Replace extracted versions of documentations on the web page
> * Update narayana release process doc
> * Update webpage update readme
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (JBTM-2311) Remove compiler warnings in CDI and STM related to: org.jboss.logging.annotations.MessageLogger
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2311?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2311.
-------------------------------
> Remove compiler warnings in CDI and STM related to: org.jboss.logging.annotations.MessageLogger
> -----------------------------------------------------------------------------------------------
>
> Key: JBTM-2311
> URL: https://issues.jboss.org/browse/JBTM-2311
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: Build System
> Reporter: Tom Jenkinson
> Assignee: Tom Jenkinson
> Fix For: 5.0.4
>
>
> {code}
> WARNING] Cannot find annotation method 'projectCode()' in type 'org.jboss.logging.annotations.MessageLogger': class file for org.jboss.logging.annotations.MessageLogger not found
> [WARNING] Cannot find annotation method 'id()' in type 'org.jboss.logging.annotations.Message': class file for org.jboss.logging.annotations.Message not found
> [WARNING] Cannot find annotation method 'value()' in type 'org.jboss.logging.annotations.Message'
> [WARNING] Cannot find annotation method 'format()' in type 'org.jboss.logging.annotations.Message'
> [WARNING] /c:/Users/tom/projects/jbosstm/narayana/ArjunaJTA/cdi/classes/com/arjuna/ats/jta/cdi/transactional/TransactionalInterceptorBase.java: unknown enum constant org.jboss.logging.annotations.Message.
> Format.MESSAGE_FORMAT
> reason: class file for org.jboss.logging.annotations.Message$Format not found
> [WARNING] Cannot find annotation method 'level()' in type 'org.jboss.logging.annotations.LogMessage': class file for org.jboss.logging.annotations.LogMessage not found
> [WARNING] /c:/Users/tom/projects/jbosstm/narayana/ArjunaJTA/cdi/classes/com/arjuna/ats/jta/cdi/transactional/TransactionalInterceptorBase.java: unknown enum constant org.jboss.logging.Logger.Level.WARN
> reason: class file for org.jboss.logging.Logger not found
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (JBTM-2260) BlackTie does not build on CentOS 7
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2260?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2260.
-------------------------------
> BlackTie does not build on CentOS 7
> -----------------------------------
>
> Key: JBTM-2260
> URL: https://issues.jboss.org/browse/JBTM-2260
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: BlackTie
> Reporter: Tom Jenkinson
> Assignee: Amos Feng
> Fix For: 5.0.4
>
>
> [hudson@sansa ~]$ uname -a
> Linux sansa.buildnet.ncl.jboss.com 3.10.0-123.6.3.el7.x86_64 #1 SMP Wed Aug 6 21:12:36 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> http://172.17.131.2/view/Narayana+BlackTie/job/narayana-jdbcobjectstore/D...
> {quote}
> test-compile:
> [mkdir] Created dir: /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/target/cpp-test-classes
> [copy] Copying 6 files to /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/target/cpp-test-classes
> [cc] 11 total files to be compiled.
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx: In member function ‘virtual void TestAtmiBrokerXml::tearDown()’:
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx:34:39: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> [cc] putenv("BLACKTIE_CONFIGURATION_DIR=.");
> [cc] ^
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx:35:34: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> [cc] putenv("BLACKTIE_CONFIGURATION=");
> [cc] ^
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx: In member function ‘void TestAtmiBrokerXml::test_env()’:
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx:41:45: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> [cc] putenv("BLACKTIE_CONFIGURATION_DIR=xmltest");
> [cc] ^
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx:42:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> [cc] putenv("BLACKTIE_CONFIGURATION=xmltest");
> [cc] ^
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx: In member function ‘void TestAtmiBrokerXml::test_define_adminservice()’:
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx:155:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> [cc] putenv("BLACKTIE_CONFIGURATION_DIR=wrongtest");
> [cc] ^
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx: In member function ‘void TestAtmiBrokerXml::test_same_service()’:
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx:167:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> [cc] putenv("BLACKTIE_CONFIGURATION_DIR=sametest");
> [cc] ^
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx: In member function ‘void TestAtmiBrokerXml::test_invalid_xml()’:
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx:179:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> [cc] putenv("BLACKTIE_CONFIGURATION_DIR=invalidtest");
> [cc] ^
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx: In member function ‘void TestAtmiBrokerXml::test_no_config()’:
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestAtmiBrokerXml.cxx:191:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> [cc] putenv("BLACKTIE_CONFIGURATION_DIR=noexisttest");
> [cc] ^
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestSymbolLoader.cxx: In member function ‘virtual void TestSymbolLoader::setUp()’:
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestSymbolLoader.cxx:35:39: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> [cc] putenv("BLACKTIE_CONFIGURATION=linux");
> [cc] ^
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestSymbolLoader.cxx: In member function ‘virtual void TestSymbolLoader::tearDown()’:
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestSymbolLoader.cxx:42:34: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
> [cc] putenv("BLACKTIE_CONFIGURATION=");
> [cc] ^
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestSynchronizableObject.cxx: In function ‘void* activateWaiter(apr_thread_t*, void*)’:
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestSynchronizableObject.cxx:31:9: warning: unused variable ‘ret’ [-Wunused-variable]
> [cc] int ret = waiter->svc();
> [cc] ^
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestSynchronizableObject.cxx: In member function ‘virtual void TestSynchronizableObject::setUp()’:
> [cc] /home/hudson/workspace/narayana-jdbcobjectstore/DB_TYPE/mysql/jdk/jdk7.latest/slave/linux/blacktie/core/src/test/cpp/TestSynchronizableObject.cxx:76:6: warning: unused variable ‘argc’ [-Wunused-variable]
> [cc] int argc = 0;
> [cc] ^
> [cc] Starting link
> [cc] /lib64/libaprutil-1.so.0: undefined reference to `apr_pool_pre_cleanup_register'
> [cc] collect2: error: ld returned 1 exit status
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (JBTM-2171) narayana-rebase doesn't work on mac
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2171?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2171.
-------------------------------
> narayana-rebase doesn't work on mac
> -----------------------------------
>
> Key: JBTM-2171
> URL: https://issues.jboss.org/browse/JBTM-2171
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Build System
> Reporter: Tom Jenkinson
> Assignee: Tom Jenkinson
> Fix For: 5.0.4
>
>
> ./scripts/hudson/narayana-rebase.sh:
> {quote}
> git log $ancestorMaster..$myRev | grep commit | wc | cut -c 1-7 | tr -d ' '
> git log $ancestor417..$myRev | grep commit | wc | cut -c 1-7 | tr -d ' '
> {quote}
> The files from wc are columns wide on Mac rather than 7 on Linux. You could put 1-8 and hope there weren't too many words but its dangerous. Probably an if-then-else required.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years