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
Credits
About the Author
Acknowledgement
About the Reviewers
Preface

Using self management rules


Application Server administrators can use the management rules feature to set policies that self-configure and self-tune the connection pool or ORB thread pool, detect thread or server hangs, manage memory leaks and out of memory errors, and manage disk usage. This feature allows Application Server to do the following:

  • Manage complexity through self-configuration

  • Improve ease-of-use by automating mundane management tasks

  • Improve performance by self-tuning in unpredictable runtime conditions

  • Improve availability by preventing and recovering from failures

  • Improve security by taking self-protective actions when security threats are detected

Self management rules

Self management in GlassFish is built on a simple concept of management rules. A management rule is built using the standard JMX infrastructure. The rule has two parts: an event to be detected, and an optional action to be performed upon detecting the event. The configuration is a set of rules specified by the...