Hi, On Tuesday, November 20, 2018 at 8:43:50 AM UTC+1, [email protected] wrote: > > Hi, > I am using jacoco in tcp server mode to collect coverage data for > integration tests. To launch my application, I use the following jvm > argument > > "-Djavaagent:org.jacoco.agent-0.8.2.jar=output=tcpserver,port=36302,address=*" > > > The application launches fine but when I try connecting to the port 36302 > on ip 127.0.0.1, inisde the container, I get connection refused. What am I > doing incorrect here ? >
Command line argument must start with -javaagent and not with -D Please read https://www.jacoco.org/jacoco/trunk/doc/agent.html https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html Before even trying "output=tcpserver" please make sure that default "output=file" works. -- 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/e1ce9e37-ba57-4d1b-b3d7-75119cf601a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
