java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException:
The solution in the end was to create a server_stub using RMIC. However in the documentation (URL above) the following statement can be found
"Note: As of the J2SE 5.0 release, stub classes for remote objects no longer need to be pregenerated using the rmic stub compiler, unless the remote object needs to support clients running in pre-5.0 VMs. If your application needs to support such clients, you will need to generate stub classes for the remote objects used in the application and deploy those stub classes for clients to download."
Yet i had to create the stub using rmic. Am i missing something? Should i call it a night.
The link you have specified is broken, so i could not see the code. From the stack trace, it looks like the exception is not in starting the server but during an RMI method call. (The exception is an Unmarshal exception which occurs when the arguments/return value is unmarshalled or deserialized)