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

  1. 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/
  2. Open the project CDD or add one if the project does not yet have a CDD.
    • If you add a new CDD select Cache object management type in the wizard.
    • If you edit an existing CDD, select the Cluster tab. If the Object Management node is set to In Memory, right-click Object Management and select Cache.
  3. 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.
  4. In the Cluster tab navigation tree, select Backing Store. In the Configuration panel set the following values:
    • Persistence Option: Shared All
    • Database Type: Berkeley DB
    • Berkeley DB Data Store Path: The name and file location of the data store and (if used) the je.properties file.
  5. If the CDD is using overrides for concepts or events, select the checkbox "Has Backing Store" to indicate that the entity will be stored in Berkeley DB. If the checkbox is not selected, then the entity will not be stored.
  6. In the Cluster Tab navigation tree, select Properties. In the configuration tab, add the following properties:
  7. 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).
  8. Save the CDD file and build project EAR files for deployment.
  9. 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).