Enterprise RTView® 
User Guide


Managing the Data Server Using JMX

The Data Server is instrumented with JMX to allow you to manage and monitor the clients and application settings. To enable JMX, you must run the Data Server in socket mode and using the -jmxport command line option:

        -jmxport:(port number)

The JMX Monitor demo, located in demos\jmxmonitor in your Enterprise RTView installation, shows how to use Enterprise RTView to monitor the Data Server using JMX.

The Data Server contains one MBean named RTViewDataServer:name=Manager with the following methods:
 
Method/Attribute  Type Description
ClientData  TabularData For each client connection, the table contains the following columns.
 
Client ID - A unique number assigned by the Data Server to this client connection. The first client connection is assigned an ID of 1, the second is assigned an ID of 2, etc. The ID for an HTTP/HTTPS client will contain extra digits, starting with the ID of the Data Servlet's connection. For example, if the servlet is assigned a client ID of 1, then the first HTTP/HTTPS client will be assigned an ID of 10001, the next will be 10002, etc. ID numbers will not be reused during a Data Server session.
Address - IP address of the client. Clients running on the same host as the Data Server will display the IP address 127.0.0.1.
Host - Name of the host on which the client is running. Clients running on the same host as the Data Server will display the host name localhost. If a client's host cannot be determined, the IP address will be shown instead.
Duration - Time elapsed in this client's session with the Data Server.
Last Data Sent - Number of characters of XML data contained in this client's most recent update.
Total Data Sent - Number of characters of XML data contained in all updates during this client's session with the Data Server.
NumberOfClients  int Number of currently connected clients.
ServingData  boolean True if the Data Server is currently serving data, false otherwise.

The RTViewDataServer:name=Manager MBean also supports the following commands:
 
Method/Attribute Description
startServingData Start serving data.
stopServingData Stop serving data.
 


 
Enterprise RTView contains components licensed under the Apache License Version 2.0.

 

Treemap Algorithms v1.0  is used without modifications and licensed by MPL Version 1.1. Copyright © 2001 University of Maryland, College Park, MD

 

Datejs is licensed under MIT. Copyright © Coolite Inc.

 

JCalendar 1.3.2 is licensed under LGPL. Copyright © Kai Toedter.

 

jQuery is licensed under MIT. Copyright © John Resig,

 
JMS, JMX and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. They are mentioned in this document for identification purposes only. 

 
SL, SL-GMS, GMS, Enterprise RTView, SL Corporation, and the SL logo are trademarks or registered trademarks of Sherrill-Lubinski Corporation in the United States and other countries. Copyright © 1998-2009 Sherrill-Lubinski Corporation. All Rights Reserved.