} else if (STOP_ACTION.equals(action)) {
if(configurationManager.isRunning(configId)) {
configurationManager.stopConfiguration(configId);
}
if(configurationManager.isLoaded(configId)) {
LifecycleResults lcresult = configurationManager.unloadConfiguration(configId);
message(actionResponse, lcresult, "Stopped application<br /><br />");
}
} else if (UNINSTALL_ACTION.equals(action)) {
configurationManager.uninstallConfiguration(configId);
message(actionResponse, null, "Uninstalled application<br /><br />"+configId+"<br /><br />");