Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java RMI

Status
Not open for further replies.

piq

Programmer
Apr 2, 2003
15
PL
Hello everyone,
I have to pass the project at my high school
and I have a little problem with running my application (using RMI) :(
When client and server are runing on the same machine, everything its ok, but when client and server are on different machines - there are problems with community (but it isn't my network fault). I think that parameters used by running the application aren't correct (for example security policy or some paths).
Could you tell me how should I -run- (RMI) client and server, step by step with all details?? I have compiled java files at D:\RMI_Cl on client machine and at D:\RMI_Se on server machine.
Because I think that I have used bad params by java command (on client I think, maybe some paths are'nt seen).
Please, help me. I have two days for pass my project and for You (java experts) it's a simple problem, I think.
Thanks!

piq
 
You say you have "a problem". Do you get exceptions ? If so, post them. Maybe you have to compile the objects that you send over the network on one machine and copy them over to the other?
 
Is the rmiregistry running ? (type 'start rmiregistry') on the server ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top