Show Table of Contents
6.4. Run Red Hat JBoss Data Grid with a Custom Configuration
To run Red Hat JBoss Data Grid with a custom configuration, add a configuration file to the
$JDG_HOME/standalone/configuration directory.
Use the following command to specify the created custom configuration file for standalone mode:
$JDG_HOME/bin/standalone.sh -c ${FILENAME}
Use the following command to specify the created custom configuration file for clustered mode:
$JDG_HOME/bin/clustered.sh -c ${FILENAME}
The
-c used for this script does not allow absolute paths, therefore the specified file must be available in the $JDG_HOME/standalone/configuration directory.
If the command is run without the
-c parameter, JBoss Data Grid uses the default configuration.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.