I suspect that your /etc/hosts file is not properly configured. See if this discussion helps: http://community.jboss.org/thread/120995
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community