You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.

Dodatkowo poprzez odpowiednie ustawienie wpisów w pliku konfiguracyjnym conf/mx/service.properties możliwe jest uruchomienie interfejsu administracyjnego serwera opartego o strony WWW wbudowanego w serwer dLibry. Interfejs ten daje dostęp do podstawowych możliwości panelu administracyjnego serwera.

 

JConsole


JConsole jest programem dostarczanym wraz z maszyną wirtualną Javy w wersji 1.5. Znajduje się on w podkatalogu bin katalogu, w którym zainstalowano maszynę wirtualną.

Aby podłączyć się do serwera dLibra należy w okienku "Connect to Agent" (menu Connection|New connection...) wybrać zakładkę Advanced i wprowadzić tam dane zgodnie z opisem konfiguracji połączenia przedstawionym poniżej.

Oficjalna dokumentacja JConsole znajduje się pod adresem http://java.sun.com/j2se/1.5.0/docs/guide/management/jconsole.html. Firma Sun Microsystems Inc. nie zaleca korzystania z programu JConsole w środowiskach produkcyjnych. Program ten jest raczej przeznaczony do zastosowań testowych i programistycznych.

 

 

  • No labels