• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

How to start registry?

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic