Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 26791 invoked from network); 23 Aug 2004 15:47:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Aug 2004 15:47:25 -0000 Received: (qmail 60729 invoked by uid 500); 23 Aug 2004 15:47:14 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 60686 invoked by uid 500); 23 Aug 2004 15:47:13 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 60673 invoked by uid 99); 23 Aug 2004 15:47:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_BASE64_NO_NAME X-Spam-Check-By: apache.org Received: from [81.255.78.166] (HELO nt-exchange.decalog.fr) (81.255.78.166) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 23 Aug 2004 08:47:13 -0700 Received: by nt-exchange.decalog.fr with Internet Mail Service (5.5.2653.19) id ; Mon, 23 Aug 2004 17:40:25 +0200 Message-ID: <0D3F8EDC011AA34F810FCF5087EFC39C09799B@nt-exchange.decalog.fr> From: Patrick Martin To: 'Ant Users List' Subject: RE: does not detect process termination Date: Mon, 23 Aug 2004 17:40:19 +0200 X-MS-TNEF-Correlator: <0D3F8EDC011AA34F810FCF5087EFC39C09799B@nt-exchange.decalog.fr> MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C48927.7EB0E5CE" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_000_01C48927.7EB0E5CE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Thanks for the answer. I actually want ant to wait for the end of the process. We do use the console output. The problem is that ant won't stop when the started = process stops. Patrick > -----Original Message----- > From: "Mark Lybarger" @SUNGARD =20 > Sent: lundi 23 ao=FBt 2004 17:42 > To: Ant Users List > Subject: RE: does not detect process termination >=20 >=20 > fork=3D"true" dir=3D"${DOMAIN_DIR}"> >=20 > If you want the ant script to return from starting the weblogic = server, > you might want to try out the spawn attribute of the java ant task. = this > sends the process off to run on its own. we use this to start our = wls > servers. one minor problem that we have is that if the servers don't > start, we can't easily see why they didn't start. we haven't found a = way > to see the spawned processes output. we use the spawn for both admin = and > managed servers. >=20 >=20 > > -----Original Message----- > > From: Patrick Martin [mailto:patrick.martin@sungard.com > ] > > Sent: Monday, August 23, 2004 10:59 AM > > To: Ant Users List > > Subject: does not detect process termination > > > > > > Hi, > > > > I start a weblogic managed server with the following target: > > > > > > > dir=3D"${applications.dir}/.." > > > > > > > > > > > > > > > > > > = value=3D"-Dweblogic.management.username=3D${weblogic.server.username}"/>= > > > = value=3D"-Dweblogic.management.password=3D${weblogic.server.password}"/>= > > > value=3D"-Dweblogic.management.server=3D${weblogic.server.host}:${ > > weblogic.serve > > r.port}"/> > > > > > = value=3D"-Djava.security.policy=3D${weblogic.home}/lib/weblogic.policy"/= > > > > > > > > > In order to shutdown this process, I call an other target like = this: > > > > > > > > > > > dir=3D"${applications.dir}/.."> > > > > > > > > > > > > > > > > > > > > The weblogic server instance shuts down correctly (the process ID > > disappears) but the ant process that ran startwlm does not return = and > > continues waiting. This problem exists in ant 1.5.3 and 1.6.2. > > > > I do the same thing with the admin server and it works fine. > > > > Does anyone have an idea of what I am doing wrong here? > > > > Thanks in advance, > > > > Patrick. > > >=20 >=20 >=20 >=20 >=20 Confidentiality Notice: The information contained in this e-mail = message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended = recipient or an agent responsible for delivering it to the intended recipient, you = are hereby notified that you have received this document in error and that = any review, dissemination, distribution, or copying of this message is = strictly prohibited. If you have received this communication in error, please = notify us immediately by e-mail, and delete the original message.=20 Message confidentiel : Les informations contenues dans ce message sont destin=E9es =E0 un usage personnel et confidentiel du destinataire = indiqu=E9 ci-dessus. Si le lecteur de ce message n'est pas le destinataire = pr=E9vu, ou n'est pas une personne en charge de le d=E9livrer au destinataire = voulu, vous =EAtes par la pr=E9sente inform=E9 que vous avez re=E7u ce document par = erreur, et que tout examen, transmission, distribution ou copie de ce message est totalement interdit. Si vous avez re=E7u cette communication par = erreur, nous vous remercions de bien vouloir nous avertir imm=E9diatement par e-mail = et de d=E9truire le message d'origine. ------_=_NextPart_000_01C48927.7EB0E5CE Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------_=_NextPart_000_01C48927.7EB0E5CE--