geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Wilkes <cwilkes-...@ladro.com>
Subject Re: strange error when trying to deploy to remote host
Date Sun, 09 Jul 2006 15:27:31 GMT
On Sun, Jul 09, 2006 at 05:00:37PM +0200, Christoph Sturm wrote:
> hey people!
> 
> If i want to deploy something to a remote host, for example by running
> this command:
> 
> java -jar bin/deployer.jar --host 192.168.167.126 --verbose deploy 
> myplan.xml
> 
> i get this strange error message:
> 
>    Error: Unable to connect to server at
>    deployer:geronimo:jmx://192.168.167.126 -- Connection refused to
>    host: 127.0.1.1; nested exception is:
> 
>        java.net.ConnectException: Operation timed out
> 
> 
> it seems it ignores the ip adress i give, and uses 127.0.1.1 instead
> (which looks like a localhost-typo :)

What DNS name resolves to 192.168.167.126?  Make sure that name is in
the remote server's /etc/hosts (or system32/drivers/etc/hosts I believe
in windows) file.

I believe the deployer tries to connect to the uname of the server it is
running on.

Chris

Mime
View raw message