Use this interface to configure the WebLogic Diagnostic Framework (WLDF) components that are defined for each WebLogic Server instance.
Since | 9.0.0.0 | ||
Fully Qualified Interface Name | If you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.configuration.WLDFServerDiagnosticMBean
|
||
Factory Methods | No factory methods. Instances of this MBean are created automatically. | ||
Access Points |
You can access this MBean from the following MBean attributes:
|
This section describes attributes that provide access to other MBeans.
The JDBC data source that the server uses to archive its harvested metrics and event data.
For more information, see:
Privileges | Read/Write |
Type | JDBCSystemResourceMBean |
Relationship type: | Reference. |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Privileges | Read only |
Type | WLDFResourceBean |
Relationship type: | Containment. |
If set, to enable or disable Stuck Thread Watch and Notifications in WLDF Builtin System Resource.
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Privileges | Read only |
Type | WLDFBuiltinWatchConfigurationMBean |
Relationship type: | Containment. |
Return the WLDFDataRetirementByAgeMBeans parented by this WLDFServerDiagnosticMBean.
Factory Methods | createWLDFDataRetirementByAge
(java.lang.String name)
Factory methods do not return objects. |
Lookup Operation | lookupWLDFDataRetirementByAge(String name)
Returns a |
Privileges | Read only |
Type | WLDFDataRetirementByAgeMBean[] |
Relationship type: | Containment. |
Return the WLDFDataRetirementMBeans parented by this WLDFServerDiagnosticMBean.
Lookup Operation | lookupWLDFDataRetirement(String name)
Returns a |
Privileges | Read only |
Type | WLDFDataRetirementMBean[] |
Relationship type: | Reference. |
This section describes the following attributes:
Private property that disables caching in proxies.
Privileges | Read only |
Type | boolean |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
This attribute controls if configuration based data retirement functionality is enabled on the server. If disabled, all retirement policies will be disabled.
Available Since | Release 10.0.0.0 |
Privileges | Read/Write |
Type | boolean |
Default Value | true |
If true, diagnostic context creation is enabled. If false, the diagnostic context will not be created when requested. However, if the diagnostics context already exists because it was propagated from another VM or was created through the DyeInjection monitor, the context will be made available.
Deprecated.
Privileges | Read/Write |
Type | boolean |
Default Value | true |
Determines whether the current server persists its harvested metrics and event data in a diagnostic store (file-based store) or a JDBC based archive. The default store is file-based.
Privileges | Read/Write |
Type | java.lang.String |
Default Value | FileStoreArchive |
Legal Values |
|
Directory where heap and thread dumps will be generated by actions. This directory is a relative path with respect to the server directory
Available Since | Release 12.2.1.1.0 |
Privileges | Read/Write |
Type | java.lang.String |
Default Value | logs/diagnostic_dumps |
The schema name to use for accessing JDBC-based archive tables.
If multiple WLDF JDBC archive schemas exist in the same database, this value specifies the correct schema to use for accessing JDBC-based archive tables in that database.
There is no default value. If a schema name is not specified, no schema name is applied when WLDF validates the run-time table or is used for the SQL statements.
For more information, see:
Privileges | Read/Write |
Type | java.lang.String |
The smallest addressable block, in bytes, of a file. When a
native wlfileio
driver is available and the block size
has not been configured by the user, the store selects the minimum
OS specific value for unbuffered (direct) I/O, if it is within the
range [512, 8192].
A file store's block size does not change once the file store creates its files. Changes to block size only take effect for new file stores or after the current files have been deleted. See "Tuning the Persistent Store" in Performance and Tuning for Oracle WebLogic Server.
Privileges | Read/Write |
Type | int |
Default Value | -1 |
Minimum value | -1 |
Maximum value | 8192 |
The directory in which the current server maintains its diagnostic store.
For more information, see:
Privileges | Read/Write |
Type | java.lang.String |
Default Value | data/store/diagnostics |
Determines whether OS file locking is used.
When file locking protection is enabled, a store boot fails if another store instance already has opened the store files. Do not disable this setting unless you have procedures in place to prevent multiple store instances from opening the same file. File locking is not required but helps prevent corruption in the event that two same-named file store instances attempt to operate in the same directories. This setting applies to both primary and cache files.
Privileges | Read/Write |
Type | boolean |
The I/O buffer size, in bytes, automatically rounded down to the nearest power of 2, controls the largest write size.
When a native wlfileio
driver is available, the
setting applies to off-heap (native) memory.
When a native wlfileio
driver is not available, the
setting applies to JAVA heap memory.
For the best runtime performance, Oracle recommends setting
DiagnosticStoreIOBufferSize
so that it is larger than
the largest write (multiple concurrent store requests may be
combined into a single write).
See AllocatedIOBufferBytes
to find out the actual
allocated off-heap (native) memory amount. It is a multiple of
IOBufferSize
Privileges | Read/Write |
Type | int |
Default Value | -1 |
Minimum value | -1 |
Maximum value | 67108864 |
The maximum file size, in bytes.
The DiagnosticStoreMaxFileSize
value affects the
number of files needed to accommodate a diagnostic store of a
particular size (number of files = diagnostic store
size/MaxFileSize rounded up).
A diagnostic store automatically reuses space freed by deleted
records and automatically expands individual files up to
DiagnosticStoreMaxFileSize
if there is not enough
space for a new record. If there is no space left in exiting files
for a new record, a diagnostic store creates an additional
file.
A small number of larger files is normally preferred over a large number of smaller files as each file allocates Window Buffer and file handles.
If DiagnosticStoreMaxFileSize
is larger than 2^24 *
DiagnosticStoreBlockSize
, then
DiagnosticStoreMaxFileSize
is ignored, and the value
becomes 2^24 * DiagnosticStoreBlockSize
. The default
DiagnosticStoreBlockSize
is 512, and 2^24 * 512 is 8
GB.
Oracle recommends not setting the Diagnostic Store Max File Size above the default value of 1,342,177,280.
Privileges | Read/Write |
Type | long |
Default Value | 1342177280 |
Minimum value | 10485760 |
The maximum amount of data, in bytes and rounded down to the
nearest power of 2, mapped into the JVM's address space per
diagnostic store file. Applies only when a native
wlfileio
library is loaded.
A window buffer does not consume Java heap memory, but does
consume off-heap (native) memory. If the store is unable to
allocate the requested buffer size, it allocates smaller and
smaller buffers until it reaches
DiagnosticStoreMinWindowBufferSize
, and then fails if
it cannot honor
DiagnosticStoreMinWindowBufferSize
.
Oracle recommends setting the max window buffer size to more than double the size of the largest write (multiple concurrently updated records may be combined into a single write), and greater than or equal to the file size, unless there are other constraints. 32-bit JVMs may impose a total limit of between 2 and 4GB for combined Java heap plus off-heap (native) memory usage.
Privileges | Read/Write |
Type | int |
Default Value | 4194304 |
Minimum value | -1 |
Maximum value | 1073741824 |
The minimum amount of data, in bytes and rounded down to the
nearest power of 2, mapped into the JVM's address space per
diagnostic store file. Applies only when a native
wlfileio
library is loaded. See Diagnostic Store
Maximum Window Buffer Size.
Privileges | Read/Write |
Type | int |
Default Value | -1 |
Minimum value | -1 |
Maximum value | 1073741824 |
Return whether the MBean was created dynamically or is persisted to config.xml
Privileges | Read only |
Type | boolean |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The interval, in milliseconds, at which queued up instrumentation events will be periodically dispatched to the archive.
Privileges | Read/Write |
Type | long |
Default Value | 5000 |
The time span, in milliseconds, for which recently archived
events will be captured in the diagnostic image. All events
archived on or after ( System.currentTimeMillis() -
interval
) will be captured.
Privileges | Read/Write |
Type | long |
Default Value | 60000 |
Return the unique id of this MBean instance
Privileges | Read only |
Type | long |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The default directory where the server stores captured diagnostic images.
If you specify a relative pathname, the root of that path is the server's root directory.
If the directory does not exist, it will be created when the WebLogic Diagnostic Framework is initialized on the server. Note that each image capture request can override this default directory location.
For more information, see:
Privileges | Read/Write |
Type | java.lang.String |
The default timeout period, in minutes, that the server uses to delay future diagnostic image-capture requests.
Privileges | Read/Write |
Type | int |
Default Value | 1 |
Maximum value | 1440 |
Returns the maximum number of heap dump files to be retained which are generated by heap dump actions. If this limit is reached, oldest heap dumps will be deleted while creating new heap dump so that this limit is not exceeded.
Available Since | Release 12.2.1.1.0 |
Privileges | Read/Write |
Type | int |
Default Value | 8 |
Minimum value | 1 |
Maximum value | 50 |
Returns the maximum number of thread dump files to be retained which are generated by thread dump actions. If this limit is reached, oldest thread dump files will be deleted while creating new thread dump file so that this limit is not exceeded.
Available Since | Release 12.2.1.1.0 |
Privileges | Read/Write |
Type | int |
Default Value | 100 |
Minimum value | 1 |
Maximum value | 1000 |
Returns the MBean info for this MBean.
Deprecated.
Privileges | Read only |
Type | javax.management.MBeanInfo |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The user-specified name of this MBean instance.
This name is included as one of the key properties in the
MBean's javax.management.ObjectName
:
Name=user-specified-name
Privileges | Read/Write |
Type | java.lang.String |
Optional information that you can include to describe this configuration.
WebLogic Server saves this note in the domain's configuration
file (config.xml
) as XML PCDATA. All left angle
brackets (<) are converted to the XML entity
<
. Carriage returns/line feeds are
preserved.
Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.
Privileges | Read/Write |
Security roles | Write access is granted only to the following roles:
|
Type | java.lang.String |
Returns the ObjectName under which this MBean is registered in the MBean server.
Deprecated.
Privileges | Read only |
Type | weblogic.management.WebLogicObjectName |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Return the immediate parent for this MBean
Privileges | Read/Write |
Type |
Return the preferred limit on the size of diagnostic store file in MB.
Available Since | Release 10.0.0.0 |
Privileges | Read/Write |
Type | int |
Default Value | 100 |
Minimum value | 10 |
Returns false if the MBean represented by this object has been unregistered.
Deprecated.
Privileges | Read only |
Type | boolean |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Return the period in hours at which diagnostic store file size check will be performed
Available Since | Release 10.0.0.0 |
Privileges | Read/Write |
Type | int |
Default Value | 1 |
Minimum value | 1 |
Specifies the instrumentation events persistence policy. If true, events will be persisted synchronously within the same thread. If false, events will be queued up to be persisted in a separate thread.
Privileges | Read/Write |
Type | boolean |
Return all tags on this Configuration MBean
Available Since | Release 12.2.1.0.0 |
Privileges | Read/Write |
Type | class java.lang.String[] |
Returns the type of the MBean.
Privileges | Read only |
Type | java.lang.String |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
This attribute specifies the WLDF built-in system resource type in use for this server.
This attribute has the following settings:
None
No WLDF built-in system resource in use.
Low
The Low WLDF built-in system resource. This is the default.
Medium
The Medium built-in system resource.
High
The High built-in system resource.
Available Since | Release 12.1.2.0.0 |
Privileges | Read/Write |
Type | java.lang.String |
Default Value | None |
Legal Values |
|
Specifies the volume of diagnostic data that is automatically produced by WebLogic Server at run time. Note that the WLDF diagnostic volume setting does not affect explicitly configured diagnostic modules. For example, this controls the volume of events generated for Flight Recorder.
This attribute has the following settings:
Off
No diagnostic data is produced.
Low
Minimal amounts of automatic diagnostic data are produced. This is the default.
Medium
Additional diagnostic data is automatically generated beyond the
amount generated for Low
.
High
Additional diagnostic data is automatically generated beyond the
amount generated for Medium
.
Available Since | Release 10.3.3 |
Privileges | Read/Write |
Type | java.lang.String |
Default Value | Low |
Legal Values |
|
This section describes the following operations:
Add a tag to this Configuration MBean. Adds a tag to the current set of tags on the Configuration MBean. Tags may contain white spaces.
Operation Name | "addTag" |
Parameters | Object [] { tag }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Exceptions |
|
If the specified attribute has not been set explicitly, and if the attribute has a default value, this operation forces the MBean to persist the default value.
Unless you use this operation, the default value is not saved and is subject to change if you update to a newer release of WebLogic Server. Invoking this operation isolates this MBean from the effects of such changes.
Note: To insure that you are freezing the default value, invoke
the restoreDefaultValue
operation before you invoke
this.
This operation has no effect if you invoke it on an attribute that does not provide a default value or on an attribute for which some other value has been set.
Deprecated.
Operation Name | "freezeCurrentValue" |
Parameters | Object [] { attributeName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|
Return all properties' names whose value is inherited from template mbean. this is a convenient method to get inheritance info on multiple properties in one jmx call.
Operation Name | "getInheritedProperties" |
Parameters | Object [] { propertyNames }
where:
|
Signature | String [] {
"[Ljava.lang.String;" } |
Returns |
class |
Check if the value of a property is inherited from template mbean or not.
Operation Name | "isInherited" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Returns true if the specified attribute has been set explicitly in this MBean instance.
Operation Name | "isSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Remove a tag from this Configuration MBean
Operation Name | "removeTag" |
Parameters | Object [] { tag }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Exceptions |
|
If the specified attribute has a default value, this operation removes any value that has been set explicitly and causes the attribute to use the default value.
Default values are subject to change if you update to a newer
release of WebLogic Server. To prevent the value from changing if
you update to a newer release, invoke the
freezeCurrentValue
operation.
This operation has no effect if you invoke it on an attribute that does not provide a default value or on an attribute that is already using the default.
Deprecated.
Operation Name | "restoreDefaultValue" |
Parameters | Object [] { attributeName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|
Restore the given property to its default value.
Operation Name | "unSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|