Re: Daemon not registering with proper adapter ip address in openSuse ?

"Robinson, Gary" <[email protected]> Fri, 31 Aug 2007 13:00:40 +0200
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Hi
 
When i obtain my ip automatically, the daemon is registered with
127.0.0.2 (unless i set SFSERVERHOME which yield "_ipaddress"). But when
i assign my ip explicitly to 192.168.116.131, the daemon does register
with that ip address. 

I am still having connection exceptions, any other ideas what may be
wrong? All of my firewalls are disabled, but i am positive that the
problem lies within the linux virtual machine. 
How can i force java to use the real ip?
 
Many thanks
 
Gary

________________________________

From: Guijarro, Julio [mailto:[email protected]] 
Sent: 31 August 2007 10:55
To: Robinson, Gary
Subject: RE: [Smartfrog-support] Daemon not registering with proper
adapter ip address in openSuse ?



My guess is that there is a problem in your network configuration. You
either review the network config of that linux machine or force java to
use the real ip. For the latter, you can try to fix the ip that the
daemon will use by SFSERVERHOSTNAME env property and/or go to your
etc/hosts table and madodify the entry for local host to use the right
ip. 

 

Julio

 

 

 

From: smartfrog-support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
Robinson, Gary
Sent: 31 August 2007 10:38
To: smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [Smartfrog-support] Daemon not registering with proper adapter
ipaddress in openSuse ?

 

Hi

 

When i start my daemon on a linux machine the title bar says the daemon
has registered on ip 127.0.0.2 and not the IP address that its adapter
has been assigned. ie:

 

[rootProcess] sfDaemon Display [127.0.0.2]

 

This means that when i have tried to deploy to this virtual machine i
have gotten the following error: 

(I have tried deploying to a windows virtual machine i am successful) 

 

 

SmartFrog ready... [rootProcess:3800] Fri Aug 31 09:43:32 BST 2007
2007/08/31 10:26:43:681 IST [ERROR][RMI TCP
Connection(10)-10.31.216.121] SFCORE_LOG - SmartFrogDeploymentExce
ption: unnamed component. java.rmi.ConnectException: Connection refused
to host: 192.168.116.128; nested excep
tion is:
        java.net.ConnectException: Connection timed out: connect, cause:
java.rmi.ConnectException: Connection
 refused to host: 192.168.116.128; nested exception is:
        java.net.ConnectException: Connection timed out: connect
<SmartFrogDeploymentException: unnamed compon
ent. java.rmi.ConnectException: Connection refused to host:
192.168.116.128; nested exception is:
        java.net.ConnectException: Connection timed out: connect
    cause: java.rmi.ConnectException: Connection refused to host:
192.168.116.128; nested exception is:
        java.net.ConnectException: Connection timed out: connect>
        SmartFrogDeploymentException: unnamed component.
java.rmi.ConnectException: Connection refused to host
: 192.168.116.128; nested exception is:
        java.net.ConnectException: Connection timed out: connect, cause:
java.rmi.ConnectException: Connection
 refused to host: 192.168.116.128; nested exception is:
        java.net.ConnectException: Connection timed out: connect
        at
org.smartfrog.sfcore.common.SmartFrogDeploymentException.forward(SmartFr
ogDeploymentException.java:
176)

 

 

What am i doing wrong? I feel like there is a simple fix that i am
overlooking. 

 

Kind Regards

 

Gary

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
Smartfrog-support mailing list
Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-support