The JMX Technology


The dLibra system uses the JMX technology for building the administrative interface. The technology provides access to remote objects of the Java language, and makes it possible to review and modify the properties of those objects and to call the operations (methods) made available by those objects. The objects can be grouped in hierarchical structures. The functionality of the JMX technology can be made available through many protocols, such as HTTP WebServices or SNMP. In the dLibra project, the Java RMI protocol is used. Detailed information about the JMX technology and its applications is published on the official website with the documentation and in many articles.

Appropriate client software which supports that technology is required for using objects made available with the help of the Java JMX interface. One such program, JConsole, is described below. It is free of charge, and makes it possible to use the functions offered by the administrative interface of the server of the dLibra system. Other programs of that type are, for example: EJTools JMX Browser, Panoptes, or JManage.

What is more, by appropriately setting entries in the conf/mx/service.properties configuration file, the web-page-based administrative interface of the server built into the dLibra server can be started up. That interface provides access to the basic possibilities of the administration panel of the server.

 

JConsole


JConsole is a program delivered together with version 1.5 of the Java virtual machine. It is in the bin subdirectory of the catalog in which the virtual machine is installed.

In order to connect with the dLibra server, select the “Advanced” tab in the “Connect to agent” window (menu “Connection|New connection...”) and enter the data in accordance with the description of a the connection configuration, given below.

The official JConsole documentation is located at: http://java.sun.eom/j2se/l.5.0/docs/guide/management/jconsole.html. The Sun Microsystems Inc. company does not recommend using the JConsole program in production environments. That program has been designed with testing and programming in mind.


 

 

  • No labels