[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-ssl] RMI demo failed



Hi,

I tried a RMI (jdk1.2) demo for isasilk2.51, but I got the following
error message (no error on the server side).

% java -Djava.security.policy=policy mydemo.client.SSLHelloClient gehenna
create new SSLSocket to: gehenna:1099
InputRecord locked.
OutputRecord locked.
starting handshake.
send client_hello...
v3ClientHello, version: 3.0
received server_hello...
Server doesn't want to resume a previous session.
CipherSuite selected by server: SSL_RSA_WITH_IDEA_CBC_SHA
CompressionMethod selected by server: NULL
received Certificate...
received server_hello_done...
send ClientKeyExchange...
send change_cipher_spec...
send finished...
received change_cipher_spec...
received finished...
adding session to cache...
finished handshake.
HelloClient exception: error unmarshalling return; nested exception is: 
        java.io.InvalidClassException: java.security.MessageDigest; <init>
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
        java.io.InvalidClassException: java.security.MessageDigest; <init>
java.io.InvalidClassException: java.security.MessageDigest; <init>
        at java.io.ObjectInputStream.inputObject(Compiled Code)
        at java.io.ObjectInputStream.readObject(Compiled Code)
        at java.io.ObjectInputStream.inputClassFields(Compiled Code)
        at java.io.ObjectInputStream.defaultReadObject(Compiled Code)
        at java.io.ObjectInputStream.inputObject(Compiled Code)
        at java.io.ObjectInputStream.readObject(Compiled Code)
        at java.io.ObjectInputStream.inputClassFields(Compiled Code)
        at java.io.ObjectInputStream.defaultReadObject(Compiled Code)
        at java.io.ObjectInputStream.inputObject(Compiled Code)
        at java.io.ObjectInputStream.readObject(Compiled Code)
        at java.io.ObjectInputStream.inputClassFields(Compiled Code)
        at java.io.ObjectInputStream.defaultReadObject(Compiled Code)
        at java.io.ObjectInputStream.inputObject(Compiled Code)
        at java.io.ObjectInputStream.readObject(Compiled Code)
        at java.io.ObjectInputStream.readObject(Compiled Code)
        at sun.rmi.transport.tcp.TCPEndpoint.read(Compiled Code)
        at sun.rmi.transport.LiveRef.read(Compiled Code)
        at sun.rmi.server.UnicastRef2.readExternal(Compiled Code)
        at java.rmi.server.RemoteObject.readObject(Compiled Code)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.io.ObjectInputStream.invokeObjectReader(Compiled Code)
        at java.io.ObjectInputStream.inputObject(Compiled Code)
        at java.io.ObjectInputStream.readObject(Compiled Code)
        at java.io.ObjectInputStream.readObject(Compiled Code)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Compiled Code)
        at test.ssl.rmi.client.SSLHelloClient.main(Compiled Code)

------
Can anyone explain this error?

# I tried the program on two VMs, Linux (jdk1.2) and Solaris (jdk1.2.1).

--- Tahara Yuusuke <m5021212@u-aizu.ac.jp>
-> The University of Aizu / Department of Computer Systems
-> http://www.u-aizu.ac.jp/%7Em5021212/
-> ICQ: 38459330(@work), 35702748(@lab), 14439176(@home)
--
Mailinglist-archive at http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-ssl/maillist.html

To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the folowing content: UNSUBSCRIBE iaik-ssl