Vincent, The JBoss server is up and running initially with nothing deployed. Then the tests are run using the <cactus> task. At the end of this scenario, it still shuts down the server. Is this expected behavior ?
Thanks Arthur -----Original Message----- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: Sunday, December 05, 2004 8:48 AM To: 'Cactus Users List' Subject: RE: <cactus> ant task does not detect running JBoss server > -----Original Message----- > From: Arthur James [mailto:[EMAIL PROTECTED] > Sent: dimanche 5 d�cembre 2004 17:29 > To: Cactus Users List > Subject: RE: <cactus> ant task does not detect running JBoss server > > Hi Vincent, > > I experimented some more and found that if I specify a "startUpWait" it > runs > the tests correctly when JBoss is already running. Looking at the source code, there does not seem to be any relationship with startupWait and detection of a running container. > However, it still shuts > down the server after the tests are run. I noticed some earlier emails on > this topic but did not come across a solution. The container will be shut down *only* if it wasn't running prior to the cactus tests being executed. Thanks -Vincent > > Thanks > > Arthur > > -----Original Message----- > From: Vincent Massol [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 05, 2004 7:48 AM > To: 'Cactus Users List' > Subject: RE: <cactus> ant task does not detect running JBoss server > > > Hi Arthur, > > That's probably because of the algorithm used by the <cactus> task. It > tries > to call the following URL: > > http://localhost:[port]/[context]/[servletredirectormapping]?Cactus_Servic > e= > RUN_TEST > > where [context] is the web context of the war you're deploying. > > If this URL does not return an HTTP response code between 200 and 300 it > is > considered that JBoss is not running. > > Does this answer your question? > > Thanks > -Vincent > > > -----Original Message----- > > From: Arthur James [mailto:[EMAIL PROTECTED] > > Sent: dimanche 5 d�cembre 2004 16:01 > > To: [EMAIL PROTECTED] > > Subject: <cactus> ant task does not detect running JBoss server > > > > Hi, > > > > I am running JBoss 3.2.6 with jakarta-cactus-13-1.6.1. The cactus tests > > are > > run from ant with the <cactus> task. It works fine when JBoss is not > > running > > by launching JBoss, running the tests and shutting down JBoss after the > > tests are run. However, if JBoss is already running, it does not detect > it > > and tries launch a new version. Has anyone else faced this problem ? > > > > Thanks > > > > Arthur > > > > > > --------------------------------------------------------------------- > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
