ILOG JRules User Guide > Managing Rule Execution Server > Tasks > Administering Rule Execution Server > Changing the Default Behavior of the Execution Stack > Changing Persistence Provider Parameters

You can change the persistence provider parameters using a configuration property.

To change the parameters of the persistence provider property:

  1. Open the RAR deployment descriptor using any text or XML editor.
  2. Locate the property name <config-property-name>persistenceProperties</config-property-name>.
  3. Replace the default value of <config-property-value>JNDI_NAME=jdbc/bresdatasource</config-property-value> (database persistence in J2SE where the JNDI name is jdbc/bresdatasource) with one of the following:
    1. <config-property-value>DIRECTORY=res_data
    2. <config-property-value>

For both persistence types, the property CONCURRENT_PERSISTENCE_ACCESS specifies whether persistence access can be concurrent.

To add the property to the ruleset provider configuration, include the property name as follows:

J2EE database persistence

<config-property-value>
   JNDI_NAME=jdbc/bresdatasource
   CONCURRENT_PERSISTENCE_ACCESS=false
</config-property-value>

J2SE database persistence

<config-property-value>
      DRIVER_CLASS_NAME=com.pointbase.jdbc.jdbcUniversalDriver,
      URL=jdbc:pointbase:server://computer/database,
      USER=pbpublic,
      PASSWORD=pbpublic,
     CONCURRENT_PERSISTENCE_ACCESS=false
</config-property-value>

File persistence

<config-property-value>
   DIRECTORY=res_data,
   CONCURRENT_PERSISTENCE_ACCESS=false
</config-property-value>

Related Concepts

Execution Unit (XU)

Related Tasks

Configuring the XU for the XU Plug-in
Adding Execution Unit (XU) JCA 1.5 Connection Factories