Hi Marc,
When I set this property jmx=true, I get the below error while starting the
tomcat server.
export CATALINA_OPTS="$CATALINA_OPTS
-javaagent:${XYZ_ROOT}/WEB-INF/lib/org.jacoco.agent-0.5.8.201206210517.jar=includes=com.xyz.xy.*,output=file,destfile=/xyz/dvl/xyz/app/int/tomcat1/reports/jacoco.exec,dumponexit=true,jmx=true,address=${XY_NODE},port=${JAC_PORT}"
Caused by: java.lang.IllegalArgumentException: Unknown agent option "jmx".
at
org.jacoco.agent.rt_vy46ht.core.runtime.AgentOptions.<init>(AgentOptions.java:181)
at org.jacoco.agent.rt_vy46ht.JacocoAgent.<init>(JacocoAgent.java:62)
at org.jacoco.agent.rt_vy46ht.JacocoAgent.premain(JacocoAgent.java:158)
... 6 more
FATAL ERROR in native method: processing of -javaagent failed
I start and stop my server using this command "xyserver start, xyserver stop".
Regards
Eajaz
--
You received this message because you are subscribed to the Google Groups
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/4959edbd-db74-4370-97b6-7d20acee92ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.