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.

  1. Start the WAS administration server.

  2. Launch the WebSphere console.

  3. Click Servers > Application servers > server1 > Java and process management > Process definition > Java virtual machine > Custom properties > New.

  4. Enter com.ibm.ws.cache.flushToDiskOnStop for Name, and true for Value.

  5. Click OK, and save the changes.


< Previous | Next >