Return-Path: Delivered-To: apmail-avalon-dev-archive@avalon.apache.org Received: (qmail 39329 invoked by uid 500); 1 Mar 2003 17:52:49 -0000 Mailing-List: contact dev-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list dev@avalon.apache.org Received: (qmail 39318 invoked from network); 1 Mar 2003 17:52:48 -0000 Received: from smtp011.mail.yahoo.com (216.136.173.31) by daedalus.apache.org with SMTP; 1 Mar 2003 17:52:48 -0000 Received: from dsl-62-3-69-154.zen.co.uk (HELO yahoo.com) (paul?hammant@62.3.69.154 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 1 Mar 2003 17:52:52 -0000 Message-ID: <3E60F312.9010407@yahoo.com> Date: Sat, 01 Mar 2003 17:51:14 +0000 From: Paul Hammant User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Avalon Developers List Subject: Re: Deploying multiple SARs but auto-starting only one. References: <015f01c2dfb2$d8bbbc30$6580a8c0@venus> In-Reply-To: <015f01c2dfb2$d8bbbc30$6580a8c0@venus> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jim, Do it through the MX4J webapp. At work we use part of HttpUnit for poking the localhost webapp programatically. The following ... http://localhost:8082/invoke?operation=deploy&objectname=Phoenix%3Acomponent%3DDeployer%2Ctopic%3DDeployer&value0=foo&type0=java.lang.String&value1=http%3A%2F%2Fbar.com%2Fbar.sar&type1=java.lang.String ... deploys http://bar.com/bar.sar as 'foo' Regards, - Paul >>On Sat, 1 Mar 2003 08:16, Jim Alateras wrote: >> >> >>>Is it possible to deploy a number of SARs but only auto-start one of >>>them when the Phoenix container is started. I then want to >>>programmatically start and stop other deployed SARs on demand. >>> >>> >>The only ones that get autostarted are ones that are in the apps >>directory. >>You could place the other applications in other directorys (like base >>phoenix >>directory or whatever). And then when you autostart them you just have >> >> >to > > >>make sure that you specify the URLs correctly. >> >> >> > >cool. How do I programmatically stop/start an application not loaded in >the 'apps' directory. > > >cheers > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org >For additional commands, e-mail: dev-help@avalon.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org For additional commands, e-mail: dev-help@avalon.apache.org