Failed to retrieve RMIServer stub during Interior server start up.

Failed to retrieve RMIServer stub during Interior server start up.

book

Article ID: KB0088522

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect -
Not Applicable -

Description

Resolution:
Description:
=========
Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException
    
Environment:
==========
BC 6.0
LINUX, SOLARIS

Symptoms:
=========
While invoking the RMI connector code, the BusinessConnect Interior Server fails to retrieve RMI stub for the connector because its not able to resolve the hostname used in the connector URL. This RMI stub is a Java object of type RMIServer that gives remote access to the connector server.

Cause:
=====
On some operating systems like Linux, the interior server is not able to resolve the host name properly because it gets confused between the loopback adress and the localhost or host name.

Resolution:
=========
In the hosts file, make sure that the ipaddress, loopback address (127.0.0.1) and the fully qualified host name are mapped correctly.

Issue/Introduction

Failed to retrieve RMIServer stub during Interior server start up.