ActionReport report = context.getActionReport();
// then remove the application from the container
Deployer deployer = ctrInfo.getDeployer();
try {
deployer.unload(appCtr, context);
ctrInfo.unload(context);
} catch(Exception e) {
report.failure(context.getLogger(), "Exception while shutting down application container", e);
return false;
}