"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
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
The Tomcat does run in a docker container, if that would make a difference.