Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Exception in RMI call.

15 views
Skip to first unread message

Marco De Angelis

unread,
Jul 25, 1997, 3:00:00 AM7/25/97
to

Within an application I try to call a remote metod, but I receive the same
exception.
The application run on a Windows95 system and the remote object on a Unix
machine, both with JDK 1.1.

I hope someone can help me. Plese e-mail to dean...@wnt.it.

Thanks in advance.

AutS 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 RmiServlet.service(RmiServlet.java:60)
at sun.server.http.InvokerServlet.service(InvokerServlet.java:130)
at java.servlet.http.HttpServlet.service(HttpServlet.java:50)
at
sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:280
)
at
sun.server.http.HttpServiceHandler.handleConnection(HttpServiceHandler.java:
161)
at sun.server.ServiceHandler.run(ServiceHandler.java:69)
at java.lang.Thread.run(Thread.java:481)


Michael David Durham

unread,
Aug 1, 1997, 3:00:00 AM8/1/97
to

> Within an application I try to call a remote metod, but I receive the same
> exception.
> The application run on a Windows95 system and the remote object on a Unix
> machine, both with JDK 1.1.
>
> I hope someone can help me. Plese e-mail to dean...@wnt.it.
>
> Thanks in advance.
>

I think I've seen your problem (an exception thrown during unmarshaling)
I encountered the same problem when I changed the definition of my remote
object without restarting the rmiregistry. This is a documented bug with
rmi on javasoft's page... Try killing the registry and restarting it...


Mike Durham
--
Mike Durham

0 new messages