RMI: NoSuchObjectException - rectifying

V

VisionSet

When my app starts it looks up the remote object, it doesn't do that again.

If the connection is dropped then I obviously get a NoSuchObjectException
for remote calls.

Is there any way to listen for the connection being dropped so I can attempt
to re-lookup my object?

I naturally catch all remote exceptions and I could obviously intercept the
NSOE there, but is there a cleaner way?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

RMI and references / Proxy classes 0
How to remotely construct a remote object with RMI 14
RMI, Sockets and Cleanup 1
RMI interface 3
Battleship in RMI 0
java rmi error 1
java RMI 3
RMI in java 15

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top