DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16118>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16118 Exec/Java tasks hangwhen starting Tomcat. Summary: Exec/Java tasks hangwhen starting Tomcat. Product: Ant Version: 1.5.1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Platform: Cygwin/win32 (win2k) Using exec or java from a build.xml file, Ant always hangs when Tomcat 4.1.x/5 is started. As an example (trying to find a worksaround), I have written a class that start process (similar to Exec). When I'm doing: <java classname="RuntimeProcess" fork="true"> <arg value="catalina start"/> <arg value="c:/src/jakarta-tomcat-5/build/bin"/> <arg value="Catalina 5.0"/> </java> Tomcat starts but Ant hangs. The same behaviour occurs using the Exec task. The timeout aatribute doesn't work for both command (java and exec). Any help will be appreciated (if it's not a bug). I'm trying to automate the Tomcat startup and then run jakarta-watchdog automatically, but Ant hang just after starting Tomcat (waiting for some signal I guess) Another example is if you download jakarta-tomcat-5 and do ant watchdog, the same problem will happen (this time using commons-launcher). Thanks -- Jeanfrancois -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
