users@glassfish.java.net

Re: Static configuration of Glassfish

From: Sathyan Catari <Sathyan.Catari_at_oracle.com>
Date: Thu, 17 May 2012 13:24:12 -0700

Please see inline..
Thanks
Sathyan

On 5/17/12 11:55 AM, Kevin Regan wrote:
>
> We have a build and install system where starting up Glassfish
> (v3.1.2) in order to configure it would be problematic. Is it
> possible to do all Glassfish configuration statically by directly
> modifying configuration files?
>
It is possible, but not officially tested/supported. It is strongly
recommended to use the interfaces(console, admin commands, REST,
JConsole etc.,) available in the product binaries to access these
configuration files.
>
> Are there any parts of the configuration or deployment process that
> absolutely require the use of the asadmin command and a running
> Glassfish process? Also, is there documentation available for how to
> configure Glassfish through its configuration files?
>
> Sincerely,
>
> Kevin Regan
>