users@glassfish.java.net

Re: Difference between default-config and server-config?

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Mon, 08 Aug 2011 10:31:12 -0500

The "default-config" is used for creating the config for clusters and
stand-alone instances. The "server-config" is for the DAS.

Regarding why --client is used for the DAS, the answer I received for
that from last December is that --client gives better startup
performance for the developer when using the DAS.

http://java.net/projects/glassfish/lists/dev/archive/2010-12/message/23

Tom

On 8/8/2011 10:14 AM, Laird Nelson wrote:
> I assume one of these domain.xml elements is a prototype or template
> for the other.
>
> However, I noticed that when I install a clean Glassfish 3.1.1 build,
> the default-config has as one of its JVM options "-server", whereas
> the server-config has "-client" instead. I would think that there
> would be NO cases where you'd want "-client" as a JVM parameter.
>
> Thanks for any tips.
>
> Best,
> Laird