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)
Release: Any version of Spectrum
Component:
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.
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. Un-comment (remove the pound # character) the following line in the $SPECROOT/Java/jre/lib/management/management/management.properties file and restart tomcat:
# com.sun.management.jmxremote.local.only=false