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

Configuring the web container and HTTP service

In this section, we first describe the configuration of the web container in GlassFish, and then discuss how to configure the HTTP service, which is responsible for enabling the HTTP/S access to the web components hosted by the web container.

Configuring the web container

The web container provides the runtime support for web components, including Java servlets and JSP Pages. Besides providing the standard support such as lifecycle and concurrency management, the web container in GlassFish implements several additional features centered on providing more robust session management.

The easiest way to configure the web container is through the Admin Console. To do this, complete these steps:

  1. 1. Log on to the Admin Console.

  2. 2. Expand the Configuration node in the navigation panel.

  3. 3. Click Web Container.

The Admin Console user interface for configuring the web container is shown in the following screenshot.

The General tab allows us to define some...