1. Installing GlassFish Server 3.1
Javassist Library License Notice
Installation Files for GlassFish Server 3.1
GlassFish Server Download Locations
GlassFish Server Installation Methods
Choosing an Installation Method
ZIP Package or Self-Extracting Bundle?
Full Platform or Web Profile Distribution?
GlassFish Server Self-Extracting Bundles
HTTP Load Balancer Plug-in for Oracle GlassFish Server
Installing GlassFish Server From a Self-Extracting Bundle
To Install GlassFish Server Using the Self-Extracting File
To Perform a Custom Installation
Custom Configuration Parameters
Parameters for the Create a server domain Option
Parameters for the Create a standalone server instance Option
Parameters for the Create a clustered server instance Option
Performing a Silent Mode Installation
Creating the Installation Answer File
To Create the Installation Answer File
Reviewing the Installation Answer File
Installation Command-Line Options
This section describes how to install Oracle GlassFish Server 3.1 using the multi-platform ZIP file. GlassFish Server is installed by unzipping the file in the installation directory of your choice.
Note - It is not possible to specify any GlassFish Server configuration options during a ZIP file installation. Any configuration changes, such as creating domains, clusters, and server instances, must be made manually after installation. If you prefer to make such changes during the GlassFish Server installation process, or if you prefer to use the GUI-based installation wizard, follow the instructions in Installing GlassFish Server From a Self-Extracting Bundle.
Before You Begin
Ensure that your system meets the requirements listed in Hardware and Software Requirements in Oracle GlassFish Server 3.1-3.1.1 Release Notes.
Also see Known Issues in Oracle GlassFish Server 3.1-3.1.1 Release Notes for known issues related to installation.
See GlassFish Server Download Locations for a list of download locations. See Table 1-3 for a list of available ZIP files.
Solaris, Linux, and Mac OS X systems:
unzip zip-file-name
zip-file-name is the name of the file that you downloaded.
For example:
unzip ogs-3.1.zip
Windows systems:
Unzip using your favorite file compression utility.
GlassFish Server 3.1 is extracted into a new glassfish3 directory under your current directory. This glassfish3 directory is referred to throughout the GlassFish Server documentation set as as-install-parent.
The guide explains how to perform basic tasks such as starting the server, accessing the Administration Console, and deploying a sample application.