i was trying to create distributed application using
RMI on the single system with having two command prompt open.my operating system is window xp.....every thing went ok..
i created these thing in the same folder where we have set the path....
1.remote interface
2.implemented the remote interface
3.RMI server
4.RMI Client
after this i compiled these codes and did not get any error.
then i created a policy file named .java.policy. by using Policy Tool utility under my home directory , it correct and i got a success message.
....
then i generated stub and skelton using rmic compiler,
i did not use any option ,directly used rmic <ClassFile> syntax.
then for starting RMI registry i used command start rmiregistry at the default port number 1099.
****now to run RMIserver i used command
java <RMIserver>
i got the following exception please help
java.rmi.ServerException:Remote Exception;nestedexception is:
java.rmi.UnmarshalException;error unmarshalling arguments;
nested exception is ;
java.lang.ClassNotFoundException:calculatorImpl_stub
........here CalculatorImpl is implementation of remote interface