IBM Support

javax.jms.JMSException: Failure on underlying remoting connection when running Agents on JBoss

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>

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.1;9.2;9.0","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
10 May 2022

UID

swg21623924