Re: [java code coverage] JaCoCo session does not have the application classes

2018-02-08 Thread Marc Hoffmann
Hi Shekar, > It's about instructing the Jacoco agent to wipe the execution data between > the dump requests. This feature is called "reset". If documentation does not answer your question please feel free to start a new thread in this form. Cheers, -marc On 2018-02-08 11:31, Shekar G wro

Re: [java code coverage] JaCoCo session does not have the application classes

2018-02-08 Thread Shekar G
Appreciate for the links and input Marc. I could get over the issue. It's a trivial thing to do with setting the JAVA_OPTIONS in the setDomainEnv.sh. I'm able to get the coverage now. I have a different question now. Not sure if it's fine to ask in this thread or should I be creating a new one. It'

Re: [java code coverage] JaCoCo session does not have the application classes

2018-02-07 Thread Marc Hoffmann
Hi Shekar, the JaCoCo agent is a command line option that you pass to the JVM. See documentation: http://www.jacoco.org/jacoco/trunk/doc/agent.html I can't tell you how to configure Weblogic JVMs. Please study their documentation or contact Weblogic support for this. Or maybe there is an

Re: [java code coverage] JaCoCo session does not have the application classes

2018-02-07 Thread Shekar G
Thanks for the response Marc. I'm using Ant script to collect the execution data from the linux server where the weblogic is running. I see 2 entries for Weblogic when I run JPS command to know the number of JVMs. I'd like to know how do I attach the agent to a specific JVM that is used by the appl

Re: [java code coverage] JaCoCo session does not have the application classes

2018-02-06 Thread Marc Hoffmann
Hi Shekar, so how do you collect execution data? Note that in a distributed scenario you need to configure the JaCoCo agent for the JVM executing the application under test. Also some application servers use more than a single JVM. Regards, -marc On 2018-02-06 12:54, shekar.e...@gmail.com w