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.
#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=
Some values in the answer file can be changed if desired. Such editing is strictly optional.
Create the answer file as described in To Create the Installation Answer File.
Review the answer file.
Review the values that will be used for silent installation.
Edit the answer file.
Only the following default values can be changed:
Provide another directory name for GlassFish Server 3.0.1 installation files.
Provide a password for access to the Administration Console. This password is case sensitive.
Assign another port number to the Administration Console.
Provide another user name for the administrator. This name is case sensitive.
Assign another port number to HTTP connections.
Can be set to a location that contains a required JDK 6 installation.
Can be set to true or false. Always set this value to true if you are using the answer file for silent installation.
Not to be used for this release. Ignore this variable.
Change value to false if you do not want Update Tool notifications.
Change value to false if you do not want to install the standalone Update Tool.
Assign a name to the proxy host.
Assign a port number to the proxy host.
Parameters not listed are system specific. Do not change system-specific parameters. Doing so will cause problems with the installation program.