I am still interested in an answer to these questions....
attached mail follows:
Thanks for the correction on create vs. copy...
I am still interested in what an administrator would do with a second
config object, though.
I looked around in the domain.xml for a "developer" profile domain to
see what I could find....
I found a config, named "server-config". It was used as an attribute of
a server element. That server element has the name "server"...
I guess that an admin could create a duplicate config object... and
associate that config object with a server object...
Is there a command that does that?
Thanks,
vbk
Kedar Mhaswade wrote:
>
>
> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>