skip to main content
Corticon Server: Integration & Deployment Guide : Inside Corticon Server : State : Corticon Server state : Turning off server state persistence
 

Try Corticon Now
Turning off server state persistence
By default, Corticon Server automatically creates and maintains the ServerState.xml document during normal operation, and reads it during restart. This allows it to recover its previous state in the event of an unplanned shutdown (such as a power failure or hardware crash)
However, Corticon Server can also operate without the benefit of ServerState.xml, either by not reading it upon restart, or by not creating/maintaining it in the first place. In this mode, an unplanned shutdown and restart results in the loss of any settings made through the Corticon Web Console. For example, any properties settings made or .eds files deployed using the Console will be lost. If an autoloaddir property has been set in your brms.properties file, Corticon Server will still attempt to read .cdd files and load their .erf files automatically
To enable or disable creation of the ServerState.xml document, set the Server property com.corticon.server.serverstate.persistchanges in your brms.properties file.
To allow/prevent Corticon Server reading ServerState.xml, set the Server property com.corticon.server.serverstate.load in your brms.properties file.
You can customize Corticon Server's state and restart behavior by combining these two property settings:
serverstate .persistchanges
serverstate .load
Server Restart Behavior
true
true
Corticon Server maintains ServerState.xml during operation, and automatically reads it upon restart to restore to the old state.
true
false
Corticon Server maintains ServerState.xml during operation, but does NOT automatically read it upon restart. New Server state upon restart is unaffected by ServerState.xml.
This allows a system administrator to manually control state restoration from the ServerState.xml, if preferred.
false
true
Corticon Server attempts to read ServerState.xml upon restart, but finds nothing there. No old state restored.
false
false
no ServerState.xml document exists, and Corticon Server does not attempt to read it upon restart. No old state restored.