Re: rmi problems with latest visad.jar

  • To: Tom Rink <rink@xxxxxxxxxxxxx>
  • Subject: Re: rmi problems with latest visad.jar
  • From: Doug Lindholm <lind@xxxxxxxx>
  • Date: Thu, 14 Aug 2003 12:49:17 -0600
Yes, indeed. The very same visad.jar, in fact, since my client and server are running on the same machine in this case.


Tom Rink wrote:
Hi Doug,

Are the client and server both using the same version of visad.jar?


Doug Lindholm wrote:


When I switched to the latest visad.jar file I started getting exceptions like below. It works fine with an older version of visad.jar. I have been careful to make sure the rmiregistry, server, and client are all running with the same classpath. I have a RemoteServerImpl (with RemoteDataReferenceImpls) bound to my server but when I try to access the data from my client:

java.rmi.UnmarshalException: error unmarshalling return; nested exception is: writing aborted; java.lang.Object
        at sun.rmi.server.UnicastRef.invoke(
        at visad.RemoteFieldImpl_Stub.local(Unknown Source)
at edu.ucar.rap.vmet.VMETDisplayer.getSourceData( at edu.ucar.rap.vmet.GriddedDisplayer.processData( at edu.ucar.rap.vmet.VMETDisplayer.updateData( at edu.ucar.rap.vmet.VMETDisplayer$UpdateCell.doAction(
        at visad.util.ThreadPool$
Caused by: writing aborted; java.lang.Object at at at at at at at at at at at at
        at sun.rmi.server.UnicastRef.unmarshalValue(
        at sun.rmi.server.UnicastRef.invoke(
        ... 7 more
Caused by: java.lang.Object
at at at at at at at at at at at at
        at sun.rmi.server.UnicastRef.marshalValue(
at sun.rmi.server.UnicastServerRef.dispatch(
        at sun.rmi.transport.Transport$
        at Method)
        at sun.rmi.transport.Transport.serviceCall(
at sun.rmi.transport.tcp.TCPTransport.handleMessages( at sun.rmi.transport.tcp.TCPTransport$

Any ideas?


| Doug Lindholm, Software Engineer          |  E-mail: lind@xxxxxxxx   |
| Research Applications Program             |   Phone: 303-497-8374    |
| National Center for Atmospheric Research  |                          |
| P.O. Box 3000                             |     There's no place     |
| Boulder, Colorado 80307-3000              |        like $HOME        |