Configuration properties for execution units

You can set configuration properties for the execution unit (XU) in Jakarta EE or Java™ SE.

You can change the following XU configuration properties in either the administration console of your application server or the connector deployment descriptor.

Important: After you modify a property, restart the application server to apply the changes.
Table 1. XU configuration properties
Name Type Default value Description
asynchronousRulesetParsing Boolean true If you keep the default value, new executions on the current ruleset can be run until the new ruleset is parsed. If you set the property to false, current executions of the ruleset in memory are completed but no new executions can be run on the current ruleset until the new ruleset is parsed.
compiledArchivesCacheProperties String

Use a comma to separate the two parameters.

10 for the maxSize parameter Use this property to cache the compiled ruleset archive (containing the bytecode) that the XU generates upon the first execution of a ruleset. Use the maxSize parameter to set the maximum number of compiled archives in the cache and the path parameter to set the directory of the compiled archives cache. The cache is enabled if the path parameter is set to a valid directory. Each instance of the XU must use a different path. This property applies only to the decision engine.
defaultConnectionManagerProperties     Use this property to specify the parameters of the ConnectionManager instance that the XU provides. Used in Java SE only for tuning the connection pool. Ignored in Jakarta EE environments. See Rule session tuning.
documentBuilderPoolProperties String

Use a comma to separate the two parameters.

-1 (= infinite duration) for the pool.waitTimeout parameter Use this property to specify the settings of DocumentBuilder instances. The execution unit uses DocumentBuilder instances to convert XOM objects to BOM strings, and conversely. Use the pool.maxSize parameter to set the maximum number of instances in the pool and the pool.waitTimeout parameter to set the maximum number of milliseconds before attempts at obtaining an instance from the pool fail.
Attention: The 0 value means infinite timeout. Use this value with extreme caution because if the pool is overloaded, it might cause some threads to hang in the system.
memoryProfilerIncludedPackageNames String   The estimated memory size includes only the objects from the packages that are given by the setting of the memoryProfilerIncludedPackageNames XU property.
persistenceProperties     Specifies the parameters of the persistence layer. For more information, see Persistence properties for execution units
persistenceType  
  • Java SE: jdbc
  • Jakarta EE: datasource
Defines the type of persistence for storing rulesets.
  • datasource for Jakarta EE data sources
  • jdbc when the XU is used in Java SE mode
  • file for file persistence on Jakarta EE and Java SE platforms
plugins     Use the following aliases to specify which plug-ins can receive the rule engine events that the XU generates: DVS, Management, Event, HTDS, ODMEventEmitter, or SMF (for z/OS®).
profilingEnabled Boolean true Set this property to true to activate profiling capabilities.
Restriction: You cannot use profiling on rulesets that are built with the decision engine.
rulesetCacheProperties String. Use a comma to separate the two parameters. 300 for the ruleset.cache.maintenance.period parameter

Use this property to cache ruleset instances in order to avoid parsing a ruleset for each execution. See Ruleset cache.

Use the ruleset.cache.maintenance.period parameter to set the maintenance task interval period. By default, the ruleset.cache.maintenance.period property is set to 300 so that the maintenance thread is run every 5 minutes.

Use the ruleset.cache.class parameter to customize the ruleset cache management by writing your own implementation class. Make sure that the rulesetUsageMonitorEnabled property is set to true, which is the default value. See Customizing the ruleset cache.

rulesetUsageMonitorEnabled Boolean true
Use this property to manage and monitor actions on rulesets, including:
  • Managing the XU timeout policy
  • Accessing the ruleset memory information by using the API
  • Retrieving the XU memory usage
  • Customizing the ruleset cache

See Enabling ruleset monitoring.

traceAutoFlush Boolean false Flushes the log stream each time a message is written.
traceLevel   FINE Level of logged messages: OFF, SEVERE, WARNING, INFO, FINE. Java log levels are used as the reference. The ALL range is also supported. ALL indicates that all messages be logged, which includes the product debug and internal traces.
Attention: In a production environment, it is recommended that you change the value to WARNING to prevent a decrease in performance.
transformerPoolProperties String

Use a comma to separate the two parameters.

-1 (= infinite duration) for the pool.waitTimeout parameter Use this property to specify the settings of DocumentBuilder instances, The execution unit uses these instances to convert XOM objects to BOM strings, and conversely. Use the pool.maxSize parameter to set the maximum number of instances in the pool and the pool.waitTimeout parameter to set the maximum number of milliseconds before attempts at obtaining an instance from the pool fail.
Attention: The 0 value means infinite timeout. Use this value with extreme caution because if the pool is overloaded, it might cause some threads to hang in the system.