문제

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;

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top