dev@glassfish.java.net

Re: Server Restart Code

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Fri, 29 Aug 2008 09:54:18 -0700

Jason Lee wrote:
> 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.
that's right.
> Should we have some sort of AMX API for this?
we could, or alternatively, you could use the simple REST API.

jerome
>
>
> Jason Lee - x31197
> Senior Java Developer, Sun Microsystems
> GlassFish Admin Console Team
> Email: jasondlee_at_sun.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>