Getting Started with the Java Dynamic Management Kit 4.1

Initializing A Connector/Protocol Adaptor

A connector provides access to MBeans through a communication protocol. It enables management applications to perform management operations on a Java Dynamic Management Kit agent. For a Java Dynamic Management Kit agent to be manageable, it must contain at least one connector. However, a Java Dynamic Management Kit agent can contain many protocol adaptors, allowing it to be managed remotely through different protocols.

The following connectors/protocol adaptors are supplied with the Java Dynamic Management Kit 4.1:

RMI Connector

The RMI connector enables Java managers to access a Java Dynamic Management Kit agent using the Java remote operation invocation (RMI) system.

HTTP/TCP Connector

The HTTP/TCP connector enables Java managers to access a Java Dynamic Management Kit agent using HTTP over a TCP/IP connection. It also allows these management applications to access an agent across proxy servers. By default, the HTTP/TCP adaptor listens for incoming requests on port 8081. The HTTP/TCP connector provides login/password authentication.

HTML Protocol Adaptor

The HTML protocol adaptor is an HTML server that enables web browsers to access a Java Dynamic Management Kit agent through the HTTP communication protocol. When an HTML protocol adaptor is instantiated, it creates a TCP/IP socket and waits for incoming requests. By default, the HTML adaptor listens for incoming requests on port 8082. The HTML adaptor provides login/password authentication.

The HTML protocol adaptor is provided as a tool for debugging and speeding the development of agents. As such, it has certain limitations, for example it does not display complex types or multi-dimensional arrays.

SNMP Protocol Adaptor

The SNMP protocol adaptor enables an SNMP manager to perform management operations on a Java Dynamic Management Kit 4.1 agent. Before using the SNMP protocol adaptor, you need to configure it for the MIB used by the SNMP manager application.

HTTP/SSL Connector

The HTTP/SSL connector enables Java managers to access a Java Dynamic Management Kit agent using HTTP over SSL (Secure Sockets Layer). It also allows these management applications to access an agent across proxy servers. By default, the HTTP/SSL adaptor listens for incoming requests on port 8084. The HTTP/SSL connector provides login/password authentication based on 'CRAM-MD5' (Challenge-Response Authentication Mechanism using MD5). The HTTP/SSL connector server requires client authentication by default.