Tutorials > Dynamic caching > Operate dynacache in a production environment

< Previous | Next >

Tune 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 WebSphere Application Server administration server.

  2. Launch the WebSphere administrative 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 >


Search Tips   |   Advanced Search