I've switched to using the hostname of my EC2 instance as the value of
java.rmi.server.hostname, as it resolves to the internal NATed IP on
the instance, and as the public IP from the outside.
But now, instead of the timeout I was getting before, I have this:
cause: SmartFrogLifecycleException:: [sfStart] Failed to start a new
child 'prepare'.
cause: SmartFrogDeploymentException: 'pwdServers' component.
PrimHostDeployerImpl.deploy
cause: java.rmi.ConnectException: Connection refused to
host: ; nested exception is:
java.net.ConnectException: Connection refused
Note the weird empty string as the hostname. However, using netstat on
the instance I can see the connection being established. A wireshark
on my PC shows me some traffic before the connection is closed. I can
see the name RootProcessCompound being exchanged in the stream, but
otherwise I don't know enough about RMI to figure out what's
happening.
Steve, haven't you tried that before ?
Olivier
On Tue, Sep 16, 2008 at 4:16 PM, Olivier Pernet <[EMAIL PROTECTED]> wrote:
> No, it's not helping in my case: the daemon won't start when I set
> this property to the external IP address of the instance. This makes
> sense, because none of the instance's interfaces is bound to this IP:
> there's NAT happening somewhere between it and the Internet.
>
> Olivier
>
> On Tue, Sep 16, 2008 at 11:37 AM, Mahrt, Helge <[EMAIL PROTECTED]> wrote:
>> Hello Olivier,
>>
>> When I was using the daemon and binding it to an specific IP address (and
>> therefore binding RMI as well) I had to set the property
>> org.smartfrog.sfcore.processcompound.sfRootLocatorBindAddress. Maybe that
>> helps in your case.
>>
>>
>> Helge Mahrt
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Olivier Pernet
>> Sent: Monday, September 15, 2008 9:55 PM
>> To: [email protected]
>> Subject: [Smartfrog-users] Deploying to Amazon EC2
>>
>> Hi,
>>
>> I'm trying to deploy our system on an Amazon EC2 instance, but I'm
>> having problems with RMI.
>> I made sure that port 3800 is open, and I verified that I can telnet
>> into the instance on this port.
>> I also set the java.rmi.server.hostname property when launching the
>> daemon on my instance, as it binds to the internal address by default.
>> I can see the RootProcessCompound exported in the registry on the
>> instance by using the RMI explorer plugin of my IDE.
>> I'm still unable to deploy anything however... Any thoughts ?
>>
>> Olivier Pernet
>>
>> We are the knights who say
>> echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq'|dc
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Smartfrog-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/smartfrog-users
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Smartfrog-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/smartfrog-users
>>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Smartfrog-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartfrog-users