Hi All,

I am new to geronimo. I want to know how we can start/stop the server via a
Java API call.
For eg : To deploy a module on the server we can extend DeployerCLI and pass
the arguments as options,command and arguments to the command.

Class Test extends DeployerCLI {

int status = new
Test("--username","a"..."deploy","war-file-location").executeMain();

}

Similarly, what class should be extended to start/stop the server and what
arguments should be passed to it?
Should DaemonCLI class be used? It will be helpful if someone can provide a
sample code to show how this can be done.

Thanks a lot for your help!!
-- 
View this message in context: 
http://n3.nabble.com/Start-the-server-programmatically-by-using-Java-API-tp416760p416760.html
Sent from the Users mailing list archive at Nabble.com.

Reply via email to