Enable JMX support for Openfire using the built-in facilities provided by Jetty. Configurable options (via AdminConsole) should include at least the following:
On/Off for JMX support (default: off)
JMX/RMI connector port (default: 1099)
Require Openfire admin credentials to access JMX (default: true)
Components that support JMX instrumentation:
Jetty (HTTP/S; Admin and BOSH server stats)
Mina (TCP/NIO; client/component/multiplexer stats)
Hazelcast (Cluster and cache stats)
Committed a first pass on this enhancement (SVN 13594).
If JMX is enabled via the admin console (server properties page), the JConsole utility can be used at <hostname>:1099 to connect to the running Openfire server. The JMX connector may be configured to require the credentials of an admin user, or the authentication can be disabled if desired.
I expect to write up some usage/configuration docs soon, but wanted to get the initial build out there for comments, feedback, and testing.
Included editable JMX settings on Server Information page via the Admin Console.