Sun GlassFish Enterprise Server v3 Installation Guide

Reviewing the Installation Answer File

The answer file provides a number of system-specific parameters as well as parameters that you selected during trial mode installation. Values for some parameters can be edited as described in To Edit the Answer File.

The following example shows the contents of an answer file that was created during a trial mode installation. Default values were accepted during the installation.


Example 1–1 Example Answer File


#openInstaller Dry Run Answer File. This File can be used as input to
the openInstaller engine using the -a option.
#Tue Nov 10 19:25:05 PST 2009
RegistrationOptions.regoptions.CREATE_NEWACCT=CREATE_NEWACCT
glassfish.Administration.HTTP_PORT=8080
updatetool.Configuration.PROXY_PORT=
glassfish.Administration.ADMIN_PASSWORD=
JDKSelection.directory.JDK_FROM_LIST_CHOICE=true
RegistrationOptions.regoptions.SKIP_REGISTRATION=SKIP_REGISTRATION
updatetool.Configuration.PROXY_HOST=
SOAccountCreation.accountinfo.COUNTRY=
InstallHome.directory.INSTALL_HOME=C\:\\glassfishv3
RegistrationOptions.regoptions.USE_EXISTINGACCT=USE_EXISTINGACCT
SOAccountCreation.accountinfo.FIRSTNAME=
updatetool.Configuration.ALLOW_UPDATE_CHECK=true
glassfish.Administration.ADMIN_USER=admin
JDKSelection.directory.JDK_LIST=JDK-location
SOAccountCreation.accountinfo.PASSWORD=
SOAccountCreation.accountinfo.COMPANYNAME=
JDKSelection.directory.HIDDEN_JDK=JDK-location
SOAccountCreation.accountinfo.COUNTRY_DROP_DOWN=
SOAccountCreation.accountinfo.REENTERPASSWORD=
License.license.ACCEPT_LICENSE=0
RegistrationOptions.regoptions.USERNAME=
updatetool.Configuration.BOOTSTRAP_UPDATETOOL=true
SOAccountCreation.accountinfo.LASTNAME=
glassfish.Administration.ADMIN_PORT=4848
RegistrationOptions.regoptions.USERPASSWORD=
JDKSelection.directory.JDK_TYPED_IN_CHOICE=false
SOAccountCreation.accountinfo.EMAIL=
JDKSelection.directory.JDK_TYPE_IN=
RegistrationOptions.regoptions.DUMMY_PROP=

ProcedureTo Edit the Answer File

Some values in the answer file can be changed if desired. Such editing is strictly optional.

Before You Begin

Create the answer file as described in To Create the Installation Answer File.

  1. Review the answer file.

    Review the values that will be used for silent installation.

  2. Edit the answer file.

    Only the following default values can be changed:

    InstallHome.directory.INSTALL_HOME=as-install-parent

    Provide another directory name for Enterprise Server v3 installation files.

    glassfish.Administration.ADMIN_PASSWORD=

    Provide a password for access to the Administration Console. This password is case sensitive.

    glassfish.Administration.ADMIN_PORT=4848

    Assign another port number to the Administration Console.

    glassfish.Administration.ADMIN_USER=admin

    Provide another user name for the administrator. This name is case sensitive.

    glassfish.Administration.HTTP_Port=8080

    Assign another port number to HTTP connections.

    glassfish.Administration.JDK_TYPE_IN=jdk-location

    Can be set to a location that contains a required JDK 6 installation.

    glassfish.Administration.JDK_TYPED_IN_CHOICE=true

    Can be set to true or false. Always set this value to true if you are using the answer file for silent installation.

    glassfish.Administration.HIDDEN_JDK=jdk-location

    Not to be used for this release. Ignore this variable.

    updatetool.Configuration.ALLOW_UPDATE_CHECK=true

    Change value to false if you do not want Update Tool notifications.

    updatetool.Configuration.BOOTSTRAP_UPDATE=true

    Change value to false if you do not want to install the standalone Update Tool.

    updatetool.Configuration.PROXY_HOST=

    Assign a name to the proxy host.

    updatetool.Configuration.PROXY_PORT=

    Assign a port number to the proxy host.


    Note –

    Parameters not listed are system specific. Do not change system-specific parameters. Doing so will cause problems with the installation program.