[jboss-user] [EJB 3.0] - Re: Accessing EJB3s through a firewall

ALRubinger do-not-reply at jboss.com
Thu Jan 10 12:59:00 EST 2008


Mi Magnus:

Just a couple of ideas; used to run into this from time-to-time.  Problem is, each environment is different, so you might have to try a few things to find the root of your error.

>From what I can tell, the address in the Invokerlocator used in the Proxy instance you've got is giving you wrong information, so the client can't connect.  You need to tell the server the proper address to set in the InvokerLocator.

http://www.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall

-Djava.rmi.server.hostname=<external_host_name>
  | -Djava.rmi.server.useLocalHostname=true

I've also needed to set /etc/hosts or C:\Windows\System32\drivers\etc\hosts to include the external host name and set to local IP.

And once, I needed Reverse DNS to be properly set up.

Let's see what luck this brings you.

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118775#4118775

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118775



More information about the jboss-user mailing list