dev@glassfish.java.net

Re: Network config questions

From: <June.Parks_at_Sun.COM>
Date: Tue, 28 Jul 2009 11:35:47 -0700

On 07/28/09 10:42, Kim Haase wrote:
> I'm working on the GFv3 Admin Console online help for network
> configuration and related elements -- network listeners, protocols,
> thread pools, virtual servers. June Parks's draft of the Domain File
> Format Reference, available at
> http://wiki.glassfish.java.net/Wiki.jsp?page=AdministrationReference,
> has been extremely helpful. However, I'm wondering about what order an
> administrator needs to create these objects in.
>
> The draft Domain File Format Reference entry on the protocol attribute
> of the network-listener element is a bit confusing -- it says,
>
> "Specifies the name of the protocol associated with this network
> listener. Although this attribute is required, a protocol is
> automatically created with the same name as the network listener when
> you use the asadmin create-http-listener command to create a network
> listener."
To the best of my knowledge, both the create-network-listener and
create-http-listener commands are supposed to create a protocol by
default if one is not specified. They are also supposed to use the
default transport. Engineers, if there has been a change of plan,
please let us writers know.

June
>
> Actually the command to create a network listener is of course
> create-network-listener, and it does not seem to create a protocol
> automatically. Should it? (Whether it should or not, there are some
> ramifications both for the command line and the Admin Console, but I
> can file issues depending on what ought to happen.)
>
> So if you want to create a network listener, do you have to create a
> protocol first? Do you have to have a unique protocol for each network
> listener and vice versa? This seems to be the case for the ones that
> are created by default.
>
> Also, is it correct that a virtual server is normally associated with
> one or more network listeners, but that you can create a virtual
> server that isn't associated with any network listener, then create
> the network listener, then edit the virtual server to specify that
> network listener?
>
> Thanks very much,
> Kim Haase
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>