Transaction Log File Prefix
|
The path prefix for the server's JTA transaction log files. If the pathname is not absolute, the path is assumed to be relative to the root directory of the machine on which the server is running.
MBean: weblogic.management. configuration.ServerMBean
Attribute: TransactionLogFilePrefix
|
Default: "./"
Configurable: yes
Readable: yes
Writable: yes
|
TransactionLogFileWritePolicy
|
The policy used for writing log records to disk. The "Cache-Flush" policy flushes operating system and on-disk caches after each write. The "Cache-Flush" policy is the default policy. The "Direct-Write" policy tells the operating system to write directly to disk with each write. "Direct-Write" performs better than "Cache-Flush", and is available on Windows and Solaris. If "Direct-Write" is not supported on the host platform, the policy becomes "Cache-Flush" and a log message is printed.
WARNING: On Windows, unlike Solaris, the "Direct-Write" policy may leave transaction data in the on-disk cache without writing it to disk immediately. This is not transactionally safe, as a power failure can cause loss of on-disk cache data. For transactionally safe writes using "Direct-Write" on Windows, either disable all write caching for the disk (enabled by default), or use a disk with a battery backed cache.
The on-disk cache for a hard-drive on Windows can be disabled through system administration: Control-Panel -> System -> Hardware-tab -> Device-Manager-button -> Disk-Drives -> name-of-drive -> Policies-tab -> "Enable write caching on the disk" check-box. Some file systems do not allow this value to be changed. For example, a RAID system that has a reliable cache.
MBean: weblogic.management. configuration.ServerMBean
Attribute: TransactionLogFileWritePolicy
|
Default: weblogic.management.configuration.ServerMBean.SYNCWRITE_CACHEFLUSH
Valid values:
Configurable: yes
Readable: yes
Writable: yes
|