We have analyzed that JBOSS MASTER has some issues and tried to login to Console. Below is the error I am receiving in the logs of JBOSS MASTER -
[Server:server-two] at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:789) [jbossjts-4.16.2.Final.jar:]
[Server:server-two] at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [jbossjts-4.16.2.Final.jar:]
[Server:server-two] Caused by: java.lang.IllegalStateException: Cannot create session factory, server locator is closed (maybe it has been garbage collected)
[Server:server-two] at org.hornetq.core.client.impl.ServerLocatorImpl.assertOpen(ServerLocatorImpl.java:1823) [hornetq-core-2.2.13.Final.jar:]
[Server:server-two] at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:699) [hornetq-core-2.2.13.Final.jar:]
[Server:server-two] at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.connect(HornetQXAResourceWrapper.java:321) [hornetq-jms-2.2.13.Final.jar:]
[Server:server-two] at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.getDelegate(HornetQXAResourceWrapper.java:251) [hornetq-jms-2.2.13.Final.jar:]
[Server:server-two] ... 7 more
Also, due to heavy load of user request, JBOSS Master console was not working until all requests are served. We are expecting a suggestion to overcome this shortcoming -
1. Deployments of archives should be done only on SLAVES and not on MASTER (domain controller).
As per Brian and Tomaz of JBOSS, I shouldn't configure any <server> tag under parent <servers> tag.
But my main concern is whether putting this <server> tag only in SLAVE JBOSS hosts.xml will be enough to replicate the archives deployed from console?
2. Server group should be independantly created in SLAVES.
Can this be possible? Since domain.xml of master JBOSS is being used in all the SLAVES and server groups are created in domain.xml. Is there any possibility of doing this?
3. Periodic recovery error in Master JBOSS shouldn't occur -
(Periodic Recovery) ARJUNA016027: Local XARecoveryModule.xaRecovery got XA exception XAException.XAER_RMERR: javax.transaction.xa.XAException: Error trying to connect to any providers for xa recovery
This is the utmost concern. What does this exceptions mean? What are the implications, this exceptions has almost filled half of our logs. Please suggest how to remove this exception.
It is always coming for "server-two" even though we have not deployed any archives on this server since it is a part of main-server-group.
[Server:server-two] 08:19:22,562 WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016027: Local XARecoveryModule.xaRecovery got XA exception XAException.XAER_RMERR: javax.transaction.xa.XAException: Error trying to connect to any providers for xa recovery
Attaching domain.xml and host.xml of both MASTER Host Controller and SLAVE.
4. Can you please figure out what is misconfigured in the configuration?
5. We also want to disable Messaging in our JBOSS if its possible?
Thanks and Regards,