]
Ondra Chaloupka commented on WFLY-10841:
----------------------------------------
there was created the upstream issue for artemis
(
) but the reason of the issue was wrong
suspicion. More investigation is necessary.
XA recovery warnings when server reloaded
-----------------------------------------
Key: WFLY-10841
URL:
https://issues.jboss.org/browse/WFLY-10841
Project: WildFly
Issue Type: Bug
Components: JMS, Transactions
Affects Versions: 13.0.0.Final
Reporter: Chao Wang
Assignee: Ondra Chaloupka
Priority: Major
Following warning messages are outputted when server reloaded.
{code}
15:33:52,740 WARN [org.apache.activemq.artemis.service.extensions.xa.recovery] (Periodic
Recovery) AMQ122015: Can not connect to XARecoveryConfig
[transportConfiguration=[TransportConfiguration(name=, factory=org-apache-activemq-artemi
s-core-remoting-impl-invm-InVMConnectorFactory) ?serverId=0],
discoveryConfiguration=null, username=null, password=****, JNDI_NAME=java:/JmsXA] on
auto-generated resource recovery: ActiveMQNotConnectedException[errorType=NOT_CONNECTED m
essage=AMQ119007: Cannot connect to server(s). Tried with all available servers.]
at
org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:787)
at
org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXAResourceWrapper.connect(ActiveMQXAResourceWrapper.java:311)
at
org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXAResourceWrapper.getDelegate(ActiveMQXAResourceWrapper.java:239)
at
org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXAResourceWrapper.recover(ActiveMQXAResourceWrapper.java:69)
at
org.apache.activemq.artemis.service.extensions.xa.ActiveMQXAResourceWrapperImpl.recover(ActiveMQXAResourceWrapperImpl.java:106)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecoverySecondPass(XARecoveryModule.java:791)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:482)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:233)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:150)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:140)
at
com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:765)
at
com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:377)
15:33:52,752 WARN [org.apache.activemq.artemis.service.extensions.xa.recovery] (Periodic
Recovery) AMQ122008: XA Recovery can not connect to any broker on recovery
[XARecoveryConfig [transportConfiguration=[TransportConfiguration(name=
, factory=org-apache-activemq-artemis-core-remoting-impl-invm-InVMConnectorFactory)
?serverId=0], discoveryConfiguration=null, username=null, password=****,
JNDI_NAME=java:/JmsXA]]
15:33:52,752 WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016027: Local
XARecoveryModule.xaRecovery got XA exception XAException.XAER_RMFAIL:
javax.transaction.xa.XAException: Error trying to connect to any providers for xa reco
very
at
org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXAResourceWrapper.getDelegate(ActiveMQXAResourceWrapper.java:258)
at
org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXAResourceWrapper.recover(ActiveMQXAResourceWrapper.java:69)
at
org.apache.activemq.artemis.service.extensions.xa.ActiveMQXAResourceWrapperImpl.recover(ActiveMQXAResourceWrapperImpl.java:106)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecoverySecondPass(XARecoveryModule.java:791)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:482)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:233)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:150)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:140)
at
com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:765)
at
com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:377)
Caused by: ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=null]
at
org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXAResourceWrapper.connect(ActiveMQXAResourceWrapper.java:345)
at
org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXAResourceWrapper.getDelegate(ActiveMQXAResourceWrapper.java:239)
... 9 more
{code}