ILOG JRules User Guide > Managing Rule Execution Server > Tasks > Administering Rule Execution Server > Changing the Console Persistence Type

You can change the persistence type of Rule Execution Server to a file system or a database.

To change the Rule Execution Server Console persistence type:

For example, to change the persistence in JBoss, open jrules-bres-management-JBOSS40.ear/jrules-bres-management.war /WEB-INF/web.xml and locate the following lines:

    <web-app>
       ...
        <context-param>
            <param-name>persistenceType</param-name>
            <param-value>datasource</param-value>
            <!-- param-value>file</param-value -->
        </context-param>
       ...
    </web-app>

If you use file persistence, you can change the persistence directory in the web.xml file:

    <web-app>
       ...
        <context-param>
            <param-name>filePersistenceDirectory</param-name>
            <param-value>res_data</param-value>
        </context-param>
       ...
    </web-app>

Note
When you use a relative path for the persistence directory, it is relative to the JVM launching directory. In some cases, you must use an absolute path (for example if you run Tomcat as a Windows service).

Related Concepts

Rule Execution Server Management Model
Management and Monitoring

Related Tasks

Changing the Default Behavior of the Execution Stack
Management Model API Access
Invalidating Rulesets in Local VMs

Related Samples and Tutorials

How to Automate Ruleset Management