console tries to connect to MWB agent which is
mantaray agent installed on
machine with 2 network interfaces.
the console succeed on connecting to the layer (manta
connection), but when it
tries to connect by JMX, it fails because it gets the
other interface IP
address, and tries to connect to it.
i.e. in the world map the mwb line is :
<agent name='mwb' >
<transport ip='192.168.1.102' port='80' type='MWB' />
get in the log the connection details:
06/20/05 5:47:06 PM [AgentMonitorExecutionThread1]
INFO TransportProvider :
Creating MWB impl 0.0.0.0:0--/192.168.1.102:80.
06/20/05 5:47:06 PM [NetworkSelector] INFO
NetworkManager : HandleID: received
ID (mwb) from /192.168.1.102:80.
06/20/05 5:47:51 PM
ConsoleJMXGateway : Error in creating connection to
the MantaRay Layer 'mwb'.
java.rmi.ConnectException: Connection refused to host:
172.16.1.1; nested ...
we can see that the host name is the other interface's
IP address 172.16.1.1
in the mwb logs we see that the layers connected.