[Anthill] Re: Anthill hangs with <exec>
Ted Liefeld
liefeld at broad.mit.edu
Wed Oct 20 03:34:38 CDT 2004
While it is a Tomcat server, we have quite a bit on top of Tomcat and
the goal was to test a full installation with our installer and not just
updater the war file which tests the app but not the installer.
I feel that this is an anthill issue though since running the same ant
build file from ant at the command line launches the application and
then exits, leaving it running. Doing it from anthill leaves anthill
hanging.
In any case I have found a workaround. Essentially I created a seperate
JSP page on the anthill Tomcat server to call the ant exec task that
starts the server. Thus anthill just sees a url call and the process
belongs to the other servlet so anthill does not hang.
Ted
anthill-request at caladin.urbancode.com wrote:
>Send Anthill mailing list submissions to
> anthill at lists.urbancode.com
>
>
This is not really an Anthill issue, but is an Ant and Windows issue.
The Ant exec task is synchronus as well as Windows batch files. But
there are possiblities depending on the type of server your trying to
start.
If it is Tomcat server, then you don't need to bounce the server to
reload your application but can instead use the Tomcat manager tasks.
More details are needed before we can help you.
--
Ted Liefeld | Voice: (617) 252-1069
Cancer Genomics Informatics | Front desk: (617) 252-1900
Broad Institute | Fax: (617) 258 0903
320 Charles St | Email: liefeld at broad.mit.edu
Cambridge, MA 02141-2023 | http://www.broad.mit.edu/cancer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20041020/f819a1ba/attachment-0002.htm
More information about the Anthill
mailing list