r1 - 20 Apr 2007 - 07:19:46 - TanDunlinYou are here: TWiki >  Main Web  >  ElixirReport > ElixirReportServerCookbook > MonitoringERS

Monitoring Elixir Server

Currently Elixir Repertoire Server provides a basic monitor tool via Java Management Extension (see http://java.sun.com/products/JavaManagement/).
Elixir Repertoire Server allows the user to monitor the activities of the server via a HTTP console.
They can access the console via a browser i.e. http://localhost:8089 (configurable see the server documentation).

The information provided are the server configuration and the activities in the server mainly the "job threads" only - eg. report threads and data generation threads. Other information clients connected and queue.

i.e.

  • ActiveThreadPoolSize
  • CurrentClientCount - Number of clients connected
  • CurrentQueueCount - Number of request/job waiting in the queue.
  • CurrentRenderCount - Number concurrent jobs are being execute.
  • DurationSinceStartup - How long the server has been running since

If you wish to monitor other threads, memory information via Java VM (supplied by JVM vendors), this is already provided by the Java VM (Java Virtual machine) vendors.
One option will be using Sun JVM 1.5. Please refer to their web site on how this may be configured by adding the a Java system property when you launch the Server as "-Dcom.sun.management.jmxremote"

see details
http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html
http://java.sun.com/j2se/1.5.0/docs/guide/management/jconsole.html

i.e. for Repertoire Server add this line

java  -Dcom.sun.management.jmxremote -mx512M -Delixir.home=.. -Delixir.config=../config -jar 
-Djava.security.auth.login.config=../config/auth.conf -Djava.security.policy=../config/java2.policy RepertoireServer-Launcher.jar

Monitoring Repertoire via J2SE 5.0 management and monitoring tool
Please note all these monitoring adds overhead so it is advisable to get a solution from your application vendor.

-- TanDunlin - 20 Apr 2007

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback