Versions Compared

Key

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

...

How to Run Jetty with jconsole

All you need do is To run Jetty, start jconsole and then start jetty Jetty with a special system property:

...

If you are running the jetty maven plugin, then you need to tell maven Maven to set the system property com.sun.management.jmxremote before running the plugin. The way to do this is to set the environment variable MAVEN_OPTS. EgFor example, on unix UNIX systems, do:

Code Block
export MAVEN_OPTS=-Dcom.sun.management.jmxremote
mvn  jetty:run

You should see a dialog like so (Note that with the jetty maven plugin, there the entry will say "org.codehaus.classworlds.Launcher "jetty:run"" instead):

...

Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery