Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
spring-helloworld-cf
README.md

README.md

Quickstart Debugging Java App + Maven running on Pivotal using Rookout

A sample application for debugging Java app + Maven running on Pivotal 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. Add the rookout sdk as a maven requirement for example:
<!-- https://mvnrepository.com/artifact/com.rookout/rook -->
<dependency>
    <groupId>com.rookout</groupId>
    <artifactId>rook</artifactId>
    <version>0.1.88</version>
</dependency>
  1. Add Rookout as a javaagent using the cf cli:
cf set-env YOUR-APP-NAME JAVA_OPTS '-javaagent:/app/BOOT-
INF/lib/rook-0.1.87.jar'
  1. Set your Rookout Token as the ROOKOUT_TOKEN environment variable:
cf set-env YOUR-APP-NAME ROOKOUT_TOKEN YOUR-ROOKOUT-TOKEN

Go to app.rookout.com and start debugging !

You can’t perform that action at this time.