Ups, that is an error that should be corrected in documentation. Can you please tell me where the documentations says that "*" is allowed for the address attribute of the dump task?

Thx,
-marc

On 2014-08-21 13:46, Gail Stewart wrote:
Thanks.  I will get a stack dump.  The doc says an asterisk is
allowed, but I will try again with a specific ip.

On Thu, Aug 21, 2014 at 12:31 AM, Marc R. Hoffmann
<[email protected]> wrote:

Hi Gail,

the only thing that looks strange to me is address="*" for the dump
command. I don't think this is a propert target address. You better
set a actual target ip address or name (or maybe just "localhost"
depending on your setup).

To troubleshoot this please create a stack dump from the hanging
Ant script (CTRL+C on Windows, debugger, JConsole, jstack, etc) so
you can see where it actually hangs.

Cheers,
-marc

On 20.08.14 23:03, Gail Stewart wrote:

I am trying to get coverage results from tests run in tomcat.  I
am using ant and the jacoco ant tasks to define the agent.
The value of the agent property is as follows, and it is passed vy
JAVA_OPTS to tomcat


-javaagent:/tmp/jacocoagent6518525569979176026.jar=append=true,includes=com.demandware*:dw*:TopLevel*,output=tcpserver,address=*,port=6000


when I do netstat -ano I see the following line.
tcp        0      0 :::6000                    
:::*                        LISTEN   

When ant calls the dump task it just hangs.  I don't see  data
being written to the file and the call does not return to the ant
script.

This is the ant call
<jacoco:dump address="*" port="${jacoco.tcpport}" reset="true"
dump="${do.coverage.it [1]}"
destfile="${dw.global.jacoco.it.coverage.file}" append="true"/>
These are the values (I echo them to the log)
jacoco:dump address=* port=6000 dump=true append=true


destfile=/srv/jenkins/workspace/gstewart.ecom.coverage/server/build/reports/tests/int/it-jacoco.exec


How do I troubleshoot this?  What should I be doing differently?
Thanks
Gail --
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].

For more options, visit https://groups.google.com/d/optout [2].

--
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/-OLAfAAX-pA/unsubscribe
[3].
To unsubscribe from this group and all its topics, send an email to
[email protected].
For more options, visit https://groups.google.com/d/optout [2].

 --
 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].
 For more options, visit https://groups.google.com/d/optout [2].


Links:
------
[1] http://do.coverage.it
[2] https://groups.google.com/d/optout
[3] https://groups.google.com/d/topic/jacoco/-OLAfAAX-pA/unsubscribe

--
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to