BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.2 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.configuration
Interface KernelMBean

All Superinterfaces:
ConfigurationMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, weblogic.management.WebLogicMBean
All Known Subinterfaces:
ServerMBean

public interface KernelMBean
extends ConfigurationMBean

This bean represents the configuration of the core message passing kernel on both WebLogic clients and servers.

ServerMBean extends this bean to represent the configuration of a server.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/documentation/index.html.


Field Summary
static String STDOUT_NOID
          Format of messages logged to the console in WLS 6.
static String STDOUT_STANDARD
          Default format of messages logged to the console
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 String getAdministrationProtocol()
          Returns the protocol to be used for administrative connections when none is specified.
 int getCompleteCOMMessageTimeout()
          Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout()
 int getCompleteHTTPMessageTimeout()
          Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout()
 int getCompleteIIOPMessageTimeout()
          Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout()
 int getCompleteMessageTimeout()
          The maximum number of seconds that this server waits for a complete message to be received.
 int getCompleteT3MessageTimeout()
          Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout()
 String getDefaultProtocol()
          The protocol to use for connections when none is specified.
 String getDefaultSecureProtocol()
          The protocol to use for secure connections when none is specified.
 int getDGCIdlePeriodsUntilTimeout()
          The number of idle periods allowed before object is collected.
 ExecuteQueueMBean[] getExecuteQueues()
          Returns the execute queues configured for this server.
 int getIdleConnectionTimeout()
          The maximum number of seconds that a connection is allowed to be idle before it is closed by the server.
 int getIdleIIOPConnectionTimeout()
          Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getIdleConnectionTimeout()
 int getIdlePeriodsUntilTimeout()
          The number of idle periods until peer is considered unreachable
 IIOPMBean getIIOP()
          Returns the kernel's IIOP configuration.
 String getIIOPTxMechanism()
          Deprecated. 8.1.0.0 use IIOPMBean.getTxMechanism()
 LogMBean getLog()
          Returns the Log settings for this Kernel.
 int getMaxCOMMessageSize()
          Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize()
 int getMaxHTTPMessageSize()
          Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize()
 int getMaxIIOPMessageSize()
          Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize()
 int getMaxMessageSize()
          The maximum number of bytes allowed in messages that are received over all supported protocols, unless overridden by a protocol-specific setting or a custom channel setting.
 int getMaxOpenSockCount()
          The maximum number of open sockets allowed in server at a given point of time.
 int getMaxT3MessageSize()
          Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize()
 int getMessagingBridgeThreadPoolSize()
          Deprecated. 9.0.0.0 replaced by a Work Manager named weblogic.jms.MessagingBridge
 String getMuxerClass()
          The muxer class name.
 int getPeriodLength()
          The time interval in milliseconds of the heartbeat period.
 int getSocketReaders()
          The number of socket reader threads
 SSLMBean getSSL()
          Returns the kernel's SSL configuration.
 String getStdoutFormat()
          Deprecated.  
 int getStdoutSeverityLevel()
          Deprecated. 9.0.0.0 Replaced by LogMBean.StdoutSeverity. For backward compatibility the changes to this attribute will be propagated to the LogMBean.
 int getStuckThreadMaxTime()
          Deprecated. 9.0.0.0 replaced by ServerFailureTriggerMBean.getMaxStuckThreadTime()
 int getStuckThreadTimerInterval()
          The number of seconds after which WebLogic Server periodically scans threads to see if they have been continually working for the configured maximum length of time.
 int getThreadPoolPercentSocketReaders()
          The percentage of execute threads from the default queue that can be used as socket readers.
 boolean getUse81StyleExecuteQueues()
          Backward compatibility mode to switch to 8.1 execute queues instead of WorkManagers.
 boolean isInstrumentStackTraceEnabled()
          Specifies whether the server returns stack traces for RMI calls that generate exceptions.
 boolean isLogRemoteExceptionsEnabled()
          Specifies whether the server message log includes exceptions that are raised in remote systems.
 boolean isNativeIOEnabled()
          Specifies whether native I/O is enabled for the server.
 boolean isOutboundEnabled()
          Specifies whether new server-to-server connections may consider the default server channel when initiating a connection.
 boolean isOutboundPrivateKeyEnabled()
          Specifies whether the SSL identity specified by SSLMBean#ServerPrivateKeyAlias for this server should be used for outbound SSL connections on the default server channel.
 boolean isReverseDNSAllowed()
          Specifies whether the kernel is allowed to perform reverse DNS lookups.
 boolean isSocketBufferSizeAsChunkSize()
          Specifies whether the server's buffer size for sending or receiving data through a raw socket should be set to 4KB.
 boolean isStdoutDebugEnabled()
          Deprecated. 9.0.0.0 replaced by LogMBean.StdoutSeverity For backward compatibility the changes to this attribute will be propagated to the LogMBean.
 boolean isStdoutEnabled()
          Deprecated. 9.0.0.0 replaced by LogMBean.StdoutSeverity, for backward compatibility the changes to this attribute will be propagated to the LogMBean.
 boolean isStdoutLogStack()
          Deprecated. 9.0.0.0
 ExecuteQueueMBean lookupExecuteQueue(String name)
           
 void setAdministrationProtocol(String protocol)
          Sets the protocol to be used for ADMIN connections when none is specified.
 void setCompleteCOMMessageTimeout(int seconds)
          Sets the value of the CompleteCOMMessageTimeout attribute.
 void setCompleteHTTPMessageTimeout(int seconds)
          Sets the value of the CompleteHTTPMessageTimeout attribute.
 void setCompleteIIOPMessageTimeout(int seconds)
          Sets the value of the CompleteIIOPMessageTimeout attribute.
 void setCompleteMessageTimeout(int seconds)
          Sets the value of the CompleteMessageTimeout attribute.
 void setCompleteT3MessageTimeout(int seconds)
          Sets the value of the CompleteT3MessageTimeout attribute.
 void setDefaultProtocol(String protocol)
          Sets the value of the DefaultProtocol attribute.
 void setDefaultSecureProtocol(String protocol)
          Sets the value of the DefaultSecureProtocol attribute.
 void setDGCIdlePeriodsUntilTimeout(int periods)
          Sets the value of the DGCIdlePeriodsUntilTimeout attribute.
 void setIdleConnectionTimeout(int seconds)
          Sets the value of the IdleConnectionTimeout attribute.
 void setIdleIIOPConnectionTimeout(int seconds)
          Sets the value of the IdleIIOPConnectionTimeout attribute.
 void setIdlePeriodsUntilTimeout(int idlePeriods)
          Sets the value of the IdlePeriodsUntilTimeout attribute.
 void setIIOPTxMechanism(String mech)
          Sets the iIOPTxMechanism attribute of the KernelMBean object
 void setInstrumentStackTraceEnabled(boolean enable)
          Sets the value of the InstrumentStackTraceEnabled attribute.
 void setLogRemoteExceptionsEnabled(boolean enable)
          Sets the value of the LogRemoteExceptionsEnabled attribute.
 void setMaxCOMMessageSize(int maxsize)
          Sets the value of the MaxCOMMessageSize attribute.
 void setMaxHTTPMessageSize(int maxsize)
          Sets the value of the MaxHTTPMessageSize attribute.
 void setMaxIIOPMessageSize(int maxsize)
          Deprecated.  
 void setMaxMessageSize(int maxsize)
          Sets the value of the MaxMessageSize attribute.
 void setMaxOpenSockCount(int sockCount)
          Sets the value of the MaxOpenSockCount attribute.
 void setMaxT3MessageSize(int maxsize)
          Sets the value of the MaxT3MessageSize attribute.
 void setMessagingBridgeThreadPoolSize(int size)
          Sets the value of the MessagingBridgeThreadPoolSize attribute.
 void setMuxerClass(String name)
          Sets the value of the MuxerClass attribute.
 void setNativeIOEnabled(boolean enable)
          Sets the value of the NativeIOEnabled attribute.
 void setOutboundEnabled(boolean enabled)
          Sets the value of the OutboundEnabled attribute.
 void setOutboundPrivateKeyEnabled(boolean enabled)
          Sets the value of the OutboundPrivateKeyEnabled attribute.
 void setPeriodLength(int periodLength)
          Sets the value of the PeriodLength attribute.
 void setReverseDNSAllowed(boolean flag)
          Sets the value of the ReverseDNSAllowed attribute.
 void setSocketBufferSizeAsChunkSize(boolean flag)
          Sets the value of the SocketBuffersSizeAsChunkSize attribute.
 void setSocketReaders(int numReaders)
          Sets the value of the SocketReaders attribute.
 void setStdoutDebugEnabled(boolean enable)
          Sets the value of the StdoutDebugEnabled attribute.
 void setStdoutEnabled(boolean enable)
          Deprecated.  
 void setStdoutFormat(String format)
          Deprecated.  
 void setStdoutLogStack(boolean stack)
          Deprecated. 9.0.0.0
 void setStdoutSeverityLevel(int severityLevel)
          Sets the value of the StdoutSeverityLevel attribute.
 void setStuckThreadMaxTime(int seconds)
          Deprecated. 9.0.0.0 replaced by ServerFailureTriggerMBean.setMaxStuckThreadTime()
 void setStuckThreadTimerInterval(int seconds)
          Sets the value of the StuckThreadTimerInterval attribute.
 void setThreadPoolPercentSocketReaders(int percent)
          Sets the value of the ThreadPoolPercentSocketReaders attribute.
 void setUse81StyleExecuteQueues(boolean enable)
          Backward compatibility mode to switch to 8.1 execute queues instead of WorkManagers.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener
 

Field Detail

STDOUT_NOID

public static final String STDOUT_NOID
Format of messages logged to the console in WLS 6. Does not include message id in output.

See Also:
Constant Field Values

STDOUT_STANDARD

public static final String STDOUT_STANDARD
Default format of messages logged to the console

See Also:
Constant Field Values
Method Detail

getAdministrationProtocol

public String getAdministrationProtocol()

Returns the protocol to be used for administrative connections when none is specified.

Returns:
The administrationProtocol value

getCompleteCOMMessageTimeout

public int getCompleteCOMMessageTimeout()
Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout()

The maximum number of seconds spent waiting for a complete COM message to be received. This setting does not apply to any network channels that you have configured for this server.

This timeout helps guard against a denial of service attack in which a caller indicates that they will be sending a message of a certain size which they never finish sending.

Returns:
The completeCOMMessageTimeout value
See Also:
NetworkAccessPointMBean.getCompleteMessageTimeout()

getCompleteHTTPMessageTimeout

public int getCompleteHTTPMessageTimeout()
Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout()

The maximum number of seconds spent waiting for a complete HTTP message to be received. If you configure network channels for this server, each channel can override this HTTP message timeout.

This timeout helps guard against a denial of service attack in which a caller indicates that it will be sending a message of a certain size which it never finishes sending.

A value of -1 indicates that this value should be obtained from network channels configured for this server.

Returns:
The completeHTTPMessageTimeout value
See Also:
NetworkAccessPointMBean.getCompleteMessageTimeout()

getCompleteIIOPMessageTimeout

public int getCompleteIIOPMessageTimeout()
Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout()

The maximum number of seconds spent waiting for a complete IIOP message to be received. This timeout helps guard against denial of service attacks in which a caller indicates that they will be sending a message of a certain size which they never finish sending.

Returns:
The completeIIOPMessageTimeout value

getCompleteMessageTimeout

public int getCompleteMessageTimeout()

The maximum number of seconds that this server waits for a complete message to be received. If you configure network channels for this server, each channel can override this message timeout.

This timeout helps guard against a denial of service attack in which a caller indicates that it will be sending a message of a certain size which it never finishes sending.

Returns:
The completeMessageTimeout value
See Also:
NetworkAccessPointMBean.getCompleteMessageTimeout()

getCompleteT3MessageTimeout

public int getCompleteT3MessageTimeout()
Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getCompleteMessageTimeout()

The maximum number of seconds spent waiting for a complete T3 message to be received. If you configure network channels for this server, each channel can override this T3 message timeout.

This timeout helps guard against a denial of service attack in which a caller indicates that it will be sending a message of a certain size which it never finishes sending.

Returns:
The completeT3MessageTimeout value
See Also:
NetworkAccessPointMBean.getCompleteMessageTimeout()

getDefaultProtocol

public String getDefaultProtocol()

The protocol to use for connections when none is specified.

Returns:
The defaultProtocol value

getDefaultSecureProtocol

public String getDefaultSecureProtocol()

The protocol to use for secure connections when none is specified.

Returns:
The defaultSecureProtocol value

getDGCIdlePeriodsUntilTimeout

public int getDGCIdlePeriodsUntilTimeout()

The number of idle periods allowed before object is collected.

Returns:
The dGCIdlePeriodsUntilTimeout value

getExecuteQueues

public ExecuteQueueMBean[] getExecuteQueues()

Returns the execute queues configured for this server.

Returns:
The executeQueues value

getIdleConnectionTimeout

public int getIdleConnectionTimeout()

The maximum number of seconds that a connection is allowed to be idle before it is closed by the server. The T3 and T3S protocols ignore this attribute. If you configure network channels for this server, each channel can override this idle connection message timeout.

This timeout helps guard against server deadlock through too many open connections.

Returns:
The idleConnectionTimeout value
See Also:
NetworkAccessPointMBean.getIdleConnectionTimeout()

getIdleIIOPConnectionTimeout

public int getIdleIIOPConnectionTimeout()
Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getIdleConnectionTimeout()

The maximum number of seconds an IIOP connection is allowed to be idle before it is closed by the server. This timeout helps guard against server deadlock through too many open connections.

Returns:
The idleIIOPConnectionTimeout value

getIdlePeriodsUntilTimeout

public int getIdlePeriodsUntilTimeout()

The number of idle periods until peer is considered unreachable

Returns:
The idlePeriodsUntilTimeout value

getIIOP

public IIOPMBean getIIOP()

Returns the kernel's IIOP configuration. An IIOP MBean is always linked to a particular Kernel and cannot be changed. Individual attributes on the IIOP MBean may be changed, as documented, but the MBean itself may not.

Returns:
The iIOP value

getIIOPTxMechanism

public String getIIOPTxMechanism()
Deprecated. 8.1.0.0 use IIOPMBean.getTxMechanism()

Configures IIOP propagate transactions using either WebLogic-specific JTA or the OMG-specified OTS.

It is not possible to use both because it affects the way transactions are negotiated.

Returns:
The iIOPTxMechanism value

getLog

public LogMBean getLog()

Returns the Log settings for this Kernel. An Log MBean is always linked to a particular Kernel and cannot be changed. Individual attributes on the Log MBean may be changed, as documented, but the MBean itself may not.

Returns:
The log value

getMaxCOMMessageSize

public int getMaxCOMMessageSize()
Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize()

The maximum number of bytes allowed in messages that are received over the COM protocol. If you configure custom network channels for this server, each channel can override this maximum message size.

This maximum message size helps guard against a denial of service attack in which a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.

A value of -1 causes the COM protocol to use the maximums that are specified elsewhere along the order of precedence.

Returns:
The maxCOMMessageSize value
See Also:
getMaxMessageSize(), NetworkAccessPointMBean.getMaxMessageSize()

getMaxHTTPMessageSize

public int getMaxHTTPMessageSize()
Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize()

The maximum number of bytes allowed in messages that are received over the HTTP protocol. If you configure custom network channels for this server, each channel can override this maximum message size.

This maximum message size helps guard against a denial of service attack in which a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.

A value of -1 causes the HTTP protocol to use the maximums that are specified elsewhere along the order of precedence.

Returns:
The maxHTTPMessageSize value
See Also:
getMaxMessageSize(), NetworkAccessPointMBean.getMaxMessageSize()

getMaxIIOPMessageSize

public int getMaxIIOPMessageSize()
Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize()

The maximum number of bytes allowed in messages that are received over the IIOP protocol. If you configure custom network channels for this server, each channel can override this maximum message size.

This maximum message size helps guard against a denial of service attack in which a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.

A value of -1 causes the IIOP protocol to use the maximums that are specified elsewhere along the order of precedence.

Returns:
The maxIIOPMessageSize value
See Also:
getMaxMessageSize(), NetworkAccessPointMBean.getMaxMessageSize()

getMaxMessageSize

public int getMaxMessageSize()

The maximum number of bytes allowed in messages that are received over all supported protocols, unless overridden by a protocol-specific setting or a custom channel setting.

The order of precedence for setting message size maximums is as follows:

  1. A channel-wide maximum in a custom network channel.

  2. A protocol-specific setting in the default network channel.
    See

    • MaxCOMMessageSize
    • MaxHTTPMessageSize
    • MaxIIOPessageSize
    • MaxT3MessageSize

  3. The message maximum in this attribute.

This maximum message size helps guard against a denial of service attack in which a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.

Returns:
The maxMessageSize value
See Also:
NetworkAccessPointMBean

getMaxOpenSockCount

public int getMaxOpenSockCount()

The maximum number of open sockets allowed in server at a given point of time.

When the maximum threshold is reached, the server stops accepting new requests until the number of sockets drops below the threshold.

A value less than 0 indicates an unlimited size.

Returns:
The maxOpenSockCount value

getMaxT3MessageSize

public int getMaxT3MessageSize()
Deprecated. 8.1.0.0 use NetworkAccessPointMBean.getMaxMessageSize()

The maximum number of bytes allowed in messages that are received over the T3 protocol. If you configure custom network channels for this server, each channel can override this maximum message size.

This maximum message size helps guard against a denial of service attack in which a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.

A value of -1 causes the T3 protocol to use the maximums that are specified elsewhere along the order of precedence.

Returns:
The maxT3MessageSize value
See Also:
getMaxMessageSize(), NetworkAccessPointMBean.getMaxMessageSize()

getMessagingBridgeThreadPoolSize

public int getMessagingBridgeThreadPoolSize()
Deprecated. 9.0.0.0 replaced by a Work Manager named weblogic.jms.MessagingBridge

Returns the size of the messaging bridge execute thread pool.

Returns:
The messagingBridgeThreadPoolSize value

getMuxerClass

public String getMuxerClass()

The muxer class name.

Returns:
The muxerClass value

getPeriodLength

public int getPeriodLength()

The time interval in milliseconds of the heartbeat period. A value of 0 indicates that heartbeats are turned off.

Returns:
The periodLength value

getSocketReaders

public int getSocketReaders()

The number of socket reader threads

Returns:
The number of socket reader threads

getSSL

public SSLMBean getSSL()

Returns the kernel's SSL configuration. An SSL MBean is always linked to a particular Kernel and cannot be changed. Individual attributes on the SSL MBean may be changed, as documented, but the MBean itself may not.

Returns:
The sSL value

getStdoutFormat

public String getStdoutFormat()
Deprecated.  

The output format to use when logging to the console.

Returns:
The stdoutFormat value

getStdoutSeverityLevel

public int getStdoutSeverityLevel()
Deprecated. 9.0.0.0 Replaced by LogMBean.StdoutSeverity. For backward compatibility the changes to this attribute will be propagated to the LogMBean.

The minimum severity of a message that the server sends to standard out. (Requires you to enable sending messages to standard out.)

Returns:
The stdoutSeverityLevel value
See Also:
isStdoutEnabled(), Severities

getStuckThreadMaxTime

public int getStuckThreadMaxTime()
Deprecated. 9.0.0.0 replaced by ServerFailureTriggerMBean.getMaxStuckThreadTime()

The number of seconds that a thread must be continually working before this server considers the thread stuck.

For example, if you set this to 600 seconds, WebLogic Server considers a thread to be "stuck" after 600 seconds of continuous use.

In Web Logic Server 9.x and later, it is recommended that you use the ServerFailureTriggerMBean in the OverloadProtectionMBean. The ServerFailureTriggerMBean transitions the server to a FAILED state after the specified number of stuck threads are detected. The OverloadProtectionMBean has options to suspend or shutdown a failed server.

Returns:
The stuckThreadMaxTime value

getStuckThreadTimerInterval

public int getStuckThreadTimerInterval()

The number of seconds after which WebLogic Server periodically scans threads to see if they have been continually working for the configured maximum length of time.

Returns:
The stuckThreadTimerInterval value
See Also:
getStuckThreadMaxTime()

getThreadPoolPercentSocketReaders

public int getThreadPoolPercentSocketReaders()

The percentage of execute threads from the default queue that can be used as socket readers.

Returns:
The threadPoolPercentSocketReaders value

getUse81StyleExecuteQueues

public boolean getUse81StyleExecuteQueues()

Backward compatibility mode to switch to 8.1 execute queues instead of WorkManagers. Each of the WorkManagers is converted to an individual execute queue. Setting this attribute requires a server restart.

See Also:
getUse81StyleExecuteQueues()

isInstrumentStackTraceEnabled

public boolean isInstrumentStackTraceEnabled()

Specifies whether the server returns stack traces for RMI calls that generate exceptions.

With RMI stack tracking enabled, if a client issues an RMI call to a server subsystem or to a module running within the server, and if the subsystem or module generates an exception that includes a stack trace, the server will return the exception as well as the stack trace. With it disabled, the server will return the exception without the stack trace details.

Returns:
The instrumentStackTraceEnabled value

isLogRemoteExceptionsEnabled

public boolean isLogRemoteExceptionsEnabled()

Specifies whether the server message log includes exceptions that are raised in remote systems.

Returns:
The logRemoteExceptionsEnabled value

isNativeIOEnabled

public boolean isNativeIOEnabled()

Specifies whether native I/O is enabled for the server.

Returns:
The nativeIOEnabled value
See Also:
getSocketReaderTimeoutMaxMillis()

isOutboundEnabled

public boolean isOutboundEnabled()

Specifies whether new server-to-server connections may consider the default server channel when initiating a connection. This is only relevant if the connection needs to be bound to the default listen address. This will only work for binary protocols that support both outbound and inbound traffic.

When this feature is not enabled, connections are initiated using a local address selected by the underlying hardware. For the default channel this is usually what is wanted for IP-routing to be effective. Note that since the default is false, other outbound channels will be considered in preference to the default channel.

Default administration channels, created when the domain-wide administration port is turned on, are always considered and bound when initiating an administrative connection. To allow IP-routing for administration traffic create custom admin with isOutboundEnabled set to false instead of enabling the domain-wide ADMIN port.

Returns:
The outboundEnabled value
See Also:
NetworkAccessPointMBean.isOutboundEnabled()

isOutboundPrivateKeyEnabled

public boolean isOutboundPrivateKeyEnabled()

Specifies whether the SSL identity specified by SSLMBean#ServerPrivateKeyAlias for this server should be used for outbound SSL connections on the default server channel. In normal circumstances the outbound identity is determined by the caller's environment.

Returns:
The OutboundPrivateKeyEnabled value
See Also:
isOutboundEnabled()

isReverseDNSAllowed

public boolean isReverseDNSAllowed()

Specifies whether the kernel is allowed to perform reverse DNS lookups.

Returns:
The reverseDNSAllowed value

isSocketBufferSizeAsChunkSize

public boolean isSocketBufferSizeAsChunkSize()

Specifies whether the server's buffer size for sending or receiving data through a raw socket should be set to 4KB.

Otherwise, the server does not impose a limit to the buffer size and defers to the operating system. This option is useful only on some operating systems for improving performance. It should be disabled in most environments.

Returns:
The SocketBufferSizeAsChunkSize value

isStdoutDebugEnabled

public boolean isStdoutDebugEnabled()
Deprecated. 9.0.0.0 replaced by LogMBean.StdoutSeverity For backward compatibility the changes to this attribute will be propagated to the LogMBean.

Specifies whether the server sends messages of the DEBUG severity to standard out in addition to the log file. (Requires you to enable sending messages to standard out.)

Returns:
The stdoutDebugEnabled value

isStdoutEnabled

public boolean isStdoutEnabled()
Deprecated. 9.0.0.0 replaced by LogMBean.StdoutSeverity, for backward compatibility the changes to this attribute will be propagated to the LogMBean.

Specifies whether the server sends messages to standard out in addition to the log file.

Other settings configure the minimum severity of a message that the server sends to standard out.

Returns:
The stdoutEnabled value
See Also:
isStdoutDebugEnabled(), getStdoutSeverityLevel()

isStdoutLogStack

public boolean isStdoutLogStack()
Deprecated. 9.0.0.0

Specifies whether to dump stack traces to the console when included in logged message.

Returns:
The stdoutLogStack value

lookupExecuteQueue

public ExecuteQueueMBean lookupExecuteQueue(String name)
Parameters:
name -
Returns:
ExecuteQueue object

setAdministrationProtocol

public void setAdministrationProtocol(String protocol)
                               throws InvalidAttributeValueException,
                                      weblogic.management.DistributedManagementException

Sets the protocol to be used for ADMIN connections when none is specified.

Parameters:
protocol - The new administrationProtocol value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException

setCompleteCOMMessageTimeout

public void setCompleteCOMMessageTimeout(int seconds)
                                  throws InvalidAttributeValueException,
                                         weblogic.management.DistributedManagementException

Sets the value of the CompleteCOMMessageTimeout attribute.

Parameters:
seconds - The new completeCOMMessageTimeout value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
getCompleteCOMMessageTimeout()

setCompleteHTTPMessageTimeout

public void setCompleteHTTPMessageTimeout(int seconds)
                                   throws InvalidAttributeValueException,
                                          weblogic.management.DistributedManagementException

Sets the value of the CompleteHTTPMessageTimeout attribute.

Parameters:
seconds - The new completeHTTPMessageTimeout value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
getCompleteHTTPMessageTimeout()

setCompleteIIOPMessageTimeout

public void setCompleteIIOPMessageTimeout(int seconds)
                                   throws InvalidAttributeValueException,
                                          weblogic.management.DistributedManagementException

Sets the value of the CompleteIIOPMessageTimeout attribute.

Parameters:
seconds - The new completeIIOPMessageTimeout value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
getCompleteIIOPMessageTimeout()

setCompleteMessageTimeout

public void setCompleteMessageTimeout(int seconds)
                               throws InvalidAttributeValueException,
                                      weblogic.management.DistributedManagementException

Sets the value of the CompleteMessageTimeout attribute.

Parameters:
seconds - The new completeMessageTimeout value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
getCompleteMessageTimeout()

setCompleteT3MessageTimeout

public void setCompleteT3MessageTimeout(int seconds)
                                 throws InvalidAttributeValueException,
                                        weblogic.management.DistributedManagementException

Sets the value of the CompleteT3MessageTimeout attribute.

Parameters:
seconds - The new completeT3MessageTimeout value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
getCompleteT3MessageTimeout()

setDefaultProtocol

public void setDefaultProtocol(String protocol)
                        throws InvalidAttributeValueException,
                               weblogic.management.DistributedManagementException

Sets the value of the DefaultProtocol attribute.

Parameters:
protocol - The new defaultProtocol value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
IllegalArgumentException - if the protocol is not supported by this kernel.
See Also:
getDefaultProtocol()

setDefaultSecureProtocol

public void setDefaultSecureProtocol(String protocol)
                              throws InvalidAttributeValueException,
                                     weblogic.management.DistributedManagementException

Sets the value of the DefaultSecureProtocol attribute.

Parameters:
protocol - The new defaultSecureProtocol value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
IllegalArgumentException - if the protocol is not supported by this kernel.
See Also:
getDefaultSecureProtocol()

setDGCIdlePeriodsUntilTimeout

public void setDGCIdlePeriodsUntilTimeout(int periods)
                                   throws ConfigurationException

Sets the value of the DGCIdlePeriodsUntilTimeout attribute.

Parameters:
periods - The new dGCIdlePeriodsUntilTimeout value
Throws:
ConfigurationException
See Also:
getDGCIdlePeriodsUntilTimeout()

setIdleConnectionTimeout

public void setIdleConnectionTimeout(int seconds)
                              throws InvalidAttributeValueException,
                                     weblogic.management.DistributedManagementException

Sets the value of the IdleConnectionTimeout attribute.

Parameters:
seconds - The new idleConnectionTimeout value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException

setIdleIIOPConnectionTimeout

public void setIdleIIOPConnectionTimeout(int seconds)
                                  throws InvalidAttributeValueException,
                                         weblogic.management.DistributedManagementException

Sets the value of the IdleIIOPConnectionTimeout attribute.

Parameters:
seconds - The new idleIIOPConnectionTimeout value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
getIdleIIOPConnectionTimeout()

setIdlePeriodsUntilTimeout

public void setIdlePeriodsUntilTimeout(int idlePeriods)
                                throws InvalidAttributeValueException

Sets the value of the IdlePeriodsUntilTimeout attribute.

Parameters:
idlePeriods - The new idlePeriodsUntilTimeout value
Throws:
InvalidAttributeValueException
IllegalArgumentException - if the argument is null or represents a negative int.
See Also:
getIdlePeriodsUntilTimeout()

setIIOPTxMechanism

public void setIIOPTxMechanism(String mech)
                        throws InvalidAttributeValueException,
                               weblogic.management.DistributedManagementException

Sets the iIOPTxMechanism attribute of the KernelMBean object

Parameters:
mech - The new iIOPTxMechanism value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException

setInstrumentStackTraceEnabled

public void setInstrumentStackTraceEnabled(boolean enable)
                                    throws weblogic.management.DistributedManagementException

Sets the value of the InstrumentStackTraceEnabled attribute.

Parameters:
enable - The new instrumentStackTraceEnabled value
Throws:
weblogic.management.DistributedManagementException
See Also:
isInstrumentStackTraceEnabled()

setLogRemoteExceptionsEnabled

public void setLogRemoteExceptionsEnabled(boolean enable)
                                   throws weblogic.management.DistributedManagementException

Sets the value of the LogRemoteExceptionsEnabled attribute.

Parameters:
enable - The new logRemoteExceptionsEnabled value
Throws:
weblogic.management.DistributedManagementException
See Also:
isLogRemoteExceptionsEnabled()

setMaxCOMMessageSize

public void setMaxCOMMessageSize(int maxsize)
                          throws InvalidAttributeValueException,
                                 weblogic.management.DistributedManagementException

Sets the value of the MaxCOMMessageSize attribute.

Parameters:
maxsize - The new maxCOMMessageSize value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
getMaxCOMMessageSize()

setMaxHTTPMessageSize

public void setMaxHTTPMessageSize(int maxsize)
                           throws InvalidAttributeValueException,
                                  weblogic.management.DistributedManagementException

Sets the value of the MaxHTTPMessageSize attribute.

Parameters:
maxsize - The new maxHTTPMessageSize value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
getMaxHTTPMessageSize()

setMaxIIOPMessageSize

public void setMaxIIOPMessageSize(int maxsize)
                           throws InvalidAttributeValueException,
                                  weblogic.management.DistributedManagementException
Deprecated.  

Sets the value of the MaxIIOPMessageSize attribute.

Parameters:
maxsize - The new maxIIOPMessageSize value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
getMaxIIOPMessageSize()

setMaxMessageSize

public void setMaxMessageSize(int maxsize)
                       throws InvalidAttributeValueException,
                              weblogic.management.DistributedManagementException

Sets the value of the MaxMessageSize attribute.

Parameters:
maxsize - The new maxMessageSize value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
getMaxMessageSize()

setMaxOpenSockCount

public void setMaxOpenSockCount(int sockCount)

Sets the value of the MaxOpenSockCount attribute.

Parameters:
sockCount - The new maxOpenSockCount value
See Also:
#tgetMaxOpenSockCount

setMaxT3MessageSize

public void setMaxT3MessageSize(int maxsize)
                         throws InvalidAttributeValueException,
                                weblogic.management.DistributedManagementException

Sets the value of the MaxT3MessageSize attribute.

Parameters:
maxsize - The new maxT3MessageSize value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
#tgetMaxT3MessageSize

setMessagingBridgeThreadPoolSize

public void setMessagingBridgeThreadPoolSize(int size)
                                      throws InvalidAttributeValueException,
                                             weblogic.management.DistributedManagementException

Sets the value of the MessagingBridgeThreadPoolSize attribute.

Parameters:
size - The new messagingBridgeThreadPoolSize value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
IllegalArgumentException - if the argument is null or represents a negative int.
See Also:
getMessagingBridgeThreadPoolSize()

setMuxerClass

public void setMuxerClass(String name)

Sets the value of the MuxerClass attribute.

Parameters:
name - The new muxerClass value
See Also:
getMuxerClass()

setNativeIOEnabled

public void setNativeIOEnabled(boolean enable)

Sets the value of the NativeIOEnabled attribute.

Parameters:
enable - The new nativeIOEnabled value
See Also:
isNativeIOEnabled()

setOutboundEnabled

public void setOutboundEnabled(boolean enabled)
                        throws InvalidAttributeValueException

Sets the value of the OutboundEnabled attribute.

Parameters:
enabled - The new outboundEnabled value
Throws:
InvalidAttributeValueException
See Also:
isOutboundEnabled()

setOutboundPrivateKeyEnabled

public void setOutboundPrivateKeyEnabled(boolean enabled)
                                  throws InvalidAttributeValueException

Sets the value of the OutboundPrivateKeyEnabled attribute.

Parameters:
enabled - The new outboundEnabled value
Throws:
InvalidAttributeValueException
See Also:
isOutboundPrivateKeyEnabled()

setPeriodLength

public void setPeriodLength(int periodLength)
                     throws InvalidAttributeValueException

Sets the value of the PeriodLength attribute.

Parameters:
periodLength - The new periodLength value
Throws:
InvalidAttributeValueException
IllegalArgumentException - if the argument is null or represents a negative int.
See Also:
getPeriodLength()

setReverseDNSAllowed

public void setReverseDNSAllowed(boolean flag)
                          throws weblogic.management.DistributedManagementException

Sets the value of the ReverseDNSAllowed attribute.

Parameters:
flag - The new reverseDNSAllowed value
Throws:
weblogic.management.DistributedManagementException
See Also:
isReverseDNSAllowed()

setSocketBufferSizeAsChunkSize

public void setSocketBufferSizeAsChunkSize(boolean flag)
                                    throws weblogic.management.DistributedManagementException

Sets the value of the SocketBuffersSizeAsChunkSize attribute.

Parameters:
flag - The new SocketBufferSizeToChunkSize value
Throws:
weblogic.management.DistributedManagementException
See Also:
isSocketBufferSizeAsChunkSize()

setSocketReaders

public void setSocketReaders(int numReaders)

Sets the value of the SocketReaders attribute.

Parameters:
numReaders - The number of socket reader threads
See Also:
getSocketReaders()

setStdoutDebugEnabled

public void setStdoutDebugEnabled(boolean enable)
                           throws weblogic.management.DistributedManagementException

Sets the value of the StdoutDebugEnabled attribute.

Parameters:
enable - The new stdoutDebugEnabled value
Throws:
weblogic.management.DistributedManagementException
See Also:
isStdoutDebugEnabled()

setStdoutEnabled

public void setStdoutEnabled(boolean enable)
                      throws weblogic.management.DistributedManagementException
Deprecated.  

Sets the value of the StdoutEnabled attribute.

Parameters:
enable - The new stdoutEnabled value
Throws:
weblogic.management.DistributedManagementException
See Also:
isStdoutEnabled()

setStdoutFormat

public void setStdoutFormat(String format)
Deprecated.  

Sets the value of the StdoutFormat attribute.

Parameters:
format - The new stdoutFormat value
See Also:
getStdoutFormat()

setStdoutLogStack

public void setStdoutLogStack(boolean stack)
Deprecated. 9.0.0.0

Sets the value of the StdoutLogStack attribute.

Parameters:
stack - The new stdoutLogStack value
See Also:
isStdoutLogStack()

setStdoutSeverityLevel

public void setStdoutSeverityLevel(int severityLevel)
                            throws InvalidAttributeValueException,
                                   weblogic.management.DistributedManagementException

Sets the value of the StdoutSeverityLevel attribute.

Parameters:
severityLevel - The new stdoutSeverityLevel value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
See Also:
getStdoutSeverityLevel()

setStuckThreadMaxTime

public void setStuckThreadMaxTime(int seconds)
                           throws InvalidAttributeValueException
Deprecated. 9.0.0.0 replaced by ServerFailureTriggerMBean.setMaxStuckThreadTime()

Sets the value of the StuckThreadMaxTime attribute.

From WLS 9.0, it is recommended to used the ServerFailureTriggerMBean present in OverloadProtectionMBean. Setting the ServerFailureTriggerMBean transitions the server into FAILED state after the configured number of stuck threads are detected. OverloadProtectionMBean has options to suspend, shutdown a failed server.

Parameters:
seconds - The new stuckThreadMaxTime value
Throws:
InvalidAttributeValueException
See Also:
getStuckThreadMaxTime()

setStuckThreadTimerInterval

public void setStuckThreadTimerInterval(int seconds)
                                 throws InvalidAttributeValueException

Sets the value of the StuckThreadTimerInterval attribute.

Parameters:
seconds - The new stuckThreadTimerInterval value
Throws:
InvalidAttributeValueException
See Also:
getStuckThreadTimerInterval()

setThreadPoolPercentSocketReaders

public void setThreadPoolPercentSocketReaders(int percent)
                                       throws InvalidAttributeValueException,
                                              weblogic.management.DistributedManagementException

Sets the value of the ThreadPoolPercentSocketReaders attribute.

Parameters:
percent - The new threadPoolPercentSocketReaders value
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
IllegalArgumentException - if the argument is null or represents a negative int.
See Also:
getThreadPoolPercentSocketReaders()

setUse81StyleExecuteQueues

public void setUse81StyleExecuteQueues(boolean enable)

Backward compatibility mode to switch to 8.1 execute queues instead of WorkManagers. Each of the WorkManagers is converted to an individual execute queue. Setting this attribute requires a server restart.


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs92
Copyright 2006 BEA Systems Inc.