Tutorial: Operating dynacache in a production environment >
< Previous | Next >
Tuning parameter: flush to disk
This section is related to flush to disk..
When the flushToDiskOnStop property is set to true, in-memory cached objects are saved to disk when the server is stopped.
Set the value for flushToDiskOnStop to true.
- Start the WAS administration server.
- Launch the WebSphere console.
- Click Servers > Application servers > server1 > Java and process management > Process definition > Java virtual machine > Custom properties > New.
- Enter com.ibm.ws.cache.flushToDiskOnStop for Name, and true for Value.
- Click OK, and save the changes.