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_Service=
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]

Reply via email to