ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8510] - shutdown hook does not fire in forked java task under JDK1.4
Date Mon, 13 Dec 2004 17:55:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=8510>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=8510





------- Additional Comments From peterreilly@apache.org  2004-12-13 18:55 -------
The writing to std output/error for forked processes are handled by
thread objects reading the relativent streams. At shutdown time
these threads may be stopped before they have finished reading their
stream - so it is a timing and flushing behaviour dependent what
is actually written to the console.

This timing issue should not effect closing the connection to an SMPP
server. Maybe you could use the write to file techinque to debug your
problem. (Surely the connection should be closed automatticlly by the
OS when the ant process ends?)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message