First download the standalone TreeCache code from here. Unzip it, and you will get a root directory (jboss-cache in our example).
The configuration files are located under the etc directory. You can modify the behavior of TreeCache through editing the various configuration files.
log4j.xml. Logging output. You can turn on logging level or change log file directory (default is /tmp/jbosscache.log).
replSync-service.xml. Tree cache configuration file (file name is not fixed. You specify the file to be read in PropertyConfigurator). The settings are for a replicated, synchronous, and transactional cache. The default DummyTransactionManager is used with a transaction isolation level of REPEATABLE_READ. For details of the configuration parameters, please refer to the Treecache. Note that this file is used in the BSH ( BeanShell, a lightweight Java compatible scripting language) script to configure the cache.
jboss-aop.xml. AOP pointcut and advice definition for the example POJO classes, Person and Address, respectively. For details of how to put your own class under AOP, please refer to the PojoCache. This file is read in when the process is started.