You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/03/02 19:09:34 UTC

DO NOT REPLY [Bug 36903] ANT Java Task hangs or causes other processes to hang

https://issues.apache.org/bugzilla/show_bug.cgi?id=36903


Frank Schwarz <fs...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fs5@gmx.net
             Status|NEEDINFO                    |ASSIGNED




--- Comment #6 from Frank Schwarz <fs...@gmx.net>  2008-03-02 10:09:34 ---
I am able to reproduce the problem with Java 5/Java 6 and Ant 1.7.0 under
Windows2000 and WindowsXP (but not under Ubuntu 7.04).

The test script will hang (i.e. wait for input) when it entered the run target
in sample\build.xml. It will not hang if you add inputstring="" in line 69 in
this script.

Process Explorer indicates that one thread in the hanging java process is
trying to establish a socket connection.

Attaching a java monitoring tool to the ant process will prevent the script
from hanging.

Unfortunately the sample's size exceeds the file limit here, so I will provide
it on request by e-mail.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.