MailArchiva provides monitoring information via the standard Java Monitoring Extensions (JMX) interface. JMX is a common interface that monitoring applications, such as Nagios, use to obtain performance statistics on the operation of Java server applications.
Edit the startserver script in /opt/mailarchiva/server/startserver. Add the following to the CATALINA_OPTS variable
Restart the server.
Assuming you are using a GUI based Linux desktop, run the program Jconsole located in /usr/local/mailarchiva/jre64/bin

In the Remote Process field, enter "localhost:12345" and the JMX process monitor should appear.
Double click the Archiva Task Tray icon. Select the Java tab and add the following startup options:
Restart the server.
Run the jconsole program in C:Program FilesMailArchivaServerjrebin

In the Remote Process field, enter "localhost:12345" and the JMX process monitor should appear.
JConsole provides an indication of the heap usage, no. of threads and CPU activity.


Archiva exposes key system statistics via its MBean interface.
