Some things you might want to be aware of:
).
This is no longer the case, but problems can still occur if you are
trying to access other external services.
To see if your firewall is problematic then do two things. First, have a look in hello-warrant.xml and look for some bind servers URL, like this:
...
<bind-server>
<url>http://213.52.152.66:30100/service/2/skeleton</url>
<url>http://213.52.152.67:30000/service/2/skeleton</url>
</bind-server>
...
There are two URLs. Next, pick any of these and try to telnet to it. If we pick the first one in the above example (address 213.52.152.66, port 30100) we get this on Linux:
% telnet 213.52.152.66 30100 Trying 213.52.152.66... Connected to 213.52.152.66. Escape character is '^]'.
Everything went well in this example--we connect to the server and get a prompt telling us to hit Control-] to exit. But if your system has problems you will not get this far--it will hang or return some error.
The current solutions are (1) to run such examples from a location without a firewall or with a different firewall, or (2) jump to the other examples which are local only, and do not require external connections. Also, look on http://sourceforge.net/projects/jtrix which will have some discussion on this issue.
/sbin/route add default gw 127.0.0.1
Another option (suitable for both Windows and Linux users) is to amend the jnode script (or jnode.bat on Windows) so that the -shared option is set for that default route.
Nik Silver 2002-03-09