Appserver Management Extensions (AMX) README

Last updated: 27 January 2004

Introduction

Sun's Java Enterprise System Appserver, and the J2EE SDK both now include an Java Management Extensions (JMX) MBean API for management/configuration and monitoring of the server.  This API is denoted Appserver Management EXtensions (AMX), Appserver because it's for the Appserver, Management because it covers configuration, management, and monitoring, Extensions because the APIs go well beyond the J2EE Management (JSR 77) specification.

Contents

The SDK consists of the following:

Item
Description
amx-client.jar
jar file containing the AMX APIs. Tthe contents of this jar are almost entirely interfaces, but there are some concrete classes as needed to support clients.
amx-javadoc/
samples-javadoc/
Javadoc for the AMX APIs, and the sample code, respectively.
samples/amx
source code for the samples
run-samples.sh
run-samples.bat
Scripts to run the sample command line.
SampleMain.properties
Properties file used by the sample command line.  Edit this file appropriately for your target server.
jmxri.jar
javax77.jar
jmxremote.jar
Required jar files containing JMX 1.2, J2EE Management (JSR 77) and JMX Remote (JSR 160) classes.  The contents of these jar files is required.  Note that JMX and JMX Remote are included in JDK 1.5, but not in JDK 1.4

The source code is already compiled.  Edit SampleMain.properties appropriately, and run the sample script.