Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Clean server shutdown(How can I trigger a clean server shutdown?)
Clean server shutdown [message #1220389] Wed, 11 December 2013 12:56
Patrick Mackinlay is currently offline Patrick MackinlayFriend
Messages: 10
Registered: December 2013
Junior Member
I'm new to Scout, and I'm trying to understand two aspects of the server's shutdown behaviour.

How can I trigger a "clean" shutdown of the server application? At the moment, I'm just using the red stop button in the Eclipse IDE, but I think this is just terminating the process, and not allowing any shutdown hooks or helpers to be triggered.

Assuming I get that question answered, I also want to know how should I have a service participate in the shutdown process? In my case, my persistence service needs to cleanly shut down the underlying storage engine, so that it can tidy up its logs and other files. If the Scout server is shut down cleanly, will it call the disposeServices() method in my AbstractService implementation?
Previous service vs. proxy
Next Topic:How to participate in service transactions?
Goto Forum:

Current Time: Thu May 28 22:57:56 GMT 2020

Powered by FUDForum. Page generated in 0.01851 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top