admin@glassfish.java.net

Re: restart-required flag

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Fri, 30 Oct 2009 14:07:52 -0700

Bill,

I hadn't thought the end-to-end through.

You could use AMX, but it sets a precedent.

IMO there are way too many commands (server side) being written that
could just call a server API instead; server-side commands IMO are
best used when there is complexity (multi-step) to capture.


Lloyd

On Oct 30, 2009, at 1:47 PM, Bill Shannon wrote:

> So why did you bring up dotted names if that can't work?
>
> I guess I'm back to adding a new asadmin command...
>
>
> Lloyd Chambers wrote on 10/30/09 13:35:
>> Unfortunately the dotted name stuff is limited in its capability to
>> address anything but specific subsystems.
>> AMX is 100% automatic and self-building with its paths, but CLI
>> does not support those.
>> Lloyd
>> On Oct 30, 2009, at 12:56 PM, Bill Shannon wrote:
>>> Sure, if you guys can create a dotted name I won't need a new
>>> asadmin
>>> command. Let me know...
>>>
>>> Lloyd Chambers wrote on 10/30/09 12:31:
>>>> Sounds like you need a dotted name and that would do it if it
>>>> existed for monitoring.
>>>> On Oct 30, 2009, at 12:00 PM, Bill Shannon wrote:
>>>>> Jerome Dochez wrote on 10/30/09 11:51:
>>>>>> niet, too late :)
>>>>>> I think we should just implement the v2 behavior of list-domains.
>>>>>
>>>>> Right, that's what I'm trying to do, but since list-domains is a
>>>>> local
>>>>> command, it needs to execute a remote command to determine if the
>>>>> server needs to be restarted. There's no existing remote command
>>>>> that provides that information, nor do I see one that can
>>>>> obviously
>>>>> be extended to provide that information.
>>>>>
>>>>> So, what new command should I add to provide this information?
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>>>
>>>> Lloyd Chambers
>>>> lloyd.chambers_at_sun.com
>>>> GlassFish Team
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish Team
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team