This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How wo stop and kill rmiregistry ?

 
dennis deng
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, guys,
does anyone know how to stop and kill rmiregistry which run in the background when project exit ? I donot like to close rmiregistry windows manually every time i stop the FBN server.
Thanks alot
dennis
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After closing the database and unbinding the Object, I issue:
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
If you use:

<code>LocateRegistry.createRegistry(PORT);</code>

in your code, then the rmiregistry is started when you starts your e.g. RMIServer, and shutdown when you stops the server.
/Ren´┐Ż
 
dennis deng
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh, thanks Mark and Rene ..
but I start rmiregistry by DOS command : start rmiregistry port. how can i stop this one?
dennis
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
As you self started "...manually every time i stop the FBN server.."
If you want to stop the rmiregistry when the server stop, then you have to use the <code>LocateRegistry.createRegistry(PORT);</code> in your code..


/Rene
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic