("Command Failed. Invalid ConfigContext because of concurrent Access. Please rerun the command");
}
// <addition> srini@sun.com server.xml verifier
//preChange(ConfigContextEvent.PRE_FLUSH_CHANGE);
ConfigContextEvent ccce = new ConfigContextEvent(this,ConfigContextEvent.PRE_FLUSH_CHANGE);
preChange(ccce);
// </addition> server.xml verifier
try {
FileOutputStream fos = new FileOutputStream(this.xmlUrl);
server.write(fos);
} catch(Exception e) {
throw new ConfigException("Error Flushing ConfigContext " + toString());
}
initLastModified();
// <addition> srini@sun.com
//postChange(ConfigContextEvent.POST_FLUSH_CHANGE);
ccce = new ConfigContextEvent(this,ConfigContextEvent.POST_FLUSH_CHANGE);
postChange(ccce);
// </addition> server.xml verifier
//FIXME: should I not write out persistentConfigChanges now??
}