RMI TCP Accept-0 errors in Spectrum OneClick stdout.log (Windows) catalina.out (Linux) file

Document ID : KB000044704
Last Modified Date : 14/02/2018
Show Technical Document Details

ISSUE:  RMI TCP Accept-0 errors in Spectrum OneClick stdout.log (Windows) catalina.out (Linux) file. This is causing OneClick not to start completely so users are not able to log into the OneClick Console.

The following is an example of the error seen in the stdout.log (Windows) catalina.out (Linux) file:

Jun 29, 2016 4:20:36 AM sun.rmi.transport.tcp.TCPTransport$AcceptLoop executeAcceptLoop
WARNING: RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,localport=60345] throws
java.io.IOException: The server sockets created using the LocalRMIServerSocketFactory only accept connections from clients running on the host where the RMI remote objects have been exported.
at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:114)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:388)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:360)
at java.lang.Thread.run(Thread.java:745)

 

CAUSE:  The ip address used as remoteAddr in sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept().fails to be detected as an ip address of any of the installed network interfaces and java.io.IOException is thrown. 

 

RESOLUTION:  The issue can be resolved by doing one of the following on the OneClick system:

1. Ensure the /etc/hosts file contains valid ip addresses configured on the installed network interfaces. Including the loopback address.

2. Uncomment (remove the pound # character) the following line in the $SPECROOT/Java/jre/lib/management/management and $SPECROOT/Java64/jre/lib/management/management.properties files and restart tomcat: 

# com.sun.management.jmxremote.local.only=false