The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Shutting down the application server

Posted by Sudheer on November 15, 2000 at 8:16 AM

We have our application runnning as a server.It is a main program which initilizes the ORB, regisrers the services with the Name Server and goes into a sleep mode through
thread.currentThread().wait(). WE launch this as a process on UNIX.We want to write an shutdown mechanisn which would de-register the services from the Name Server, deallocate the resourses and then make an exit. What is the best way to do a clean shutdown ?


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us