Does the cactus ant task run asynchronously? If the cactus task includes the directive:
fork="true" then the immediate successor task will start before the cactus task finishes, with the potential for service inavailability. That is not to say that the task should not be forked. I and others find it preferable to do so, but it is advisable not to follow the cactus task with another task that accesses the web server. Fred Loney Spirited Software, Inc. www.spiritedsw.com ----- Original Message ----- From: "Morris, Rick" <[EMAIL PROTECTED]> To: "'Cactus Users List'" <[EMAIL PROTECTED]> Sent: Friday, February 14, 2003 12:24 PM Subject: RE: Stopping test mode > Some background: The application is a simple login/welcome Struts > application like we've all (including me) used before. Nothing complicated. > > The error happens when I run the HttpUnit tests in my build.xml file. The > HttpUnit tests run after the Cactus servlet tests. The Cactus tests complete > successfully (or at least they say they do). The HttpUnit tests, which run > text, fail because they aren't getting the proper responses back from Resin. > > I have the same problem if, after the tests fail, I try to access the > application normally through a browser. I do the login page and get a blank > response page back from the container. > > If I stop and restart the container, things work as expected. > > It is a little refreshing to hear that it sounds odd to someone else as > well. > > > -----Original Message----- > From: Nicholas Lesiecki [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 14, 2003 3:17 PM > To: Cactus Users List > Subject: RE: Stopping test mode > > > Rick, > > This problem seems odd. Unless the tests are still (actively) running the > Redirector should passively wait for new requests and not affect anything. > Can you share any further details about your error? > > Cheers, > Nick > > > -----Original Message----- > > From: Morris, Rick [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 14, 2003 11:38 AM > > To: '[EMAIL PROTECTED]' > > Subject: Stopping test mode > > > > > > I've looked through the list archives and the FAQ, but still can't find an > > answer to my question. > > > > Once I have executed the Cactus tests in Ant using the > > ServletRedirector?Cactus_Service=RUN_TEST command, is there any > > way to make > > the servlet redirector gracefully bow out of the picture after the tests > > have been run? > > > > What I have found, which could certainly be my error, is that after the > > Cactus tests have run successfully, the application being tested doesn't > > function properly. > > > > I am not starting and stopping Resin through Ant since we run Resin in > > tandem with Apache. > > > > Any suggestions appreciated, including RTFM if it includes a reference to > > the appropriate section of the manual. > > > > Rick Morris > > Brightpoint North America > > 501 Airtech Parkway > > Plainfield IN 46168 > > Phone: 317-707-2312 > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
