users@glassfish.java.net

Re: JNDI properties for remote lookup

From: <glassfish_at_javadesktop.org>
Date: Thu, 07 May 2009 08:05:15 PDT

What operating system are you using?
What is the hostname of the client making the request (where your JUnit program is running)?
What is its IP address(es)?

For example, if you're using *nix, check /etc/hosts and see if there's an entry in there for your hostname that (wrongly) maps it to 127.0.0.1.

And "dig <hostname>" or "nslookup <hostname>" should list the IP address(es) for <hostname>.
[Message sent by forum member 'matterbury' (matterbury)]

http://forums.java.net/jive/thread.jspa?messageID=345401