jsonde icon indicating copy to clipboard operation
jsonde copied to clipboard

Launching Jsonde java agent on JUnit test fails

Open lhillah opened this issue 10 years ago • 1 comments

Hi, I'm trying to launch jsonde agent on a test (JUni4) from Eclipse Juno, with the following arguments to the JVM: -javaagent:${JSONDE_PATH}/lib/jsonde.agent-1.0.0.jar=60001

but I get the following error:

Error opening zip file or JAR manifest missing : /[Path to Jsonde folder]/lib/jsonde.agent-1.0.0.jar Error occurred during initialization of VM agent library failed to init: instrument

Any hint?

Thanks.

Best regards.

lhillah avatar Jun 05 '15 15:06 lhillah

Full path should be mentioned.

JAVA_OPTS="$JAVA_OPTS -javaagent:$CATALINA_HOME/lib/jsonde.agent-1.1.0.jar=60001"

kajaym2005 avatar Jan 18 '16 11:01 kajaym2005