dev@glassfish.java.net

Re: Server Restart Code

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 28 Aug 2008 19:23:12 -0700

Seems like a good thing to add to AMX at first blush. Would we want
to add the ability to restart programmatically through MBeans?

AMX would have to rely on the kernel if it supported it, I'm not sure
that helps. Jerome should chime in here.

Lloyd

On Aug 28, 2008, at 7:12 PM, 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. 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>