I have tried to add below to JVM paramter, and start web application through Jboss,
-javaagent:/jacocoagent.jar=includes=com.xxx.xxx.*,output=tcpserver,address=xxx.xxx.xxx.xxx,port=xxxxx
address and port value is my web application host and port.
But below error is in the log:
java.io.IOException: Invalid execution data file.
STATUS server:org.jacoco.agent.rt_d6lax9.controller.TcpServerController:SystemErr:2013/04/19-10:16:45.001 CST: at org.jacoco.agent.rt_d6lax9.core.data.ExecutionDataReader.read(ExecutionDataReader.java:82)
STATUS server:org.jacoco.agent.rt_d6lax9.controller.TcpServerController:SystemErr:2013/04/19-10:16:45.001 CST: at org.jacoco.agent.rt_d6lax9.controller.TcpConnection.run(TcpConnection.java:59)
STATUS server:org.jacoco.agent.rt_d6lax9.controller.TcpServerController:SystemErr:2013/04/19-10:16:45.001 CST: at org.jacoco.agent.rt_d6lax9.controller.TcpServerController$1.run(TcpServerController.java:63)
STATUS server:org.jacoco.agent.rt_d6lax9.controller.TcpServerController:SystemErr:2013/04/19-10:16:45.002 CST: at java.lang.Thread.run(Thread.java:722)
Anyone get the situation?