Hi Saket,
> My main problem is how to stop my JVM properly when i stop it from
Tomcat GUI window.
You better direct this question to the Tomcat project. If JVM shutdown
does not work for you JaCoCo offers two alternatives for you to dump
coverage data before the JVM exits.
1) You can enable JMX (jmx=true) and use for example the JConsole to
trigger execution data dump before you shutdown tomcat
2) Instead of file output JaCoCo offers e.g. a tcpserver output mode
where coverage data can be requestes by a remote client (JaCoCo offers
Ant task, Maven goal or API for this).
Regards,
-marc
On 16.09.15 08:44, Saket Kumar wrote:
Hi,
I know .exec file generated at server startup that used to be empty.I
face problem in JVM shutdown only.When i run my local apache server
from its GUI window it
create that empty .exec file but after i stop apache service from GUI
window .exec does not get populated.
So, i tried to run Tomcat from command line by "Tomact7.exe //TS//"
command it also generate .exec at start and when i stop this tomcat
service by CTRL+C it populate that .exec file. But when i test my
application for more time and then stop my service it does not
populate that service.
My main problem is how to stop my JVM properly when i stop it from
Tomcat GUI window.
Report part of Jacoco is not that accurate what i observed. Many
packages that not been called from my app showing 1-2% of coverage.
Please help me into this.
I read all its documentation followed the same but its not as per
expected.
Thanks,
Saket
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/3523655f-159c-4575-9f78-61b700893b06%40googlegroups.com
<https://groups.google.com/d/msgid/jacoco/3523655f-159c-4575-9f78-61b700893b06%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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/55FB1639.7000500%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.