users@glassfish.java.net

Re: asadmin question

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Wed, 10 Sep 2008 11:25:34 -0700

Russ Petruzzelli wrote:
> Thanks. Nothing on STDOUT, but tailing the server.log I do see it
> bounce. Fairly quick bounce too. Not like initial startup. I'll have
> to remember that.
>
> I'm actually on Sun appserver 9.1 u2. Not sure which version of
> glassfish under the covers...

That has GF v2 u2, by definition.

And yes, since you are changing the http-listener, it is restarted
behind the scenes, since it is dynamically reconfigurable! You don't
have to restart the entire server. This is one of the hidden gems
in GF (thanks to Jan, JFA, Amy ...) that score over Tomcat where
bouncing the server VM is required for any little change.

We are trying to get there for GF v3 ...


>
> Russ
>
> Jane Young wrote:
>> Is this a GlassFish v2 or v3 question?
>> If v2, then list-domains/list-instances should display restart required.
>> Currenctly v3 does not display this information but you should be able
>> to see it in server.log.
>> BTW: there is an bug opened in v3 to display restart message for
>> dotted-name commands (get, set and list).
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5835
>>
>> HTH,
>> Jane
>>
>> Russ Petruzzelli wrote:
>>
>>> Is there a way to know if a particular subcommand of asadmin requires
>>> restarting the instance or not?
>>>
>>> For example:
>>> ./asadmin set
>>> server.http-service.http-listener.http-listener-1.acceptor-threads=32
>>>
>>> Thanks,
>>> Russ
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>