I never needed it myself but following seems to be relevant: --Azfar
----- Original Message ----- From: "Jim Crossley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 25, 2002 12:45 PM Subject: Re: [JBoss-user] Can my ant-task wait for JBoss to deploy? > Use ant's <get> task to hit the jmx-console. The URL should look like this: > > http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jbo ss.system:service%3DMainDeployer&methodName=deploy&argType=java.lang.String& arg=${deploy.target} > > Your deploy.target property should look something like this: > file:/the/path/to/your/app.ear > > The <get> task is synchronous, so upon its return, your app will be > deployed. That way, your test target may depend on your deploy target. > > Good luck, > Jim > > Thorbjørn Ravn Andersen wrote: > > I would like for my "ant deploy" task - which currently just copies > > files into server/default/deploy - to wait until JBoss has finished > > deploying and is ready to serve again, as I have a status page I would > > like to be automatically checked to confirm that things are ok, before > > continuing. Jetty reports a 404 until things are fully deployed :( > > > > Can this be done? Or can I make Jetty wait to serve the request until > > the whole system is ready again? > > > > [If this is in the pay-documentation, please say so. My work does not > > have a credit card :( ] > > > > Thorbjørn Ravn Andersen Scandiatransplant > > Skejby Sygehus, indgang 3 > > +45 89 49 53 01 DK-8200 Århus N > > http://biobase.dk/~tra ----- Original Message ----- From: Dushyant Shrivastava To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 6:36 PM Subject: [JBoss-user] Order of deployment HI, I have an application ear which comprises of a jar and a sar. Following is the dependency AnotherJar <----------------- sar <----------------------------jar AnotherJar is deployed seperately outside the ear at this stage, but I am keen to include it within the ear as well! Now I need to make sure that the sar is deployed first and the then the jar(both are inside the ear). Is there anyway to do this besides naming them as such : 1.sar, 2.jar?? also if I put AnotherJar inside the ear as well, I would need to make sure that it is deployed first before the sar! My colleague and myself have observed that if a jar and sar is packaged into an EAR, that the sar is deployed first and then the jar. Is this a standard behaviour. Is it a safe assumption to make that this would always be the case! If not how can I make sure that certain order of deployment is followed! Any help is much appreciated P.S: I am using JBoss 3.0.2 , JDK 1.4.1, ANT 1.4.1 Dushy ______________________ DUSHYANT SHRIVASTAVA Software Engineer YAMBAY tel +61 (0) 8 9323 6999 mob +61 (0) 402 902 652 fax +61 (0) 8 9325 2688 web www.yambay.com Yambay Technologies Pty Ltd 7th Floor, The Victoria, 14-16 Victoria Ave, Perth. WA, 6000, Australia ____________________________________________________________________________ _____________________ This message and any files transmitted with it are confidential and are intended solely for the use of those persons to whom the message is addressed. If you have received this message in error, please destroy and delete this message from your computer. Any unauthorised form of reproduction of this message or any files transmitted with it is strictly prohibited. yambay does not make any warranty concerning the security of any information electronically transmitted and disclaims all liability for the proper and complete transmission of any information contained or purportedly contained in this message, nor for any delay in its receipt. If you receive this message in error please notify the sender. ____________________________________________________________________________ _____________________ ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user