Ok! I was able to resolve this problem. This problem seems to occur if you have two interfaces, and the hostname returned by the command `hostname` is being used for the ip address for second interface (eth1) in the /etc/hosts file. I moved the name to the ipaddress on eth0 (first entry in /etc/hosts) and the problem went away.
[Message sent by forum member 'glassfish123' (nnagarajayya_at_transaxtions.com)]
http://forums.java.net/jive/thread.jspa?messageID=385522