Embedded OC4J's RMI Server Does Not Listen On Logical Interface of the Host (Doc ID 403868.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version: 9.0.4.1 to 10.1.3.1
This problem can occur on any platform.

Symptoms

A logical networkinterface (ipge0:1) with a separate IP address is configured on the machine.
But the RMI-Server of the OC4J embedded in Oracle Application Server only listens on the
loopback and physical interface.

$ netstat -an | grep 12459
10.0.0.168.12459 *.* 0 0 49152 0 LISTEN
127.0.0.1.12459 *.* 0 0 49152 0 LISTEN

where 12459 is OC4J RMI Port.

$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ipge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.0.0.168 netmask ffffff00 broadcast 10.0.0.255
ipge0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.0.0.99 netmask ffffff00 broadcast 10.0.0.255

The host can be pinged successfully on both ipaddresses - 10.0.0.168 and 10.0.0.99 

Changes

Multiple interfaces are configured on the machine.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms