Jacoco does not show the application classes covered in tcp server mode

27 views
Skip to first unread message

ari

unread,
Jan 15, 2018, 6:52:50 PM1/15/18
to JaCoCo and EclEmma Users
All,
I am trying to get the coverage using latest cversion of Jacoco (0.8.0) by deploying application on weblogic.
Running the tests by enabling the Jacoco agent in weblogic and getting the dump later via tcpserver mode.

Using the Java client to get the dump, but later then i try to read the classes it reports only all the weblogic related ones, though Ispecified the application related classes int the include paramter.
I see the same classes instrumented in the classDumpdir but not in the dump retrieved via java client or  Jacocoant task or cli command.
Can you let m eknow if I am missing anything in the configuration.?

Thanks

Marc Hoffmann

unread,
Jan 16, 2018, 8:53:34 AM1/16/18
to jac...@googlegroups.com

Hi,

did you check the content of the exec file? When you dump the content with "dumpexec" of the 0.8.0 CLI what classes do you get listet?

Also you might want to check your java processes running on your machine: Application servers typically start multiple JVMs e.g. one for management and one for application hosting. If you configure the agent for both you might connect to the wrong process.

Regards,
-marc

--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/85aa40eb-25de-4153-8933-6f2641193378%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

 

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages