Re: http-listener-2 in domain.xml
Shing Wai Chan wrote:
> So, then there is a change in domain.xml templates.
>
> Yesterday, we need
> configs.config.server-config.network-config.protocols.protocol.http-listener-2.security-enabled=true
>
>
No, we didn't.
> But today, according to the template below, we need
> configs.config.server-config.network-config.network-listeners.network-listener.http-listener-2.enabled=true
>
>
This is what you need.
> (I am ok with above as there is only one set command.)
>
> Regards,
> Shing Wai Chan
>
> Justin Lee wrote:
>> The current template has the follow entries:
>>
>> <network-listener port="8181" enabled="false"
>> protocol="http-listener-2" transport="tcp" name="http-listener-2"
>> thread-pool="http-thread-pool"></network-listener>
>>
>> and
>> <protocol security-enabled="true" name="http-listener-2">
>> <http default-virtual-server="server"
>> max-connections="250" server-name="">
>> <file-cache enabled="false"></file-cache>
>> </http>
>> <ssl ssl3-enabled="false" cert-nickname="s1as"></ssl>
>> </protocol>
>>
>> The listener itself is defaulted to disabled while the security for
>> that listener is defaulted to enabled. To turn on http-listener-2,
>> you only need to set enabled="true" on the listener itself.
>>
>> Shing Wai Chan wrote:
>>> Justin Lee wrote:
>>>> That hasn't changed in a long time. Those two attributes have
>>>> always been needed...
>>> The attributes may be there. But I am talking about the domain.xml.
>>> Now, the question is why we need to "change" two attributes to
>>> enable the http-listener-2 with https?
>>> It gets used to be one attribute.
>>>>
>>>> Shing Wai Chan wrote:
>>>>> Justin Lee wrote:
>>>>>> security-enabled is not a valid attribute for network-listener.
>>>>>> that belongs on protocol.
>>>>> Yes, I know. My point is why we need two attributes to start
>>>>> http-listener-2 with https.
>>>>> But we only need to set one attribute yesterday.
>>>>>
>>>>>>
>>>>>> Shing Wai Chan wrote:
>>>>>>> Hi,
>>>>>>> I notice some changes in domain.xml as follows:
>>>>>>> <network-listener port="61934" *enabled="false"*
>>>>>>> protocol="http-listener-2" transport="tcp"
>>>>>>> name="http-listener-2"
>>>>>>> thread-pool="http-thread-pool"></network-listener>
>>>>>>>
>>>>>>> In order to enable http-listener-2 as https,
>>>>>>> Yesterday, we have to set http-listener-2 with
>>>>>>> security-enabled=true
>>>>>>> Today, we have to set http-listener-2 with security-enabled=true
>>>>>>> "and" enabled=true
>>>>>>>
>>>>>>> Why do we want user to do set both enabled and security-enabled?
>>>>>>> Should we have security-enabled=true for http-listener-2 in
>>>>>>> domain.xml so that user only need to enabled=true?
>>>>>>> Regards,
>>>>>>> Shing Wai Chan
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> 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
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>