Book Image

JBoss AS 7 Configuration, Deployment and Administration

By : Francesco Marchioni
Book Image

JBoss AS 7 Configuration, Deployment and Administration

By: Francesco Marchioni

Overview of this book

<p>As the Java EE standard has evolved and matured, the API has become increasingly rich and complex. The next generation of application servers needs to be modular and configurable to run only specific services or containers. JBoss AS 7 promises to meet those requirements but the configuration of a complex application server is composed of a mix of administrative and management tasks which often overlap, generating confusion.<br /><br />JBoss AS 7 Configuration, Deployment and Administration will give you an expert's understanding of every component that makes up the JBoss application server, and will show you how to use them, helping you to dramatically cut down the learning curve for this exciting product.<br /><br />This book will guide you through configuration, management, deployment and advanced administration in a logical order to avoid the common pitfalls of setting up a new AS. The book dives into the new application server structure and shows you how to install it. You will learn how to configure the core AS services, including thread pools, the messaging system, and the transaction service. Finally, you will learn how to deploy and manage your applications and then tune the performance of your AS to achieve an efficient, indispensible application server.</p>
Table of Contents (19 chapters)
JBoss AS 7 Configuration, Deployment, and Administration
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding native management capabilities


If you are not able (or simply don't want) to use the CLI, then you can alternatively configure Apache web server to provide some native management capabilities through the browser.

In order to do that, all you need to add is the mod_cluster_manager application context:

<Location /mod_cluster_manager>
       SetHandler mod_cluster-manager
       Order deny,allow
       Deny from all
       Allow from 192.168.10
</Location>

You can test your mod_cluster manager application by pointing to the mod_cluster_manager web context at:

http://192.168.10.1:8888/mod_cluster_manager.

In our example, the mod_cluster manager displays information about all the JBoss AS 7 nodes that have been discovered through multicast announcements.

As you can see, in the mod_cluster manager page you have plenty of useful information, such as the number of hosts that are currently active (in our example, two nodes) and the web context that are available. By default, all web...