Oracle Glassfish Server Installation Guide Release 3.1.2 E24935-01
Total Page:16
File Type:pdf, Size:1020Kb
Oracle GlassFish Server Installation Guide Release 3.1.2 E24935-01 February 2012 This book contains instructions for installing and uninstalling Oracle GlassFish Server software. Oracle GlassFish Server Installation Guide, Release 3.1.2 E24935-01 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services. Contents Preface ................................................................................................................................................................ vii 1 Installing GlassFish Server 3.1.2 Installation Requirements...................................................................................................................... 1-1 Javassist Library License Notice ...................................................................................................... 1-1 Installation Files for GlassFish Server 3.1.2........................................................................................ 1-8 GlassFish Server Download Locations ........................................................................................... 1-8 GlassFish Server Installation Methods............................................................................................ 1-8 Choosing an Installation Method .................................................................................................... 1-9 GlassFish Server ZIP Files.............................................................................................................. 1-11 GlassFish Server Self-Extracting Bundles.................................................................................... 1-11 HTTP Load Balancer Plug-in for Oracle GlassFish Server........................................................ 1-12 Installing GlassFish Server From a ZIP File .................................................................................... 1-12 To Install GlassFish Server Using the ZIP File............................................................................ 1-13 Installing GlassFish Server From a Self-Extracting Bundle ......................................................... 1-13 To Install GlassFish Server Using the Self-Extracting File ........................................................ 1-14 To Perform a Custom Installation................................................................................................. 1-17 Custom Configuration Parameters............................................................................................... 1-20 Performing a Silent Mode Installation ............................................................................................. 1-22 Creating the Installation Answer File .......................................................................................... 1-22 Reviewing the Installation Answer File....................................................................................... 1-25 Installing in Silent Mode ................................................................................................................ 1-28 Installation Command-Line Options ................................................................................................ 1-28 2 Uninstalling GlassFish Server 3.1.2 Removing a GlassFish Server Installation .......................................................................................... 2-1 To Uninstall GlassFish Server Software After a ZIP File Installation......................................... 2-1 To Uninstall GlassFish Server Software After a GUI-Mode Installation ................................... 2-2 iii List of Examples 1–1 Example Answer File............................................................................................................... 1-25 1–2 Answer File Template for GlassFish Server 3.1.2................................................................ 1-26 iv v List of Tables 1–1 GlassFish Server 3.1.2 Installation Methods .......................................................................... 1-8 1–2 GlassFish Server Full Profile and Web Profile Features.................................................... 1-10 1–3 GlassFish Server Downloadable ZIP Files .......................................................................... 1-11 1–4 GlassFish Server Self-extracting Bundles ............................................................................ 1-12 vi Preface This document contains instructions for installing and uninstalling Oracle GlassFish Server 3.1.2 software. This preface contains information about and conventions for the entire Oracle GlassFish Server (GlassFish Server) documentation set. GlassFish Server 3.1.2 is developed through the GlassFish project open-source community at http://glassfish.java.net/. The GlassFish project provides a structured process for developing the GlassFish Server platform that makes the new features of the Java EE platform available faster, while maintaining the most important feature of Java EE: compatibility. It enables Java developers to access the GlassFish Server source code and to contribute to the development of the GlassFish Server. The GlassFish project is designed to encourage communication between Oracle engineers and the community. The following topics are addressed here: ■ GlassFish Server Documentation Set ■ Related Documentation ■ Typographic Conventions ■ Symbol Conventions ■ Default Paths and File Names ■ Documentation, Support, and Training ■ Searching Oracle Product Documentation ■ Documentation Accessibility GlassFish Server Documentation Set The GlassFish Server documentation set describes deployment planning and system installation. For an introduction to GlassFish Server, refer to the books in the order in which they are listed in the following table. Book Title Description Release Notes Provides late-breaking information about the software and the documentation and includes a comprehensive, table-based summary of the supported hardware, operating system, Java Development Kit (JDK), and database drivers. Quick Start Guide Explains how to get started with the GlassFish Server product. vii Book Title Description Installation Guide Explains how to install the software and its components. Upgrade Guide Explains how to upgrade to the latest version of GlassFish Server. This guide also describes differences between adjacent product releases and configuration