//the Node Agent will not synchronize the correct data.
//QUESTION: What happens if an exception is thrown above (e.g. in addNodeAgent). How do
//we restore the admin config context to its previous (and unpersisted value)???
flushAll();
NodeAgentMBean agentMBean = NodeAgentProxy.getNodeAgentProxy(controller.getName());
agentMBean.synchronizeWithDAS();
} catch (Exception ex) {
throw getExceptionHandler().handleInstanceException(
ex, "eeadmin.deleteServerInstance.Exception", serverName);
} finally {
ConfigContextImpl.unlock();