Troubleshooting
Problem
When running agent servers on JBoss, connection failures may occur periodically so that the agent server has to be restarted.
Diagnosing The Problem
The following kind of error is issued on the agent server side:
javax.jms.JMSException: Failure on underlying remoting connection at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:102)
The following warning is issued on JBoss side:
[org.jboss.jms.server.connectionmanager.SimpleConnectionManager] (Timer-1) A problem has been detected with the connection to remote client 4v11m-c3wu5v-hbmrbz1q-1-hboxo4q2-e2s,
jmsClientID=b-xf3crmbh-1-q1zbrmbh-v5uw3c-m11v4. It is possible the client has exited without closing its connection(s) or the network has failed. All associated connection resources will be cleaned up.
Resolving The Problem
Lengthen the ping cycle on the JBoss instance in <JBOSS_DIR>/server/YOUR_SERVER/deploy/messaging/remoting-bisocket-service.xml, e.g.:
<attribute name="clientLeasePeriod" isParam="true">20000</attribute>
<attribute name="validatorPingPeriod" isParam="true">20000</attribute>
<attribute name="validatorPingTimeout" isParam="true">10000</attribute>
Was this topic helpful?
Document Information
Modified date:
10 May 2022
UID
swg21623924