Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 41241 invoked by uid 99); 5 Dec 2004 18:32:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from omr2.netsolmail.com (HELO omr2.netsolmail.com) (216.168.230.163) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 05 Dec 2004 10:32:15 -0800 Received: from ms2.netsolmail.com (IDENT:mirapoint@[216.168.230.175]) by omr2.netsolmail.com (8.12.10/8.12.10) with ESMTP id iB5IWAG6011958 for ; Sun, 5 Dec 2004 13:32:10 -0500 (EST) Received: from AJAMESHOME (adsl-68-120-154-176.dsl.snfc21.pacbell.net [68.120.154.176]) by ms2.netsolmail.com (Mirapoint Messaging Server MOS 3.2.2-GA) with SMTP id CUT46384; Sun, 5 Dec 2004 13:32:08 -0500 (EST) From: "Arthur James" To: "Cactus Users List" Subject: RE: ant task does not detect running JBoss server Date: Sun, 5 Dec 2004 10:33:48 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <200412051651.iB5Gp1lr029238@imr13.netsolmail.com> X-Virus-Checked: Checked Vincent, The JBoss server is up and running initially with nothing deployed. Then the tests are run using the 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:vmassol@pivolis.com] Sent: Sunday, December 05, 2004 8:48 AM To: 'Cactus Users List' Subject: RE: ant task does not detect running JBoss server > -----Original Message----- > From: Arthur James [mailto:arthur@dialsurf.com] > Sent: dimanche 5 d�cembre 2004 17:29 > To: Cactus Users List > Subject: RE: 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:vmassol@pivolis.com] > Sent: Sunday, December 05, 2004 7:48 AM > To: 'Cactus Users List' > Subject: RE: ant task does not detect running JBoss server > > > Hi Arthur, > > That's probably because of the algorithm used by the 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:arthur@dialsurf.com] > > Sent: dimanche 5 d�cembre 2004 16:01 > > To: cactus-user@jakarta.apache.org > > Subject: 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 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: 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 --------------------------------------------------------------------- To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: cactus-user-help@jakarta.apache.org