Start shutdown on this instance.
try {
PEMain.getApplicationServer().onShutdown();
PEMain.getApplicationServer().onTermination();
} catch (ServerLifecycleException e) {
_logger.log(Level.SEVERE,"shutdown.error",e.getMessage());
}
AuditManager auditManager =
AuditManagerFactory.getAuditManagerInstance();
if (auditManager.isAuditOn()){
auditManager.serverShutdown();
}
J2EEServer.shutdown();
_logger.log(Level.FINE, "finished calling J2EEServer.clientShutdown()..");