You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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"

  • No labels