admin@glassfish.java.net

Re: can we reference default-config when creating instance ?

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Wed, 15 Dec 2010 16:08:14 -0800

Those are special configs. You can't use a cluster config either.

You can; however, make a snapshot copy of the config "copy-config" and
use that.


On 12/15/2010 3:57 PM, Anissa Lam wrote:
>
> I can create the instance successfully and start it.
> %asadmin create-instance --node localhost-domain1 --config
> default-config TEST
>
> But in the documentation, it says:
> --config
> Specifies the named configuration that the instance
> references. The configuration must exist and must not be
> named default-config or server-config.
>
> At first, i thought maybe the doc is wrong, but then, I also remember
> seeing email that said default-config and server-config cannot be
> referenced.
> Can someone tell me what is the expected behavior ?
>
> thanks
> Anissa.