Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a simple c/s system question

 
martin_ua
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rangarajan Suresh
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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" .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic