From: Robinson, G. <gar...@sa...> - 2007-08-31 11:00:54
|
Hi =20 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.=20 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.=20 How can i force java to use the real ip? =20 Many thanks =20 Gary ________________________________ From: Guijarro, Julio [mailto:jul...@hp...]=20 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.=20 =20 Julio =20 =20 =20 From: sma...@li... [mailto:sma...@li...] On Behalf Of Robinson, Gary Sent: 31 August 2007 10:38 To: sma...@li... Subject: [Smartfrog-support] Daemon not registering with proper adapter ipaddress in openSuse ? =20 Hi =20 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: =20 [rootProcess] sfDaemon Display [127.0.0.2] =20 This means that when i have tried to deploy to this virtual machine i have gotten the following error:=20 (I have tried deploying to a windows virtual machine i am successful)=20 =20 =20 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) =20 =20 What am i doing wrong? I feel like there is a simple fix that i am overlooking.=20 =20 Kind Regards =20 Gary |