Thanks Mark. I used the latest version of Jacoco 0.7.2. like this:

vim catalina.sh
export CATALINA_OPTS="$CATALINA_OPTS 
-javaagent:${ET_AF_APP_XYZ_ROOT}/WEB-INF/lib/org.jacoco.agent-0.7.2.201409121644.jar=includes=com.xyz.ee.*,excludes=com.xyz.ee.webclient.command.*UIBean*,output=file,address=${ET_NODE},port=${JAC_PORT}"

Once I start the server, I get this weird error:

Failed to find Premain-Class manifest attribute in 
/xyz/home/emahaboo/work/deployment/deployment_active/eeAF/site/xyz/WEB-INF/lib/org.jacoco.agent-0.7.2.201409121644.jar
Error occurred during initialization of VM
agent library failed to init: instrument

Can you please tell me what should be fixed here?

-- 
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/90a5346c-9085-4b21-a94c-557b6f4e8e70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to