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:julio_guijarro@hp.com]
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@lists.sourceforge.net [mailto:smartfrog-support-bounces@lists.sourceforge.net] On Behalf Of Robinson, Gary
Sent: 31 August 2007 10:38
To: smartfrog-support@lists.sourceforge.net
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(SmartFrogDeploymentException.java:
176)

 

 

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

 

Kind Regards

 

Gary