Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rmiregistry shutdown?

Status
Not open for further replies.

jebrick

Programmer
Jun 8, 1999
1
0
0
US
Anyone know if their is a way to shutdown a registry other than a system restart?
 
hi jebrick,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;as of now there s no specific graceful way to shutdown the rmi registry .there s one way to do it in somewhat graceful manner ..<br>ie <br>&nbsp;Try using the class<br>&nbsp;&quot;java.rmi.registry.LocateRegistry&quot; to &quot;createRegistry(portNumber)&quot; from within your servant object. When the servant exits, the registry goes&nbsp;&nbsp;away, too. More graceful. <br><br>ganesh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top