dev@glassfish.java.net

Re: [Update] TCP port unification in GlassFish

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Fri, 10 Nov 2006 10:26:42 -0800

Jeanfrancois,

Please advise: is this, or isn't this for public use?

If it is for customer use (via CLI, GUI or described documentation),
then it must be exposed in AMX, and it must have an ARC taxonomy of
Committed, and it must remain compatible.


Lloyd

On Nov 10, 2006, at 10:14 AM, Jeanfrancois Arcand wrote:

>
>
> Lloyd L Chambers wrote:
>> Jeanfrancois,
>> PLEASE BE SURE TO INFORM ME OF ANY ADDITIONS OR CHANGES, AS THESE
>> ARE PUBLIC APIS in AMX.
>
> No no. Don't expose that in AMX (we anyway don't expose http-
> listener properties usually, right?). Wait for 9.2 :-)
>
> I've used property to avoid impacting any team. Not to say the list
> of protocols is infinite and shouldn't be restricted.
>
> -- Jeanfrancois
>
>
>
>> 1) What are all the legal values which can be used?
>> 2) Are they comma-separated or space separated?
>> 3) I've added the following (so far ) to AMX
>> com.sun.appserv.management.config.HTTPListenerConfig:
>> /**
>> Legal values can be {_at_link #PROTOCOL_HTTP}, {_at_link
>> #PROTOCOL_HTTPS}, {_at_link #PROTOCOL_WSIT},
>> {_at_link #PROTOCOL_IIOP}
>> */
>> public static final String PROXIED_PROTOCOLS_PROPERTY =
>> "proxied_protocols";
>> /** one of the possible protocols for {_at_link
>> #PROXIED_PROTOCOLS_PROPERTY} */
>> public static final String PROTOCOL_HTTP = "http";
>> /** one of the possible protocols for {_at_link
>> #PROXIED_PROTOCOLS_PROPERTY} */
>> public static final String PROTOCOL_HTTPS = "https";
>> /** one of the possible protocols for {_at_link
>> #PROXIED_PROTOCOLS_PROPERTY} */
>> public static final String PROTOCOL_WSIT = "wsit";
>> /** one of the possible protocols for {_at_link
>> #PROXIED_PROTOCOLS_PROPERTY} */
>> public static final String PROTOCOL_IIOP = "iiop";
>> Lloyd
>> On Nov 9, 2006, at 12:42 PM, Jeanfrancois Arcand wrote:
>>> Hi,
>>>
>>> just an update about the TCP port unification that will soon be
>>> enabled. The feature will be enabled via domain.xml the following
>>> way:
>>>
>>> <http-listener ... port="4848" ... security-enabled="false">
>>> <property name="proxied_protocols" value="https"/>
>>> </http-listener>
>>>
>>> <http-listener ... port="4848" ... security-enabled="true">
>>> <property name="proxied_protocols" value="http"/>
>>> </http-listener>
>>>
>>> <http-listener ... port="8080" ... security-enabled="false">
>>> <property name="proxied_protocols" value="wsit"/>
>>> </http-listener>
>>>
>>> For 9.1, only port 8080 and 4848 will use the feature. People
>>> that are interested to extends the current protocols list will
>>> have to follow what I've described in [1].
>>>
>>> Comments?
>>>
>>> -- Jeanfrancois
>>>
>>> [1] http://weblogs.java.net/blog/jfarcand/archive/2006/11/
>>> one_port_to_rul.html
>>>
>>> --------------------------------------------------------------------
>>> -
>>> 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
>