Bugs item #676558, was opened at 2003-01-29 04:52
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=676558&group_id=44253
Category: Interactions
Group: Makes DrJ unstable
Status: Open
Resolution: None
Priority: 6
Submitted By: Charles Reis (csreis)
Assigned to: Charles Reis (csreis)
Summary: Interactions JVM hangs if user leaves network
Initial Comment:
If the user starts DrJava while on a network and then leaves the network (or changes his IP address), the Interactions Pane will stop responding, displaying an Exception. It will attempt to reset but never finish.
This is a problem with RMI that I am currently investigating. RMI embeds the user's IP address in exported objects so that they can be located. However, once UnicastRemoteObject gets the current IP address once, it will never use a different one for the life of the JVM. This seems to prevent the user from changing or leaving networks, which is a real problem for laptop users.
I'm hoping to find a way to use a custom RMISocketFactory with UnicastRemoteObject so that it uses 127.0.0.1 for the IP address, which should always be valid. Haven't had any luck yet...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=676558&group_id=44253
|