Frage

Is it possible to change the directory that the YourKit remote profiler puts its jars in?

We're experiencing this error message when attempting to start Tomcat on CloudFoundry (running Ubuntu 10.10) with the YourKit profiling agent:

Cannot start: failed to create jar file: /tmp/yjp201304241558.jar;

War es hilfreich?

Lösung

The solution is to pass tmpdir=<dir> as one the agent options.

The only problem is we can't set this in CloudFoundry, as it's trimming JAVA_OPTS on the equals... Ho-hum pip and dandy.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top