Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Quickstart Debugging Java Servlet WAR running on Jetty using Rookout

A sample application for debugging Java Servlet WAR running on Jetty using Rookout.

Before following this guide we recommend reading the basic Java + Rookout guide

Integrate Rookout into your Java application

To integrate Rookout into your existing Java application, follow these steps:

  1. Download the Rookout Java Agent
  2. Add Rookout as a javaagent to the server.ini (start.ini on windows) configuration file as the following:
  1. Set your Rookout Token as the ROOKOUT_TOKEN environment variable, or append the server.ini (after the javaagent):

Run your application on an existing Jetty server

  1. Package your application as a WAR: mvn package
  2. Deploy it to your Jetty server: cp jetty-helloworld.war /var/lib/jetty/webapps/
  3. Browse to the app at /jetty-helloworld

Use Docker instead

  • Build the Dockerfile in this repo and run it to start a Jetty server complete with the sample WAR running:
  1. docker build -t rookout-deployment-example/java-jetty-war .
  2. docker run -e ROOKOUT_TOKEN=<your token> -p 8080:8080 --rm rookout-deployment-example/java-jetty-war
  3. Browse to the app at http://localhost:8080/jetty-helloworld/

Go to and start debugging !

You can’t perform that action at this time.