Edward Harned: thanks for the answer. Too bad; I think this is a serious feature hole in RMI, then.
Mr. C Lamont Gilbert: As I said in the topic starter, I unexported both. And I think nothing is
listening, just the "RMI Accept-Xxxx" threads are running (and who knows what other resources RMI needs). Unfortunately it seems that there is no way to write a flexible RMI server (with reconfigurable ports). Or, rather, not this way.
For reference, here is the code. Never mind the method indices, I had some others as well to
test it
[ April 26, 2007: Message edited by: David Nemeskey ]