Book Image

GlassFish Administration

By : Xuekun Kou
Book Image

GlassFish Administration

By: Xuekun Kou

Overview of this book

To build a powerful production environment for your Java EE systems, you need a great application server, and the skills to manage it. This book gives you all that you are looking for. This book will help you gain the necessary skills to install, configure, tune, and troubleshoot GlassFish so that you can fully unleash its power. It will teach you how to use the GlassFish application server, with a special focus on administration tasks. It presents the GlassFish administrative tasks in a logical sequence, with each chapter focusing on a specific topic. Starting with installation and moving through configuration, this book takes a careful look at the administration console so that you get a complete understanding of GlassFish and its administrative features. It will help you understand how to deploy Java EE, Ruby on Rails and other supported applications to GlassFish, and how to configure the necessary resources for these applications. You will also learn how to maintain, tune, and troubleshoot your GlassFish server. Also includes a bonus chapter introducing Glassfish v3.
Table of Contents (17 chapters)
GlassFish Administration
About the Author
About the Reviewers

Understanding the GlassFish deployment structure

In this section, we will get familiar with the GlassFish Server's overall directory structure, and then dive into the administrative domain to explore the GlassFish configuration files.

The directory structure of GlassFish

The essential directory structure of a GlassFish installation is illustrated in the following screenshot. The purpose and content of these directories are discussed in the following section.


The installer-based GlassFish distribution also creates several additional directories and files such as the uninstaller. We do not discuss this content in this chapter. You can find more information on them in the GlassFish documentation.

The bin directory contains important executable scripts for the GlassFish. For example, the asadmin script is the primary command line (CLI) administrative tools for GlassFish. You have used asadmin to start and stop the GlassFish Server earlier in the chapter, and a detailed discussion of the capability...