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 </jima>



---------------------------------------------------------------------
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