Skip to content
This repository has been archived by the owner on May 2, 2020. It is now read-only.

Launching Jsonde java agent on JUnit test fails #8

Open
lhillah opened this issue Jun 5, 2015 · 1 comment
Open

Launching Jsonde java agent on JUnit test fails #8

lhillah opened this issue Jun 5, 2015 · 1 comment

Comments

@lhillah
Copy link

lhillah commented Jun 5, 2015

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.

@kajaym2005
Copy link

Full path should be mentioned.

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants