timer.schedule(task, delay);
}
else
{
logger.info("Shutting down now.");
pool.shutdown();
}
}
else
{
final XPathException xPathException = new XPathException(this, "Permission denied, calling user '" + context.getSubject().getName() + "' must be a DBA to shutdown the database");