java.rmi.server.RemoteObject classcast exception

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


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.


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.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Wipro_Disclaimer.txt

More information about the kaffe mailing list