sonatype/nexus-oss — pull request #673 by mcculls (2014-08-15 17:59:10+00:00)
Title: REVIEW: [NX-445] add management feature

This PR adds the Karaf management feature to the installation, but does not enable it by default. It also changes the RMI port to avoid potential clashes with other applications that use the default RMI settings.

To use the management feature you need to install it from the Karaf console:
```
feature:install management
```
You should now be able to connect using `jconsole` and this service URL:
```
service:jmx:rmi:///jndi/rmi://localhost:8099/karaf-root
```
Note that Karaf has its own built-in security so you'll also need to give the admin username and password when connecting (karaf/karaf). You can change or add users in the `etc/users.properties` configuration file.

See http://karaf.apache.org/manual/latest/users-guide/monitoring.html for more details