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.
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.
Select the
Cluster tab. In the navigation tree, select
Object Management. In the
Configuration panel, set the following:
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:
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.
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.
In the Cluster Tab navigation tree, select
Properties. In the configuration tab, add the following properties:
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).