JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server 3.1 Installation Guide
search filter icon
search icon

Document Information

Preface

1.  Installing GlassFish Server 3.1

Installation Requirements

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 ZIP Files

GlassFish Server Self-Extracting Bundles

HTTP Load Balancer Plug-in for Oracle GlassFish Server

Installing GlassFish Server From a ZIP File

To Install GlassFish Server Using the ZIP File

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

To Edit the Answer File

Installing in Silent Mode

To Install Using Silent Mode

Installation Command-Line Options

2.  Uninstalling GlassFish Server 3.1

Index

Installation Files for GlassFish Server 3.1

The following topics are addressed here:

GlassFish Server Download Locations

Installation files for Oracle GlassFish Server 3.1 are available from the GlassFish Server Downloads page.

GlassFish Server Installation Methods

Table 1-1 lists the various Oracle GlassFish Server installation methods. The table also provides links to installation instructions for each method.


Note - Before performing any GlassFish Server installation, ensure that your environment adheres to the JDK guidelines in Paths and Environment Settings for the JDK Software in Oracle GlassFish Server 3.1-3.1.1 Release Notes.


Table 1-1 GlassFish Server 3.1 Installation Methods

Installation Method
Installation Instructions
Multi-platform ZIP file
Solaris, Linux, Mac OS, UNIX, or Windows self-extracting bundle in graphical mode
Solaris, Linux, Mac OS, UNIX, or Windows self-extracting bundle in silent mode

Each of the installation methods listed in Table 1-1 also let you choose between installing the Full Platform or the Web Profile. These two distributions are explained in the next section.

Choosing an Installation Method

There are two general sets of questions you should consider when deciding which GlassFish Server 3.1 installation method to use.

ZIP Package or Self-Extracting Bundle?

The relative features and strengths of the GlassFish Server ZIP packages and self-extracting bundles are listed below.

Full Platform or Web Profile Distribution?

Each of the installation methods listed in Table 1-1 also let you choose to install either the GlassFish Server Full Platform or Web Profile distribution. Table 1-2 lists the features available in each of these two distributions. Note that some of these features are value-adds, and are not required by the Java 6 EE specification.

Table 1-2 GlassFish Server Full Profile and Web Profile Features

Feature
Full Platform
Web Profile
Java Platform, Enterprise Edition 6
X
X
EJB 3.1 Lite (Support for Local Container only)
X
X
JTS/JTA 1.1 **
X
X
OSGi-based microkernel
X
X
Java Web Technologies (Servlet 3.0, JSP 2.2, JSF 2.0, JSTL 1.2, EL 2.2)
X
X
Grizzly/Comet
X
X
JPA 2.0, (EclipseLink), JDBC Connection Pooling
X
X
JDBC 4.0
X
X
JavaDB 10.5.3
X
X
Web Administration Console and CLI
X
X
Rapid Redeployment (Maintain session state on application redeploy)
X
X
OMG CORBA APIs 3.0
X
X
Debugging Support for Other Languages 1.0
X
X
Common Annotations for Java 1.1
X
X
Dependency Injection for Java 1.0
X
X
Managed Beans 1.0
X
X
Interceptors 1.1
X
X
Contexts and Dependency Injection for Java 1.0 (CDI, ex-Web Beans)
X
X
Bean Validation 1.0
X
X
JAX-RS 1.1 (Jersey)
X
X
EJB 3.1 Full API (Support for Remote Container)
X
-
Java EE Connector Architecture 1.6
X
-
JAX-WS 2.2
X
-
JAXB 2.2
X
-
Implementing Java Web Services 1.3
X
-
Web Services Metadata for the Java Platform 2.1
X
-
JMS 1.1
X
-
JavaMail 1.4
X
-
JACC 1.4
X
-
Java Authentication Service Provider Interface for Containers 1.1
X
-
Java EE Application Deployment 1.2
X
-
J2EE Management 1.1
X
-
JAX-RPC 1.1
X
-
JAXR 1.0
X
-
CORBA 3.0.0
X
*
Metro
X
-

* The Full Java EE Platform contains the complete CORBA package. The OMG CORBA v3.0 APIs are available in the Java EE Web Profile.

** Transaction propagation not supported.


Note - Regardless of whether you choose the Full Platform or Web Profile distribution, you can add or removed packages after installation by using the Update Tool or pkg utility. See Chapter 11, Extending and Updating GlassFish Server, in Oracle GlassFish Server 3.1 Administration Guide for more information.


GlassFish Server ZIP Files

The Oracle GlassFish Server 3.1 multi-platform ZIP files are compatible with Solaris, Linux, Mac OS, UNIX, and Windows operating systems. See GlassFish Server Download Locations for a list of download locations.

Table 1-3 lists the available ZIP file downloads.


Note - In all cases, the *-ml.zip bundles in the table are multilingual versions of the product.


Table 1-3 GlassFish Server Downloadable ZIP Files

ZIP File
Description
ogs-3.1.zip
ogs-3.1–ml.zip
Full Platform distribution of Oracle GlassFish Server
ogs-3.1-web.zip
ogs-3.1–web-ml.zip
Web Profile distribution of Oracle GlassFish Server

GlassFish Server Self-Extracting Bundles

The Oracle GlassFish Server 3.1 self-extracting bundles are platform-specific, and are available for Solaris, Linux, Mac OS, UNIX, and Windows operating systems. See GlassFish Server Download Locations for a list of download locations.

Table 1-4 lists the available self-extracting bundles.


Note - In all cases, the *-ml.* bundles in the table are multilingual versions of the product.


Table 1-4 GlassFish Server Self-extracting Bundles

Self—Extracting Bundle
Description
ogs-3.1-unix.sh
ogs-3.1-windows.exe
ogs-3.1-unix-ml.sh
ogs-3.1-windows-ml.exe
Full Platform distribution of Oracle GlassFish Server for Solaris, Linux, and Mac OS X systems (*-unix.sh) and Windows (*-windows.exe)
ogs-3.1-web-unix.sh
ogs-3.1-web-windows.exe
ogs-3.1-web-unix-ml.sh
ogs-3.1-web-windows-ml.exe
Web Profile distribution of Oracle GlassFish Server for Solaris, Linux, and Mac OS X systems (*-unix.sh) and Windows (*-windows.exe)

HTTP Load Balancer Plug-in for Oracle GlassFish Server

The HTTP Load Balancer Plug-in for Oracle GlassFish Server 3.1 provides high availability load balancing features for GlassFish Server.

The Plug-in is shipped as a ZIP bundle that you install after installing and configuring GlassFish Server and your desired Web server. The Plug-in is installed by means of a graphical Load Balancer Configurator that helps you configure your Web server and GlassFish Server to work together.


Note - The Load Balancer Plug-in is only available to customers who are using Oracle GlassFish Server 3.1. The Plug-in is not available for GlassFish Server Open Source Edition.


See Chapter 7, Configuring Web Servers for HTTP Load Balancing, in Oracle GlassFish Server 3.1-3.1.1 High Availability Administration Guide for instructions on installing the HTTP Load Balancer Plug-in and performing the configuration steps required to make the Plug-in work with your Web server.