On Monday, December 18, 2017 at 5:32:45 AM UTC+1, Shashi Rekha wrote:
>
>
> Make sure that you do actually execute your application prior to 
> requesting dump.
> I am running my tests before taking hte dump..As I mentioned, the coverage 
> comes when I use the dumponeexit for the same set of tests, we get the 
> coverage
>

How do you check content of exec file? and that it contains only weblogic 
files ? Do you check "session page" (right top corner of report) ?

Also there was an improvement in unreleased version to make make sure that 
connection is not closed unexpectedly when taking dump - try this.

You can also try JMX to get the dump.

Also you can build your own version of JaCoCo from sources with addition of 
debug output during dump.

Beside this as was said before - there is no known issues with tcpserver 
and output mode doesn't change the way information is collected by agent, 
only the way it is outputted.
 

>
> Keep in mind that in case of multiple servers there is multiple agents and 
> hence dump should be requested from each
> Do you mean to say I should attach several jacoco agents and take the 
> dump?---Is the same not needed for shutdown option?
>

You said "multiple servers" if this means multiple JVMs, then one agent per 
JVM independently of options.
 

>
>
> On Sun, Dec 17, 2017 at 1:00 AM, Evgeny Mandrikov <[email protected]> 
> wrote:
>
>>
>> On Saturday, December 16, 2017 at 6:58:47 PM UTC+1, 
>> [email protected] wrote:
>>>
>>> I have a complex environment with multiple hosts...using weblogic
>>> I added the necessary JAVA_OPTIONS in commEnv.sh
>>> with output=file and dumponexit=true, the coverage for all the 
>>> applications comes after shutting down
>>>
>>> But when I use output=tcpsever, by using ant, I call the dump method, I 
>>> see that only the weblogic classes coverage comes and not my application 
>>> coverage
>>>
>> I tried with Java client too but everytime only the coverage of weblogic 
>>> is seen
>>>
>>
>> Make sure that you do actually execute your application prior to 
>> requesting dump.
>>  
>>
>>> Are there any known issues with tcpserver options 
>>>
>>
>> There is no known issues with tcpserver. Moreover output mode doesn't 
>> change the way information is collected by agent, only the way it is 
>> outputted.
>>  
>>
>>> when working with complex environment having multiple servers like BI, 
>>> SOA et.,
>>>
>>  
>> Keep in mind that in case of multiple servers there is multiple agents 
>> and hence dump should be requested from each.
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "JaCoCo and EclEmma Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/jacoco/Ys1wF3GdZFU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jacoco/220b7062-0250-418a-aa55-0ec00d173b9c%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jacoco/220b7062-0250-418a-aa55-0ec00d173b9c%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/d0efbd37-cf96-40c0-8759-7a8ead6b83c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to