if (START_ACTION.equals(action)) {
if(!configurationManager.isLoaded(configId)) {
configurationManager.loadConfiguration(configId);
}
if(!configurationManager.isRunning(configId)) {
org.apache.geronimo.kernel.config.LifecycleResults lcresult = configurationManager.startConfiguration(configId);
message(actionResponse, lcresult, "Started application<br /><br />");
}
} else if (STOP_ACTION.equals(action)) {
if(configurationManager.isRunning(configId)) {
configurationManager.stopConfiguration(configId);