Most likely /etc/hosts has your server name bound to 127.0.0.1 rather
than the correct ip.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message ----- 
From: "Jake Meier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 5:43 AM
Subject: [JBoss-dev] java.rmi.server.hostname???


> I am having a problem connecting to a JBoss server running Sun's 1.4.0
> under Linux.  I cannot do JNDI lookups from a remote client.  The client
> is configured correctly, as it can see other JBoss servers (running
> under windows or solaris), and it can see the Linux server when I use
> the -Djava.rmi.server.hostname=<myHostName> argument when starting
> JBoss.  (See remote client stack trace below)
> I read recently in the forums that this was a problem with the setup of
> the OS that the server was running on.  The post didn't happen to say
> what is wrong with the setup though.  It appears that the client is
> connecting to the server, and the server is telling the client to look
> to localhost:1099 to get JNDI references.  Of course this won't work
> because the client looking to localhost will look to itself(127.0.0.1). 
> Can anyone help me understand why my server thinks that it should tell
> clients that it's ip is 127.0.0.1 and not 10.0.0.15.  Any help would be
> appreciated.  I know that I can use the
> -Djava.rmi.server.hostname=<myHostName>, but I would like to know what
> is wrong with my Linux setup that causes this.  Thanks.
> 
> -Jake Meier




-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to