My application has been running successfully for awhile but now Im getting the “java.rmi.NoSuchObjectException: no such object” exception. What happened?
The UMLSKS Version 5.0 API uses the RMI architecture for client applications to connect to the UMLSKS. Anytime the UMLSKS is restarted, any API clients that had established connections will be “disconnected”. The remote object handle that the client program has to the UMLSKS API will become out of date. When the UMLSKS service is back up and your client program requests to talk to our server through the registry using the old object, the registry returns the java.rmi.NoSuchObjectException error to you indicating that the object no longer exists. Your program may consider handling this exception and attempt rebinding to the UMLSKS service as an option.
Related Questions
- My application has been running successfully for awhile but now Im getting the "java.rmi.NoSuchObjectException: no such object" exception. What happened?
- Is there a way to access the HttpSession object of a different web application which is running on the same server?
- Whats in the Exception Management Application Block?