java.rmi.server.RemoteObject classcast exception

Parthasarathy G parthasarathy.gopalakrishnan at wipro.com
Tue Sep 25 22:51:31 PDT 2001


Hi,

When trying to run a simple RMI program we are getting
java.rmi.server.RemoteObject class cast exception. Can somebody help me on
this. I am using the Kaffe from CVS of Aug 2001.

Details:

Our implementation class implements the interface which extends the
RemoteObject. And in the constructor of the Implementation class , we are
exporting the object of this class , so that it can act as a Remote Server
i.e a RemoteListener.

By using UnicastRemoteObject.exportObject(this);

where 'this' is the object of the Implementation class.

Regards,
Partha

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Wipro_Disclaimer.txt
Url: http://kaffe.org/pipermail/kaffe/attachments/20010926/bb5c8a19/attachment-0003.txt 


More information about the kaffe mailing list