Hello,
I am new to rmi and linux enviroment, I have been trying to test this code (java) on uinx where there
are three machines:
-One as a Controller
-an execution host
- a submitter
I do the following to run them:
- type "make" in all the machines to compile the all the java classes along with the remote objects.
- then run rmiregistry on all the machines
- then run the Controller class
- run the host class the reports to the Controller periodecally
- submit an application
the problem is when I run the Host class it gives me the following exceptions:
[user@machine1 code]$ java Host 10.70.50.99
Binding Report failed: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: Report_Stub
Binding Runn failed: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: Runn_Stub
I use jdk1.5 on all the machines althought the code is written with jdk1.4 is that affecting the compiling??