dev@glassfish.java.net

Re: Server Restart Code

From: Jason Lee <jasondlee_at_sun.com>
Date: Thu, 28 Aug 2008 21:12:53 -0500

On Aug 28, 2008, at 2:54 PM, Jerome Dochez wrote:

> if you want to stop the running server, the easiest is to issue an
> internal stop-domain command. AppStartup.java has code to do that in
> case there is a catastrophic failure on startup.


If I'm looking in the right place, that code makes use of the
CommandRunner class, which is in the kernel. If I recall correctly,
we're not supposed to use kernel classes. Should we have some sort of
AMX API for this?

Jason Lee - x31197
Senior Java Developer, Sun Microsystems
GlassFish Admin Console Team
Email: jasondlee_at_sun.com