Show Table of Contents
2.2. Specifying the Repository Location
By default, the repository will be created the first time JBoss Enterprise BRMS Platform is run. If a location has not been specified, the repository will be created in the directory the run command is issued from.
The repository should be stored in a secure location that is backed up.
Specify a location for the repository by editing the JBoss Seam
components.xml configuration file.
Procedure 2.1. Specify the Repository's Location
- Shutdown the Application Server
- Open the
components.xmlfile which is located in thedeploy/jboss-brms.war/WEB-INF/directory, and uncomment the repository.root.directory Key-Value attributes.<property name="properties"> <key>org.drools.repository.configurator</key> <value>org.drools.repository.jackrabbit.JackrabbitRepositoryConfigurator</value> <!-- the root directory for the repo storage the directory must exist. --> <!-- <key>repository.root.directory</key><value>/opt/yourpath</value> --> </property>
- Add the desired location of the repository to the repository.root.directory Key-Value Attribute. (This directory must already exist.)
<property name="properties"> <key>org.drools.repository.configurator</key> <value>org.drools.repository.jackrabbit.JackrabbitRepositoryConfigurator</value> <!-- the root directory for the repo storage the directory must exist. --> <key>repository.root.directory</key> <value>/BRMSRulesRepositoryLocation</value> </property>
- The JBoss Enterprise BRMS Platform will create a new datastore at that location if there is not already one there. To keep an existing datastore, copy the existing files to the new location before restarting the application server.
- Restart the application server. If an existing datastore was not moved to the new location, a new datastore will be created.

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.