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 determine whether Corticon Server will persist its state inside of the ServerState.xml, set the following property in your brms.properties file to true or false. By default this feature is turned on. Default value is true.
com.corticon.server.serverstate.persistchanges=true
To determine whether Corticon Server will initially load the ServerState.xml file to restore the Corticon Server to its previous state, set the following property in your brms.properties file to true or false. Default value is true
com.corticon.server.serverstate.load=true
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.