Chat prob..

I created a program for chat using rmi..

I extends UnicastRemoteObject in both server and client sides...

And after compliling the server is running smoothly but client is holding the following errors...

error:

java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.lang.ClassNotFoundException: java.rmi.server.RemoteObjectInvocation

Handler

Did any one know any ideas ?

[546 byte] By [Reona] at [2007-11-27 8:40:28]
# 1
You compiled with 1.5 and you are running your registry and/or your client with 1.4.You need to run rmic on your remote objects and deploy the resulting stub .class files to the registry's classpath and the client's.
ejpa at 2007-7-12 20:38:55 > top of Java-index,Core,Core APIs...
# 2

Really thanx for your valuable idea .... ejp

What my problem is i extended UnicastRemoteObject for both server and client sides ...

But i compiled only server side with rmic...

I didnt notice to compile client side with rmic..

Thats really was the problem is....

Thanx

Reona at 2007-7-12 20:38:55 > top of Java-index,Core,Core APIs...