aspose file tools*
The moose likes Distributed Java and the fly likes a simple c/s system question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "a simple c/s system question" Watch "a simple c/s system question" New topic
Author

a simple c/s system question

martin_ua
Greenhorn

Joined: Aug 04, 2003
Posts: 3
I have built up a simple Client/Server system using RMI under Unix (including server, client,skeleton,stub ,etc), i just wondering if can i run them under windows os ??
I found that's a problem to rmic a new pair of stub, skeleton ,or rmiregistry between client and server under Windows system . (using jdk1.3)
what's rmi's URL form? ("rmi://localhost:1099/serverName") ???

Thanks.
martin


opens system (java rmi), parallelism of fuctional prgramming , computer vision , advanced programming paradisms
Rangarajan Suresh
Ranch Hand

Joined: Jan 08, 2002
Posts: 50
Originally posted by martin_ua:
I have built up a simple Client/Server system using RMI under Unix (including server, client,skeleton,stub ,etc), i just wondering if can i run them under windows os ??
I found that's a problem to rmic a new pair of stub, skeleton ,or rmiregistry between client and server under Windows system . (using jdk1.3)
what's rmi's URL form? ("rmi://localhost:1099/serverName") ???

Thanks.
martin

Yep the URL is right. What is the exception you are getting?
Did u make sure that you can ping the server m/c from the client m/c.
martin_ua
Greenhorn

Joined: Aug 04, 2003
Posts: 3
Originally posted by Rangarajan Suresh:

Yep the URL is right. What is the exception you are getting?
Did u make sure that you can ping the server m/c from the client m/c.

The problem is i can't creat skeleton and stub class under windows os in rmic as i used to created them successfully under unix system .
whenever i tried to creat them using rmic instrument , the windows system always showed me " can't locate the class files in that direcotry" .
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: a simple c/s system question