Configuring the Berkeley DB Shared All Persistence Option
You can configure Berkeley DB Shared All Persistence in the CDD file and optionally in a properties file called the je.properties file.
Procedure
-
Download the supported version of the Oracle Berkeley DB Java Edition software from the Oracle web site. See the Release Notes for details on supported versions. Place the
je-
versionNumber JAR file in the following directory:
BE_HOME/hotfix/lib/ext/tpcl/
- Open the project CDD or add one if the project does not yet have a CDD.
-
Select the
Cluster tab. In the navigation tree, select
Object Management. In the
Configuration panel, set the following:
- Provider: TIBCO
- Cache Agent Quorum: Generally set to the number of cache agents (see CDD Cluster Tab Cache OM Settings for details)
- The following items are not relevant: Number of Backup Copies, Entity Cache Size, Object Table Cache Size.
- In the Cluster tab navigation tree, select Backing Store. In the Configuration panel set the following values:
- If the CDD is using overrides for concepts or events, select the check box "Has Backing Store" to indicate that the entity will be stored in Berkeley DB. If the check box is not selected, then the entity will not be stored.
-
In the Cluster Tab navigation tree, select
Properties. In the configuration tab, add the following properties:
- be.backingstore.useobjecttable (see CDD Cluster Tab Backing Store Properties Reference for details).
- be.engine.cluster.as.lock.ttl (as the property is deprecated, use the Lock Timeout option in CDD Cluster Tab Cache OM Settings).
- In the Agent Classes tab, configure inference agents with the be.engine.cluster.as.node.retry.times property (see CDD Cluster Tab DataGrid Properties Reference for details).
- Save the CDD file and build project EAR files for deployment.
- If you will use any properties shown in Reference To Berkeley DB (JE) Properties, add the properties as name-value pairs in a file called je.properties. Place the file in the same location as the data store (as specified in the Berkeley DB Data Store Path setting).
Copyright © Cloud Software Group, Inc. All rights reserved.