Chapter 2. Configuration

First download the JBoss Cache 3.x distribution from the download page. You will need the all distribution (jbosscache-core-3.X.Y.GA-all.zip). Unzip it, and you will get a directory containing the distribution, such as jbosscache-core-3.X.Y. For the sake of this tutorial, I will refer to this as ${JBOSSCACHE_HOME}.
The configuration files are located in ${JBOSSCACHE_HOME}/etc. You can modify the behavior of the cache by editing the various configuration files.
  • log4j.xml: Logging output. You can enable logging, specify log levels or change the name and path to the log file.
  • config-samples/total-replication.xml: Cache configuration file used for this tutorial.