Business Connect Gateway instance in Admin shows RMI error on clicking while the engine is running successfully.

Business Connect Gateway instance in Admin shows RMI error on clicking while the engine is running successfully.

book

Article ID: KB0080557

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect 6.4

Description

The Business Connect gateway server engine is running successfully.  However, when clicking the instance name under TIBCO Administrator -> BusinessConnect -> Gateway -> Gateway Instances -> (click) GATEWAY INSTANCE NAME, the following error occurs:
<<<
Could not establish JMX connection.: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: XXXXXX; nested exception is: 
    java.net.ConnectException: Connection timed out (Connection timed out)]: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: XXXXXX; nested exception is: 
    java.net.ConnectException: Connection timed out (Connection timed out)]
    at com.tibco.ax.gs.mgmt.common.Instance.connect(Instance.java:53)
...
>>>

 

Issue/Introduction

When clicking the the Gateway Service instance name under TIBCO Administrator -> BusinessConnect -> Gateway -> Gateway Instances -> (click) GATEWAY INSTANCE NAME, an error occurs: Could not establish JMX connection.: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException This error occurs even when the GS engine is running successfully

Environment

Linux environment

Resolution

First, verify that the management and data ports for your firewall are open so that the BC Interior server uses to communicate with the Gateway Server. 

For more information please refer to Figure 4 showing the Gateway Server and Interior Server communications in "Chapter 2  TIBCO BusinessConnect Architecture : Interior Server and Gateway Server Architecture" of the Business Connect concepts user guide. 

The Administrator server should have access to the management port.  Make sure you are able to connect from your admin server to the gsengine on management port by running the telnet command.

 

Additional Information

Gateway, JMX, RMI, Connection refused