|
|
Unfortunately I have to use this RMI-based application. Setting /"java.rmi.server.hostname"/ system property at the server side fixed that problem. Thank you for your support Maciej Charles Duffy napisał(a): > First, a moment of personal opinion: > > In terms of how its over-the-wire behavior is designed, Java RMI is > *absolutely horrific*. There's no excuse whatsoever -- in this day of > ubiquitous NAT -- for a network protocol to require that the remote side > initiate a separate connection in the opposite direction using an > address the server provides as the location it thinks it lives at. > > > You can work around this (not for getting through NAT, but for the > multihomed server providing the wrong address to give to the client as > the place to initiate the callback from -- which is quite possibly what > you're seeing) by setting java.rmi.server.hostname to the IP address of > the server on the VPN. See > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4880793 for some > general background and info and useful links and such. > > Also -- it's been a while (over a year now) since I last dealt with > this, so I may remember the issues a bit differently than they actually > are. What I *do* recall is that Java RMI is an evil, evil, horrible... > oh, well, you get the idea. And that setting java.rmi.server.hostname to > the right address is important for getting it working correctly when the > server is multihomed. > > > I haven't actually looked at your packet dumps yet -- make sure you have > that property set right, first, and if you have further issues I might > take a peek. > > > ------------------------------------------------------------------------- > Get stuff done quickly with pre-integrated technology to make your job easier > _______________________________________________ > Openvpn-users mailing list > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/openvpn-users > ______________________ OpenVPN mailing lists https://lists.sourceforge.net/lists/listinfo/openvpn-users Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-09/msg00005.html on line 220 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-09/msg00005.html on line 220 |