Este conteúdo não está disponível no idioma selecionado.

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

  1. Shutdown the Application Server
  2. Open the components.xml file which is located in the deploy/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>
    
    Copy to Clipboard Toggle word wrap
  3. 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>
    
    Copy to Clipboard Toggle word wrap
  4. 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.
  5. Restart the application server. If an existing datastore was not moved to the new location, a new datastore will be created.

Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat