users@glassfish.java.net

Re: Can't access GF3.1 remote EJBs from standalone client

From: <forums_at_java.net>
Date: Mon, 27 Jun 2011 16:23:20 -0500 (CDT)

Thank you for the help of help.Tim Quinn [1] and Ken Cavanaugh [2] in 

http://java.net/jira/browse/GLASSFISH-16314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=309847#action_309847
[3]


I followed the instructions from http://www.java.net/node/676636 [4]


 


and changed "/etc/hosts" file:
1) commented out the "internal" IP addresses in the first two lines
2) and added a the external IP address

127.0.0.1 localhost
#127.0.1.1 lennyserver
192.168.0.202 lennyserver

  1) The following lines are desirable for IPv6 capable hosts
     ::1 localhost ip6-localhost ip6-loopback
     fe00::0 ip6-localnet
     ff00::0 ip6-mcastprefix
     ff02::1 ip6-allnodes
     ff02::2 ip6-allrouters
     ff02::3 ip6-allhosts

Now the InitialContext.lookup() can find the bean.

 

 


[1] http://java.net/jira/secure/ViewProfile.jspa?name=tjquinn
[2] http://java.net/jira/secure/ViewProfile.jspa?name=kcavanaugh
[3]
http://java.net/jira/browse/GLASSFISH-16314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=309847#action_309847
[4] http://www.java.net/node/676636

--
[Message sent by forum member 'oszhatife']
View Post: http://forums.java.net/node/779793