• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to start registry?  RSS feed

 
jayashree murugan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've just started learning RMI. Working in Unix. I created the Remote Interface and server classes. Compiled them. Used rmic to generate the stubs and skeletons. After this i gave the command "start rmiregistry" to start the registry. I get an error "Cannot activate /opt/registry/start_rmiregistry - no such file". Why are the rmic commands working and this particular one giving me a problem?

[This message has been edited by jayashree murugan (edited July 11, 2000).]
[This message has been edited by jayashree murugan (edited July 11, 2000).]
 
Milind Kulkarni
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jayashree,
For UNIX machine ---
Use rmiregistry command to start a remote object registry on the specified current host.
rmiregistry [port]
The rmiregistry creates and startes a remote object registry on the specified port on the current host. Default port value is 1099 i.e. if no port number is specified then registry is started on the port 1099.
Regards,
Milind

 
jayashree murugan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Milind.
It worked. But after that I had another problem while loading the Remote Object. I've posted the question, could you please check it out?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!