Name: mc57594 Date: 02/18/97
1. Establish a remote object binding with Naming.lookup().
2. When finished using the remote object, do a Naming.unbind(),
set the local remote reference to null, and kill the remote
registry.
3. Start a new registry at the same host and port as the old.
4. Call Naming.lookup() with the same url spec as before.
5. Get java.rmi.UnmarshalException - see below:
sun1495: appletviewer scptd.html
daemon command = runSCPTestDriver 2233
Naming.lookup for //smsdemo.spd.dsccc.com:2233/systems.scptd.SCPTestDriver
daemon command = runSCPTestDriver 2233
Naming.lookup for //smsdemo.spd.dsccc.com:2233/systems.scptd.SCPTestDriver
SCPTestDriverApplet: got exception: Error unmarshaling return header
java.rmi.UnmarshalException: Error unmarshaling return header
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:208)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:104)
at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:94)
at java.rmi.Naming.lookup(Naming.java:60)
at systems.scptd.SCPTestDriverApplet.beginSession(SCPTestDriverApplet.java:616)
at systems.scptd.SCPTestDriverApplet.begin(SCPTestDriverApplet.java:572)
at systems.scptd.ThreadManStarter.run(ThreadMan.java:19)
company - DSC Communications , email - ###@###.###
======================================================================
- duplicates
-
JDK-4035610 When RMI server exits, client has trouble reestablishing connection
- Closed
-
JDK-4060069 Naming.lookup fails with java.rmi.UnmarshalException: Error unmarshaling return
- Closed
-
JDK-4094891 activation: unable to retry call if cached connection to server is used
- Closed