The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000

Advertisement

Advertisement

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.

Message:

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 ?



Replies:

Sponsored Links



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