Agents Jolokia is an agent based approach to JMX, which requires that clients install an extra piece of software, the so-called agent. This software either needs to be deployed on the target server which should be accessed via remote JMX (), or it can be installed on a dedicated proxy server (). For both operational modes, there are four different kind of agents Although the proxy mode is available for all four agents, you are normally free to setup the proxy environment. The recommendation here is the war-agent for which very lightweight servlet container exists. Tomcat or Jetty are both a perfect choice for a Jolokia proxy server. . Webarchive (War) agent This agent is packaged as a Java EE Webarchive (War). It is the standard installation artifact for Java webapplications and probably one of the best known deployment formats. Jolokia ships with a war-agent which can be deployed like any other web application. This agent has been tested on many Java EE servers, from well-known market leaders to rarer species. OSGi agent OSGi is a middleware specification focusing on modularity and a well defined dynamic lifecycle Of course, there is much more to OSGi, a platform and programing model which I really like. This is my personal pet agent, so to speak ;-). . The Jolokia OSGi agent bundles comes in two flavors: a minimal one with a dependency on a running OSGi HttpService, and a all-in-one bundle including an embedded HttpService implementation (which is exported, too). The former is the recommended, puristic solution, the later is provided for a quick startup for initial testing the OSGi agent (but should be replaced with the minimal bundle for production setups). Mule agent Mule is one of the leading Open Source Enterprise Service Busses What is the proper plural form of "bus"? (ESB). It provides a management API into which a dedicated Jolokia agent plugs in nicely. This agent includes an embedded Jetty for providing JMX HTTP access. JVM agent Starting with Java 6 the JDK provided by Oracle contains a lightweight HTTP-Server which is used e.g. for the reference WebService stack implementation included in Java 6. Using the Java-agent API (normally used by profilers and other development tools requiring the instrumentation during the class loading phase), the JVM 6 Jolokia agent is the most generic one. It is able to instrument any Java application running on a Oracle JDK 6 You could even instrument a Java EE application server this way, however this is not recommended. . This Jolokia agent variant is fully featured, however tends to be a bit slow since the provided HTTP-Server is not optimized for performance. However it is useful for servers like Hadoop or Teracotta, which do not provide convenient hooks for an HTTP-exporting agent on their own.