Page tree
Skip to end of metadata
Go to start of metadata

Problem

Cluster-Cluster RMI-P4 remote communication fails for host configured to point to loopback IP address.

Symptom

Cluster-Cluster communication like RDL-portal scenario fails.
In hosts file configuration:
/etc/hosts - for Linux / Unix
C:\WINDOWS\system32\drivers\etc\hosts - for Windows
IP 127.0.0.1 is mapped not to "localhost" only but to real host of the machine (wrong OS configuration). For example:

127.0.0.1 vmlocalhostxx

or

127.0.0.1 pwdf3456

Keywords

  • P4
  • RMI-P4
  • 127.0.0.1
  • loopback IP

Description

Cluster-Cluster communication like RDL-portal scenario fails. Enabling traces for location:
com.sap.engine.services.rmi_p4
and its sub-locations shows P4BaseIOException in MSConnection.sendRequest() caused by DestinationNotAvailableException.

Sample logs

Path trace in location: com.sap.engine.services.rmi_p4.server.

com.sap.engine.services.rmi_p4.exception.P4BaseIOException: Cannot send message
at com.sap.engine.services.rmi_p4.server.P4ObjectBrokerServerImpl.getException(P4ObjectBrokerServerImpl.java)
at com.sap.engine.services.rmi_p4.server.P4ObjectBrokerServerImpl.getException(P4ObjectBrokerServerImpl.java)
at com.sap.engine.services.rmi_p4.server.ClusterOrganizer.receiveIfRedirectable(ClusterOrganizer.java)
at com.sap.engine.services.rmi_p4.server.ClusterOrganizer.send(ClusterOrganizer.java)
at com.sap.engine.services.rmi_p4.server.MSConnection.sendRequest(MSConnection.java)
at com.sap.engine.services.rmi_p4.StubImpl.p4_setConnection(StubImpl.java)
at com.sap.engine.services.rmi_p4.P4ObjectBroker.makeConnection(P4ObjectBroker.java)
at com.sap.engine.services.rmi_p4.P4ObjectBroker.narrow(P4ObjectBroker.java)
...
at com.sap.portal.fpn.remote.accessor.FPNRemoteAccessor.getRemoteInitialContext(FPNRemoteAccessor.java)
at com.sap.portal.fpn.remote.accessor.FPNRemoteAccessor.init(FPNRemoteAccessor.java)
...
Caused by: com.sap.engine.frame.cluster.message.DestinationNotAvailableException: Participant [65432150] is not available

Solution

Fix hosts file configuration:
/etc/hosts - for Linux / Unix
C:\WINDOWS\system32\drivers\etc\hosts - for Windows

Loopback IP 127.0.0.1 to point only to localhost
Host configured for remote communication to point to some real IP of the machine.

For example:

127.0.0.1 localhost
10.65.83.79 vmlocalhostxx

or

127.0.0.1 localhost
10.55.83.79 pwdf1234

Then restart the cluster and retry cluster-cluster scenario.

Note: Never configure localhost or loopback IP as host in remote communication, this would lead to communication issues.

Related Wiki SDN pages

For details check the following wiki:
http://wiki.sdn.sap.com/wiki/display/TechTSG/%28JSTTSG%29Install+on+127.0.0.1+fails

  • No labels