I'm trying to get my RMI communication in an exiting app to work on one single port. As I understand it, i need to call unicastremoteobject with a port number in order to achieve this which i think that i am.
(GTIServer extends a generic server class that extends UnicastRemoteObject).
I'm getting a java.rmi.NotBoundException
seems to be ok, but
if i change the rebind in the first code sample to just
all is fine, (no change in the "client" code, still using lookup using port number). Can anyone please give me a hint on what i'm missing
Joined: Jan 04, 2010
stupid, stupid me. Just posted this to prove that i cannot read my own code.
Changing line 31 to
really really helped.
Cannot find a blushing emoticon, otherwise i would have used it