RMI connection issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mattl52
    New Member
    • Aug 2008
    • 1

    RMI connection issues

    I am having a problem doing callbacks using an RMI connection.

    We have two servers. One exists on one domain on a windows box. The other server is a unix box that exists on a separate domain behind a router performing NAT.

    We connect to the Unix box using the external IP of the router. However, we receive an error on the callback from the interal IP of the Unix box. It says that the Unix box is a non-local host. Java policy forbids this use of non-local hosts.

    We have tried multiple solutions including changing the sockets to allow there servers all permissions, having a dedicated port for both incoming and outgoing transmissions, changing the java.rmi.server .hostname to reflect the DNS name and attempting to hard code local host in the properties file.

    Any suggestions would be appreciated.
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Hello!

    Nothing concrete popped up for me, perhaps I can get an idea at work, just started mingling with IBM stuff; I did find this though:



    A bunch of links, a bit late here, can;t search any further.

    Please let us know if that helped, and will post if I hear anything today...

    Later!

    Comment

    Working...