Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Profiling Procedure

JMX Reporting

To enable Metrics reporting to JMX with mvn jetty:run

  • Add "-Dcom.sun.management.jmxremote" to MAVEN_OPTS, e.g.:
    export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m -Dcom.sun.management.jmxremote"
  • Set the System Property "fcrepo.metrics.jmx" to "true", e.g.:
    mvn jetty:run-war -Dfcrepo.metrics.jmx=true
  • Invoke jconsole, select the Local Process "org.codehaus.plexus.classworlds.launcher.Launcher", and connect
    • Select the MBeans tab and navigate to "org.fcrepo"