jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred Loney" <lo...@spiritedsw.com>
Subject Re: Stopping test mode
Date Fri, 14 Feb 2003 22:59:26 GMT
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" <rick.morris@brightpoint.com>
To: "'Cactus Users List'" <cactus-user@jakarta.apache.org>
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:nick@eblox.com]
> 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:rick.morris@brightpoint.com]
> > Sent: Friday, February 14, 2003 11:38 AM
> > To: 'cactus-user@jakarta.apache.org'
> > 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: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>


Mime
View raw message