dev@glassfish.java.net

Re: asadmin get doesn't return non-default property

From: Justin Lee <justin.d.lee_at_oracle.com>
Date: Fri, 04 Jun 2010 16:33:11 -0400

Defaulted properties are return via get just fine. All properties are
returned.

On 6/4/10 2:43 PM, Amy Roh wrote:
> So it looks like the property isn't getting returned via asadmin get
> because it is @Deprecated, correct?
>
> Justin Lee wrote:
>> There is no default for default-response-type because the servlet
>> specification forbids the container from doing so. It's left in the
>> interface at all for legacy reasons and for the cases where
>> administrators might wish to set such a value. But by default,
>> glassfish can not enforce a default response type (SRV 5.2).
>>
>> On 6/4/10 2:14 PM, Amy Roh wrote:
>>> An issue [1] is filed because the property
>>> default-response-type=text/plain missing for a http protocol.
>>>
>>> The property doesn't get returned via asadmin get if the property
>>> has the default value. If I set the property to a non-default
>>> value, the property gets returned by asadmin get. According to SQE,
>>> this behavior is changed from before.
>>>
>>> Can someone from Admin CLI confirm this?
>>>
>>> bin/asadmin get
>>> configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.*
>>>
>>>
>>> configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.default-response-type=
>>>
>>>
>>> [1] https://glassfish.dev.java.net/issues/show_bug.cgi?id=12090
>>>
>>> Thanks,
>>> Amy
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>