What causes the message "WARNING: RMI TCP Accept-0 . . ." in the TIBCO BusinessEvents(BE) Inference engine logs and how to avoid it?

What causes the message "WARNING: RMI TCP Accept-0 . . ." in the TIBCO BusinessEvents(BE) Inference engine logs and how to avoid it?

book

Article ID: KB0091074

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
==========
The full warning stack is:
2013 Mar 15 09:03:10:988 GMT +0 ABSServicePU4-1 Error [RMI_TCP_Accept-0] - [root] Mar 15, 2013 9:03:10 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,port=0,localport=26450] 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:96)
         at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
         at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
         at java.lang.Thread.run(Thread.java:662)

Environment:
==========
BE 4.0.1 and 4.0.2.

Symptoms:
=========
See warning stack above.

Cause:
=====
This happens when a vulnerability scan is done on a BE inference engine which is listening to a HTTP port.

See http://netbeans.org/bugzilla/show_bug.cgi?id=140000 for resolution.

Resolution:
=========
The messages can be removed by modifying the  beginning of  /etc/hosts from

127.0.0.1    localhost
127.0.1.1    mslama-nb

to

127.0.0.1    mslama-nb localhost.localdomain localhost
127.0.1.1    mslama-nb

where 'mslama-nb' is hostname of your machine.

References:
==========
http://netbeans.org/bugzilla/show_bug.cgi?id=140000

Issue/Introduction

What causes the message "WARNING: RMI TCP Accept-0 . . ." in the TIBCO BusinessEvents(BE) Inference engine logs and how to avoid it?