官术网_书友最值得收藏!

Starting the server

Ensure that the RMI registry is started before you start the application:

  • For Microsoft Windows (use javaw if you're unable to start the registry; port_no is optional):
      start rmiregistry <port_no>
  • For Solaris OS or Linux:
      rmiregistry <port_no> &
  • For Microsoft Windows:
     java -cp 
C:DistributedComputingWorkspacesrc;C:DistributedComputingWorkspace
classescalculate.jar -Djava.rmi.server.codebase=
file:C:DistributedComputingWorkspaceclassescalculate.jar -
Djava.rmi.server.hostname=myserver.host.com -
Djava.security.policy=server.policy remote.CalculateEngine
  • For Solaris OS or Linux:
     java -cp 
/home/distributedcomputing/workspace/src;
/home/distributedcomputing/workspace/classes/calculate.jar -
Djava.rmi.server.codebase=http:
//myserver/~server/classes/calculate.jar -
Djava.rmi.server.hostname=myserver.host.com -
Djava.security.policy=server.policy
remote.ComputeEngine
主站蜘蛛池模板: 赫章县| 天镇县| 搜索| 绍兴县| 关岭| 武城县| 团风县| 莱芜市| 咸丰县| 安图县| 扎赉特旗| 巴林右旗| 景泰县| 定结县| 大姚县| 平和县| 简阳市| 内乡县| 天峻县| 唐海县| 峨眉山市| 曲阜市| 屯留县| 章丘市| 玉林市| 博野县| 阿尔山市| 湖州市| 永泰县| 蓬溪县| 腾冲县| 瓮安县| 犍为县| 荆门市| 玉龙| 嵩明县| 澄城县| 临泽县| 会东县| 宿州市| 红桥区|