2 Using the Default Persistent Store
- Using the Default Persistent Store
Each server instance, including the Administration Server, has a default persistent store that requires no configuration. The default store is a file-based store that maintains its data in a group of files in a server instancedata\store\default
directory. A directory for the default store is automatically created if one does not already exist. - Default Store Location
The default store maintains its data in adata\store\default
directory inside theservername
subdirectory of a domain's root directory. - Example of a Default File Store
This section provides an example of how a default file store may look in a domain's configuration file, with the default directory location and Synchronous Write Policy settings overridden.
Using the Default Persistent Store
Each server instance, including the Administration Server, has a default
persistent store that requires no configuration. The default store is a file-based
store that maintains its data in a group of files in a server instance
data\store\default
directory. A directory for the default
store is automatically created if one does not already exist.
This default store is available to subsystems that do not require explicit selection of a particular store and function best by using the system's default storage mechanism. For example, a JMS Server with no persistent store configured will use the default store for its Managed Server and will support persistent messaging.
The default store can be configured by directly manipulating DefaultFileStoreMBean parameters. If this MBean is not defined in the domain configuration file, then the configuration subsystem ensures that the DefaultFileStoreMBean
always exists with the default values.
Parent topic: Using the Default Persistent Store
Default Store Location
The default store maintains its data in a data\store\default
directory inside the servername
subdirectory of a domain's
root directory.
For example, if no directory name is specified for the default file store, it defaults to:
ORACLE_HOME\user_projects\domains\domain-name\servers\server-name\data\store\default
where domainname
is the root directory of your domain, typically c:\oracle\user_projects\domains\domainname
, which is parallel to the directory in which WebLogic Server program files are stored, typically c:\oracle\wlserver_12.1
.
Parent topic: Using the Default Persistent Store
Example of a Default File Store
This section provides an example of how a default file store may look in a domain's configuration file, with the default directory location and Synchronous Write Policy settings overridden.
<server <name>myserver</name> <default-file-store> <directory>C:/store</directory> </default-file-store> </server>
Parent topic: Using the Default Persistent Store