I have downloaded the 0.7.8 build from the Jacoco 
page: http://www.jacoco.org/jacoco/

In trying to set up my local Tomcat build, I would like to run the Jacoco 
Agent to get my test reports, I place the following configuration:

"JAVA_OPTS=-javaagent:/data/shared/jacoco/lib/jacocoagent.jar=includes=*,output=file,destfile=/data/shared/tests/jacoco/jacoco.exec"


When starting Tomcat I get the following in the Tomcat Log:


Jan 19 16:28:14 sandbox dockerd[1450]: Error opening zip file or JAR 
manifest missing : /data/shared/jacoco/lib/jacocoagent.jar

Jan 19 16:28:14 sandbox dockerd[1450]: Error occurred during initialization 
of VM

Jan 19 16:28:14 sandbox dockerd[1450]: agent library failed to init: 
instrument


Is there some other configuration I need to put in place?  Libraries are in 
the right location, I downloaded the Jacoco.0.7.8.zip archive and placed 
the files in the location noted.  Checking their JAR files I do see a 
Manifest file.  The Tomcat does run in a docker container, if that would 
make a difference.


java version "1.8.0_102"

Java(TM) SE Runtime Environment (build 1.8.0_102-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)


I am running this on OSX Yosemite

-- 
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 jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/f59dca52-2e2b-4a05-8a97-6fedaa31d78d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to