Forums Register Login

RMI - Http Tunnelling Does it Work?

+Pie Number of slices to send: Send
I have been learning/Ageing with RMI over the last few weeks. I can get my distributed application running over a lan without a problem. My problem is when it comes to placing the server (and registry) behind a firewall. I've tried severly tutorials on HTTP Tunnelling with RMI and all have confused and failed. I'm Running Apache 2 integrated with Tomcat4.1 running on windows 2000, the RMI registry is also running on this machine and the RMI Server (I think i have also rerouted the java-rmi.cgi script requests on to the Tomcat servlethandler correctly).
All the documentation i've read say this is possible but so far I've had no joy whatsoever. Can any body please confirm that they have got this working in a similar sort of enviroment and maybe point me at a good reference site. Slowly going mad.
+Pie Number of slices to send: Send
When you want to access a RMI server from outside the fire wall, instruct the Rmi server to use dns name instead of ip address. This can be done by setting this property to your server name java.rmi.server.hostname=""
This faq will probably give more explaination
http://java.sun.com/products/jdk/1.2/docs/guide/rmi/faq.html#firewall
[ October 10, 2003: Message edited by: Vinod John ]
To do a great right, do a little wrong - shakepeare. twisted little ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 973 times.
Similar Threads
RMI Advantages / Disadvantages
rmi over sockets
Applet to Servlet Communication with RMI
HTTP Tunnelling?
GUI to stop RMI server?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:20:50.