7.5. 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}
Copy to Clipboard Toggle word wrap
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.
As a managed domain is configured with two separate files, domain.xml and host.xml by default, there are two separate flags for specifying custom configuration files.
To define the custom configuration file for the server group profiles, use the -c parameter as described above, and demonstrated in the following command:
$JDG_HOME/bin/domain.sh -c ${FILENAME}
Copy to Clipboard Toggle word wrap
To define the custom configuration file for the servers use the --host-config parameter, as demonstrated in the following command:
$JDG_HOME/bin/domain.sh --host-config=${FILENAME}
Copy to Clipboard Toggle word wrap
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat