Hi,

JaCoCo always creates dump file at startup to guarantee that location is 
writable. Then it registers standard JVM Shutdown hook ( see 
http://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread)
 
) that will write all collected information, but whose execution not 
guaranteed if JVM was not gracefully terminated. So the first thing to 
check - is that you terminate JBoss gracefully.

On Thursday, May 11, 2017 at 1:18:32 PM UTC+2, [email protected] 
wrote:
>
> Hi Team
>
> We have deployed an application to the Jboss node and configured jacoco 
> properties as mentioned below.
>
>
> JACOCO_PROPERTIES=-javaagent:/mnt/home/devdepft/jacoco/lib/jacocoagent.jar=destfile=/export/home/devdepft/jboss-as/bin/Jacoco_files/TN/jacoco.exec,append=true,includes=*,output=file
>
> when shutdown the node we are getting .exec file with some content inside. 
> however if we try for coverage report it shows 0%.
>
> Could you please help on this.
>
> Java Version: 1.7
> Jboss: 5.4
> OS=RHEL 6.9
>
>

-- 
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/4aa0edce-5365-43e2-ad65-a04049fcdf62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to