users@glassfish.java.net

Re: Restarting Glassfish

From: <glassfish_at_javadesktop.org>
Date: Sat, 22 Sep 2007 23:11:59 PDT

Will,

This has been a long-standing request and though this is a rather intricate issue of restarting a
process from within itself.

The approach of "Platform Specific Service Mechanism" like SMF/Windows-Services may not help us here, because this is actually a legitimate shutdown followed by a start operation. There is
a possibility of exiting with a specific exit code and then rely on operating system to bring the
process back up.

Another problem is that users don't always like creating an operating system service for GlassFish server process.

A watchdog can be thought of as an option, but that increases the number of processes to 2 and
that too is not well accepted by most.

This needs some careful thought ...

- Kedar
[Message sent by forum member 'km' (km)]

http://forums.java.net/jive/thread.jspa?messageID=236638