Its been 3 days in stretch cant find solution to all this error sometimes i get UnmarshalException (server)
after giving arguments -Djava.security.policy and -Djava.rmi.server.codebase still get this error.
Addition Server failed: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
The error message says that something can't find a particular class. I believe it's trying to look in the codebase to find that class. So my guess is that it isn't in your codebase. You said that you set "-Djava.rmi.server.codebase" but you didn't say what you set it to, or whether you checked that you set it correctly after seeing this message.