Enable file cleaner

Prev Next

The continuous operation of the server accumulates usage data. Grassfish provides a file cleaner to delete this data and avoid filling up the server file system.

To enable the file cleaner, perform the following steps:

  1. Navigate to the master.config file.

  2. Under appSettings, look for DataGateway.

  3. Set the value of FileCleaner:Enabled to true.

  4. Set the value of FileCleaner:IntervalSeconds to the desired number of seconds.

  5. Set the value of FileCleaner:ConfigFile to the file path of the filecleaner.xml file.

  6. Save your changes and close the file.

<appSettings type="DataGateway">
	<add key="FileCleaner:Enabled" value="true"/>
	<add key="FileCleaner:IntervalSeconds" value="120"/>
	<add key="FileCleaner:ConfigFile" value="\\grassfish.local\GFServers\configs\filecleaner.xml"/>
</appSettings>

Note

If you upgrade from IXM Platform version 11.14 or earlier, you must migrate the configuration settings from DataSpots to DataGateway and update the keys and values.