users@glassfish.java.net

Re: what is a config used for?

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Sat, 15 Mar 2008 07:46:48 -0700

vince kraemer wrote:
> Kedar Mhaswade wrote:
>> vince kraemer wrote:
>>> I see commands to create/list/delete-config...
>>
>> Where?
>
> http://docs.sun.com/app/docs/doc/820-4046/6nfhog7sr?a=expand
>

Ah. As you might have noticed, there is no "create-config" command.
A config as used by GlassFish is a "composite" object and since it
contains the configuration of several things at once, there is no
create method for them. What you have on the other hand is a copy-config
command which essentially "clones" a config element.

Every server in a domain has an associated config that creates 90% of the
of that server's configuration world. *-config commands are used to provide
basic management for that "config" element in domain.xml.

>>
>> but I am having trouble
>>> finding out how to use one of these config objects.
>>>
>>> What commands take a config as the value of an option or the operand

copy-config is a command that takes two "configs" as operands: source
and destination.

BTW, this is not available for TP-2.
>>
>> I don't see them here:
>> http://wiki.glassfish.java.net/Wiki.jsp?page=CLICommandsForGlassFishV3TP2
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>