BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface ServerMBean


public interface ServerMBean
extends KernelMBean, TargetMBean

This class represents a WebLogic Server. A WebLogic Server is a Java process that is a container for J2EE applications.

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.

Field Summary
static java.lang.String DEFAULT_JDBC_FILE_NAME
           
static java.lang.String EXTERNAL_STAGE
          This staging mode indicates that applications deployed to this server will not be staged as part of the deployment, but will be activated from the staging directory.
static java.lang.String LOGTYPE_WL_STDERR
           
static java.lang.String LOGTYPE_WL_STDOUT
           
static java.lang.String NO_STAGE
          This staging mode indicates that applications deployed to this server will not be staged as part of the deployment, and will be activated from the location specified by the application's Path attribute.
static java.lang.String STAGE
          This staging mode indicates that applications deployed to this server will be staged as part of the deployment.
static java.lang.String STAGING_NAME
          the default staging directory name, relative to the server directory.
static java.lang.String SYNCWRITE_CACHEFLUSH
           
static java.lang.String SYNCWRITE_DIRECTWRITE
           
static java.lang.String UPLOAD_DIR_NAME
           
 
Fields inherited from class weblogic.management.configuration.KernelMBean
STDOUT_NOID, STDOUT_STANDARD
 
Fields inherited from class weblogic.management.configuration.TargetMBean
CACHING_STUB_SVUID
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 boolean addNetworkAccessPoint(NetworkAccessPointMBean networkAccessPoint)
           
 int getAcceptBacklog()
          Allowed backlog of new TCP connection requests for both the plaintext and SSL port.
 int getAdministrationPort()
          The secure administration port for the server.
 boolean getAutoKillIfFailed()
          Enables/Disables automatic kill of a Failed server by the Node Manager.
 boolean getAutoRestart()
          Enables/Disables automatic restart of a crashed server by the Node Manager.
 ClusterMBean getCluster()
          The cluster to which this server belongs.
 ClusterRuntimeMBean getClusterRuntime()
          Returns an mbean containing runtime information about the cluster which was started from this configuration mbean.
 int getClusterWeight()
          Defines a value used specify the proportion of the load the server will bear relative to other servers in a cluster.
 COMMBean getCOM()
          Returns the server's COM configuration.
 java.lang.String getCustomIdentityKeyStoreFileName()
          Gets the customIdentityKeyStoreFileName attribute of the ServerMBean object
 java.lang.String getCustomIdentityKeyStorePassPhrase()
          The custom identity keystore's passphrase.
 byte[] getCustomIdentityKeyStorePassPhraseEncrypted()
          The encrypted custom identity keystore's passphrase.
 java.lang.String getCustomIdentityKeyStoreType()
          Gets the customIdentityKeyStoreType attribute of the ServerMBean object
 java.lang.String getCustomTrustKeyStoreFileName()
          Gets the customTrustKeyStoreFileName attribute of the ServerMBean object
 java.lang.String getCustomTrustKeyStorePassPhrase()
          The custom trust keystore's passphrase.
 byte[] getCustomTrustKeyStorePassPhraseEncrypted()
          The custom trust keystore's encrypted passphrase.
 java.lang.String getCustomTrustKeyStoreType()
          Gets the customTrustKeyStoreType attribute of the ServerMBean object
 java.lang.String getDefaultIIOPPassword()
          The password for the default IIOP user.
 byte[] getDefaultIIOPPasswordEncrypted()
          The encrypted password for the default IIOP user.
 java.lang.String getDefaultIIOPUser()
          The default IIOP user.
 java.lang.String getDefaultTGIOPPassword()
          The password for the default TGIOP user.
 byte[] getDefaultTGIOPPasswordEncrypted()
          The encrypted password for the default TGIOP user.
 java.lang.String getDefaultTGIOPUser()
          The default TGIOP user.
 DomainLogFilterMBean getDomainLogFilter()
          Determines which messages this server sends to the domain log.
 boolean getExpectedToRun()
          If this server expected to run if the domain is started.
 java.lang.String getExternalDNSName()
          The external DNS name for the current server, which will be sent with http session cookies and also with the dynamic server lists to http proxies.
 java.lang.String getExtraEjbcOptions()
          Returns the extra options passed to ejbc during dynamic ejb compilation.
 java.lang.String getExtraRmicOptions()
          Returns the extra options passed to rmic during server-side generation.
 int getGracefulShutdownTimeout()
          Gets the gracefulShutdownTimeout attribute of the ServerMBean object
 int getHealthCheckIntervalSeconds()
          Periodicity (in seconds) of the server's health checks.
 int getHealthCheckTimeoutSeconds()
          Time (in seconds) the Node Manager should wait before timing out its health query to the server.
 boolean getHostsMigratableServices()
          Gets the hostsMigratableServices attribute of the ServerMBean object
 java.lang.String getInterfaceAddress()
          Defines the interface address used to specify the NIC that handles cluster multicast traffic.
 java.lang.String getJavaCompiler()
          The Java Compiler for all applications that need to compile Java code.
 java.lang.String getJavaCompilerPostClassPath()
          Returns the options to append to the Java compiler classpath for when we need to compile Java code.
 java.lang.String getJavaCompilerPreClassPath()
          Returns the options to prepend to the Java compiler classpath for when we need to compile Java code.
 java.lang.String getJavaStandardTrustKeyStorePassPhrase()
          The JRE's standard trust keystore's passphrase.
 byte[] getJavaStandardTrustKeyStorePassPhraseEncrypted()
          The JRE's standard trust keystore's encrypted passphrase.
 java.lang.String getJDBCLogFileName()
          The name of the JDBC log file.
 java.lang.String[] getJNDITransportableObjectFactoryList()
          List of factories that create transportable objects.
 java.lang.String getKeyStores()
          Gets the keyStores attribute of the ServerMBean object
 java.lang.String getListenAddress()
          The IP address or DNS name this server uses to listen for incoming connections.
 int getListenDelaySecs()
          Deprecated.  
 int getListenPort()
          The plain-text (non-SSL) listen port for this server.
 int getListenThreadStartDelaySecs()
          Gets the listenThreadStartDelaySecs attribute of the ServerMBean object
 int getLoginTimeout()
          Not used, use getLoginTimeoutMillis instead.
 int getLoginTimeoutMillis()
          The login timeout for the server's plain-text (non-SSL) port, in milliseconds.
 int getLowMemoryGCThreshold()
          The threshold level (a percentage value) at which we the server logs a low memory warning once the granularity reporting level has been met.
 int getLowMemoryGranularityLevel()
          Returns the granularity level used in reporting LowMemory information.
 int getLowMemorySampleSize()
          Returns the total sample size used for LowMemoryTimeInterval.
 int getLowMemoryTimeInterval()
          Returns the time interval.
 MachineMBean getMachine()
          The machine on which this server is meant to run.
 java.lang.String getName()
          The name of the Server.
 NetworkAccessPointMBean[] getNetworkAccessPoints()
          Network access points, or "NAPs", define additional ports and addresses that this server listens on.
 java.lang.String getPreferredSecondaryGroup()
          Defines secondary clustered instances considered for hosting replicas of the primary HTTP session states created on the server.
 WSReliableDeliveryPolicyMBean getReliableDeliveryPolicy()
          Gets the reliableDeliveryPolicy attribute of the ServerMBean object
 java.lang.String getReplicationGroup()
          Defines preferred clustered instances considered for hosting replicas of the primary HTTP session states created on the server.
 int getRestartDelaySeconds()
          Time (in seconds) the Node Manager should wait before restarting the server.
 int getRestartIntervalSeconds()
          Interval (in seconds) during which a server can be restarted RestartMax times.
 int getRestartMax()
          Number of times a server can be restarted within an interval of RestartIntervalSeconds seconds.
 int getServerLifeCycleTimeoutVal()
          Gets the serverLifeCycleTimeoutVal attribute of the ServerMBean object
 ServerStartMBean getServerStart()
          Returns the ServerStartMBean that can be used to start up this server remotely.
 java.lang.String getServerVersion()
          Returns the release identifier for the server.
 java.lang.String getStagingDirectoryName()
          Identifies the directory path on the managed server where all staged (prepared) applications are placed.
 java.lang.String getStagingMode()
          During application preparation, the application's files are copied from the source on the admin server to the managed server's staging area.
 java.lang.String getStartupMode()
          Gets the startupMode attribute of the ServerMBean object
 java.lang.String getTransactionLogFilePrefix()
          The path prefix for the server's JTA transaction log files.
 java.lang.String getTransactionLogFileWritePolicy()
          The policy used for writing log records to disk.
 int getTunnelingClientPingSecs()
          Interval (in seconds) at which to ping a tunneled client to see if it is still alive.
 int getTunnelingClientTimeoutSecs()
          Duration (in seconds) after which a missing tunneled client is considered dead.
 java.lang.String getUploadDirectoryName()
          Identifies the directory path on the AdminServer where all uploaded applications are placed.
 java.lang.String getVerboseEJBDeploymentEnabled()
          Whether or not verbose deployment of EJB's is enabled.
 WebServerMBean getWebServer()
          Return the web server for this server.
 XMLEntityCacheMBean getXMLEntityCache()
          The XML Entity Cache for the server
 XMLRegistryMBean getXMLRegistry()
          The XML Registry for the server.
 boolean isClasspathServletDisabled()
          Gets the classpathServletDisabled attribute of the ServerMBean object
 boolean isClientCertProxyEnabled()
          Gets the clientCertProxyEnabled attribute of the ServerMBean object
 boolean isCOMEnabled()
          Whether or not COM support is enabled on the plaintext port.
 boolean isDefaultInternalServletsDisabled()
          Gets the defaultInternalServletsDisabled attribute of the ServerMBean object
 boolean isEnabledForDomainLog()
          Determines whether this server sends messages to the domain log (in addition to keeping its own log).
 boolean isHttpdEnabled()
          Whether or not HTTP support is enabled on the plaintext or SSL port.
 boolean isHttpTraceSupportEnabled()
           
 boolean isIgnoreSessionsDuringShutdown()
          Indicates whether a graceful shutdown operation drops all HTTP sessions immediately.
 boolean isIIOPEnabled()
          Whether or not IIOP support is enabled for both the SSL and non-SSL ports.
 boolean isIORServletEnabled()
          Whether or not the GetIORServlet needs to be initialized.
 boolean isJDBCLoggingEnabled()
          Determines whether this server maintains a JDBC log file.
 boolean isJMSDefaultConnectionFactoriesEnabled()
          Enables JMS default connection factories.
 boolean isListenPortEnabled()
          Get if the plain-text (non-SSL) port is enabled for the server.
 boolean isManagedServerIndependenceEnabled()
          Indicates whether Managed Server Independence is enabled for this server.
 boolean isMessageIdPrefixEnabled()
          Indicates whether message ids in logged messages will include a prefix.
 boolean isMSIFileReplicationEnabled()
          Indicates whether the replication of configuration files is enabled for a Managed Server.
 boolean isTGIOPEnabled()
          Whether or not TGIOP support is enabled.
 boolean isTunnelingEnabled()
          Enables tunneling for the T3, T3S, HTTP, HTTPS, IIOP, and IIOPS protocols.
 boolean isWeblogicPluginEnabled()
          Gets the weblogicPluginEnabled attribute of the ServerMBean object
 boolean removeNetworkAccessPoint(NetworkAccessPointMBean networkAccessPoint)
           
 void setAcceptBacklog(int count)
          Sets the acceptBacklog attribute of the ServerMBean object
 void setAdministrationPort(int port)
          Sets the administrationPort attribute of the ServerMBean object
 void setAdministrationPortEnabled(boolean value)
          Sets the administrationPortEnabled attribute of the ServerMBean object
 void setAutoKillIfFailed(boolean enable)
          Sets the autoKillIfFailed attribute of the ServerMBean object
 void setAutoMigrationEnabled(boolean enable)
          Sets the autoMigrationEnabled attribute of the ServerMBean object
 void setAutoRestart(boolean enable)
          Sets the autoRestart attribute of the ServerMBean object
 void setClasspathServletDisabled(boolean enabled)
          The ClasspathServlet will serve any class file in the classpath and is registered by default in every webapp (including management).
 void setClientCertProxyEnabled(boolean ccp)
          A value of true causes proxy-server plugins to pass identity certifications from clients to all web applications that are deployed on this server instance.
 void setCluster(ClusterMBean cluster)
          Sets the cluster attribute of the ServerMBean object
 void setClusterWeight(int weight)
          Sets the clusterWeight attribute of the ServerMBean object
 void setCOMEnabled(boolean enable)
          Sets the cOMEnabled attribute of the ServerMBean object
 void setConsoleInputEnabled(boolean enable)
          Sets the consoleInputEnabled attribute of the ServerMBean object
 void setCustomIdentityKeyStoreFileName(java.lang.String fileName)
          The custom identity keystore's file name.
 void setCustomIdentityKeyStorePassPhrase(java.lang.String passPhrase)
          As of 8.1 sp4, this method does the following:
 void setCustomIdentityKeyStorePassPhraseEncrypted(byte[] bytes)
          Encrypts and sets the value of the CustomIdentityKeyStorePassPhraseEncrypted attribute.
 void setCustomIdentityKeyStoreType(java.lang.String type)
          The custom identity keystore's type.
 void setCustomTrustKeyStoreFileName(java.lang.String fileName)
          The custom trust keystore's file name.
 void setCustomTrustKeyStorePassPhrase(java.lang.String passPhrase)
          As of 8.1 sp4, this method does the following:
 void setCustomTrustKeyStorePassPhraseEncrypted(byte[] bytes)
          Encrypts and sets the value of the CustomTrustKeyStorePassPhraseEncrypted attribute.
 void setCustomTrustKeyStoreType(java.lang.String type)
          The custom trust keystore's type.
 void setDefaultIIOPPassword(java.lang.String password)
          As of 8.1 sp4, this method does the following:
 void setDefaultIIOPPasswordEncrypted(byte[] bytes)
          Encrypts and sets the value of the DefaultIIOPPasswordEncrypted attribute.
 void setDefaultIIOPUser(java.lang.String user)
          Sets the defaultIIOPUser attribute of the ServerMBean object
 void setDefaultInternalServletsDisabled(boolean enabled)
          This disables all default servlets in the servlet engine.
 void setDefaultTGIOPPassword(java.lang.String password)
          As of 8.1 sp4, this method does the following:
 void setDefaultTGIOPPasswordEncrypted(byte[] bytes)
          Encrypts and sets the value of the DefaultTGIOPPasswordEncrypted attribute.
 void setDefaultTGIOPUser(java.lang.String user)
          Sets the defaultTGIOPUser attribute of the ServerMBean object
 void setDomainLogFilter(DomainLogFilterMBean filter)
          Sets the domainLogFilter attribute of the ServerMBean object
 void setEnabledForDomainLog(boolean choice)
          Sets the enabledForDomainLog attribute of the ServerMBean object
 void setExpectedToRun(boolean flag)
          Sets the expectedToRun attribute of the ServerMBean object
 void setExternalDNSName(java.lang.String externalDNSName)
          Sets the externalDNSName attribute of the ServerMBean object
 void setExtraEjbcOptions(java.lang.String options)
           
 void setExtraRmicOptions(java.lang.String options)
          Sets the extraRmicOptions attribute of the ServerMBean object
 void setGracefulShutdownTimeout(int timeout)
          Number of seconds a graceful shutdown operation waits before forcing a shut down.
 void setHealthCheckIntervalSeconds(int secs)
          Sets the healthCheckIntervalSeconds attribute of the ServerMBean object
 void setHealthCheckStartDelaySeconds(int secs)
          Sets the healthCheckStartDelaySeconds attribute of the ServerMBean object
 void setHealthCheckTimeoutSeconds(int secs)
          Sets the healthCheckTimeoutSeconds attribute of the ServerMBean object
 void setHelpPageURL(java.lang.String url)
          Sets the helpPageURL attribute of the ServerMBean object
 void setHttpdEnabled(boolean enable)
          Sets the httpdEnabled attribute of the ServerMBean object
 void setHttpTraceSupportEnabled(boolean tse)
          Attackers may abuse HTTP TRACE functionality to gain access to information in HTTP headers such as cookies and authentication data.
 void setIgnoreSessionsDuringShutdown(boolean ignoreSessions)
          Sets the ignoreSessionsDuringShutdown attribute of the ServerMBean object
 void setIIOPEnabled(boolean enable)
          Sets the iIOPEnabled attribute of the ServerMBean object
 void setInterfaceAddress(java.lang.String address)
           
 void setIORServletEnabled(boolean enable)
          set the flag to enable GetIORServlet
 void setJ2EE12OnlyModeEnabled(boolean enable)
          Sets the j2EE12OnlyModeEnabled attribute of the ServerMBean object
 void setJ2EE13WarningEnabled(boolean enable)
          Sets the j2EE13WarningEnabled attribute of the ServerMBean object
 void setJavaCompiler(java.lang.String javaCompiler)
          Sets the javaCompiler attribute of the ServerMBean object
 void setJavaCompilerPostClassPath(java.lang.String postClassPath)
          Sets the javaCompilerPostClassPath attribute of the ServerMBean object
 void setJavaCompilerPreClassPath(java.lang.String preClassPath)
          Sets the javaCompilerPreClassPath attribute of the ServerMBean object
 void setJavaStandardTrustKeyStorePassPhrase(java.lang.String passPhrase)
          As of 8.1 sp4, this method does the following:
 void setJavaStandardTrustKeyStorePassPhraseEncrypted(byte[] bytes)
          Encrypts and sets the value of the JavaStandardTrustKeyStorePassPhraseEncrypted attribute.
 void setJDBCLogFileName(java.lang.String logFileName)
          Sets the jDBCLogFileName attribute of the ServerMBean object
 void setJDBCLoggingEnabled(boolean enable)
          Sets the jDBCLoggingEnabled attribute of the ServerMBean object
 void setJMSDefaultConnectionFactoriesEnabled(boolean enabled)
          Sets the jMSDefaultConnectionFactoriesEnabled attribute of the ServerMBean object
 void setJNDITransportableObjectFactoryList(java.lang.String[] list)
          Sets the jNDITransportableObjectFactoryList attribute of the ServerMBean object
 void setKeyStores(java.lang.String keystores)
          Which configuration rules should be used for finding the server's identity and trust keystores?
 void setListenAddress(java.lang.String address)
          Sets the value of the ListenAddress attribute.
 void setListenDelaySecs(int seconds)
          Sets the listenDelaySecs attribute of the ServerMBean object
 void setListenPort(int port)
          Sets the listenPort attribute of the ServerMBean object
 void setListenPortEnabled(boolean enable)
           
 void setLoginTimeout(int timeout)
          Not used, use setLoginTimeoutMillis instead.
 void setLoginTimeoutMillis(int count)
          Sets the loginTimeoutMillis attribute of the ServerMBean object
 void setLowMemoryGCThreshold(int size)
          Sets the lowMemoryGCThreshold attribute of the ServerMBean object
 void setLowMemoryGranularityLevel(int size)
          Sets the lowMemoryGranularityLevel attribute of the ServerMBean object
 void setLowMemorySampleSize(int sampleSize)
          Sets the lowMemorySampleSize attribute of the ServerMBean object
 void setLowMemoryTimeInterval(int seconds)
          Sets the lowMemoryTimeInterval attribute of the ServerMBean object
 void setMachine(MachineMBean machine)
          The machine on which this server is meant to run.
 void setManagedServerIndependenceEnabled(boolean enable)
          Sets the managedServerIndependenceEnabled attribute of the ServerMBean object
 void setMessageIdPrefixEnabled(boolean prefix)
          Sets the messageIdPrefixEnabled attribute of the ServerMBean object
 void setMSIFileReplicationEnabled(boolean enable)
          Sets the mSIFileReplicationEnabled attribute of the ServerMBean object
 void setName(java.lang.String name)
          Set the name of the MBean.
 void setNetworkAccessPoints(NetworkAccessPointMBean[] networkAccessPoints)
           
 void setPreferredSecondaryGroup(java.lang.String group)
          Sets the preferredSecondaryGroup attribute of the ServerMBean object
 void setReliableDeliveryPolicy(WSReliableDeliveryPolicyMBean mbean)
          The reliable delivery policy for web services.
 void setReplicationGroup(java.lang.String group)
          Sets the replicationGroup attribute of the ServerMBean object
 void setRestartDelaySeconds(int secs)
          Sets the restartDelaySeconds attribute of the ServerMBean object
 void setRestartIntervalSeconds(int secs)
          Sets the restartIntervalSeconds attribute of the ServerMBean object
 void setRestartMax(int value)
          Sets the restartMax attribute of the ServerMBean object
 void setServerVersion(java.lang.String version)
          Sets the serverVersion attribute of the ServerMBean object
 void setStagingMode(java.lang.String staging)
          Sets the stagingMode attribute of the ServerMBean object
 void setStartupMode(java.lang.String mode)
          Startup Mode for the server
 void setSystemPassword(java.lang.String password)
          Deprecated.  
 void setSystemPasswordEncrypted(byte[] bytes)
          Encrypts the system password and sets the value of the SystemPasswordEncrypted attribute.
 void setTGIOPEnabled(boolean enable)
          Sets the tGIOPEnabled attribute of the ServerMBean object
 void setTransactionLogFilePrefix(java.lang.String pathPrefix)
          Sets the transactionLogFilePrefix attribute of the ServerMBean object
 void setTransactionLogFileWritePolicy(java.lang.String policy)
          Sets the transactionLogFileWritePolicy attribute of the ServerMBean object
 void setTunnelingClientPingSecs(int secs)
          Sets the tunnelingClientPingSecs attribute of the ServerMBean object
 void setTunnelingClientTimeoutSecs(int secs)
          Sets the tunnelingClientTimeoutSecs attribute of the ServerMBean object
 void setTunnelingEnabled(boolean enabled)
          Sets the tunnelingEnabled attribute of the ServerMBean object
 void setUploadDirectoryName(java.lang.String dir)
          Sets the uploadDirectoryName attribute of the ServerMBean object
 void setVerboseEJBDeploymentEnabled(java.lang.String verbose)
          Sets the verboseEJBDeploymentEnabled attribute of the ServerMBean object
 void setWeblogicPluginEnabled(boolean wpe)
          WLS HttpRequest.getRemoteAddr() used to rely on X-Forwarded-For for its returned value.
 void setWorkspaceShowUserKeysOnly(boolean b)
          Sets the workspaceShowUserKeysOnly attribute of the ServerMBean object
 void setXMLEntityCache(XMLEntityCacheMBean cache)
          Sets the xMLEntityCache attribute of the ServerMBean object
 void setXMLRegistry(XMLRegistryMBean registry)
          Sets the xMLRegistry attribute of the ServerMBean object
 void setZACEnabled(boolean enable)
          Sets the zACEnabled attribute of the ServerMBean object
 void setZACPublishRoot(java.lang.String path)
          Sets the zACPublishRoot attribute of the ServerMBean object
 void stop()
          Deprecated.  
 java.lang.String synchronousKill()
          Kill this server.
 java.lang.String synchronousStart()
          Start this server.
 
Methods inherited from interface weblogic.management.configuration.KernelMBean
getCompleteCOMMessageTimeout, getCompleteHTTPMessageTimeout, getCompleteIIOPMessageTimeout, getCompleteMessageTimeout, getCompleteT3MessageTimeout, getDefaultProtocol, getDefaultSecureProtocol, getExecuteQueues, getIdleConnectionTimeout, getIdleIIOPConnectionTimeout, getIIOP, getLog, getMaxCOMMessageSize, getMaxHTTPMessageSize, getMaxIIOPMessageSize, getMaxMessageSize, getMaxOpenSockCount, getMaxT3MessageSize, getMTUSize, getMuxerClass, getSocketReaders, getSSL, getStdoutFormat, getStdoutSeverityLevel, getStuckThreadMaxTime, getStuckThreadTimerInterval, getThreadPoolPercentSocketReaders, isInstrumentStackTraceEnabled, isLogRemoteExceptionsEnabled, isNativeIOEnabled, isReverseDNSAllowed, isStdoutDebugEnabled, isStdoutEnabled, isStdoutLogStack, setCompleteCOMMessageTimeout, setCompleteHTTPMessageTimeout, setCompleteIIOPMessageTimeout, setCompleteMessageTimeout, setCompleteT3MessageTimeout, setDefaultProtocol, setDefaultSecureProtocol, setDGCIdlePeriodsUntilTimeout, setIdleConnectionTimeout, setIdleIIOPConnectionTimeout, setIIOPLocationForwardPolicy, setIIOPTxMechanism, setInstrumentStackTraceEnabled, setLogRemoteExceptionsEnabled, setMaxCOMMessageSize, setMaxHTTPMessageSize, setMaxIIOPMessageSize, setMaxMessageSize, setMaxOpenSockCount, setMaxT3MessageSize, setMTUSize, setMuxerClass, setNativeIOEnabled, setReverseDNSAllowed, setSocketReaders, setStdoutDebugEnabled, setStdoutEnabled, setStdoutFormat, setStdoutLogStack, setStdoutSeverityLevel, setStuckThreadMaxTime, setStuckThreadTimerInterval, setThreadPoolPercentSocketReaders, setUseIIOPLocateRequest
 
Methods inherited from interface weblogic.management.configuration.TargetMBean
setDeployments
 

Field Detail

STAGING_NAME

public static final java.lang.String STAGING_NAME
the default staging directory name, relative to the server directory. This is the directory used to stage applications during deployment.

STAGE

public static final java.lang.String STAGE
This staging mode indicates that applications deployed to this server will be staged as part of the deployment.

NO_STAGE

public static final java.lang.String NO_STAGE
This staging mode indicates that applications deployed to this server will not be staged as part of the deployment, and will be activated from the location specified by the application's Path attribute.

EXTERNAL_STAGE

public static final java.lang.String EXTERNAL_STAGE
This staging mode indicates that applications deployed to this server will not be staged as part of the deployment, but will be activated from the staging directory.

UPLOAD_DIR_NAME

public static final java.lang.String UPLOAD_DIR_NAME

LOGTYPE_WL_STDOUT

public static final java.lang.String LOGTYPE_WL_STDOUT

LOGTYPE_WL_STDERR

public static final java.lang.String LOGTYPE_WL_STDERR

SYNCWRITE_CACHEFLUSH

public static final java.lang.String SYNCWRITE_CACHEFLUSH

SYNCWRITE_DIRECTWRITE

public static final java.lang.String SYNCWRITE_DIRECTWRITE

DEFAULT_JDBC_FILE_NAME

public static final java.lang.String DEFAULT_JDBC_FILE_NAME
Method Detail

getMachine

public MachineMBean getMachine()
The machine on which this server is meant to run.

If you want to use a Node Manager to start this server, you must assign the server to a machine and you must configure the machine for the Node Manager.

You cannot change this value if a server instance is already running.

A configurable MBean attribute
Returns:
The machine value

setMachine

public void setMachine(MachineMBean machine)
                throws javax.management.InvalidAttributeValueException
The machine on which this server is meant to run.

If you want to use a Node Manager to start this server, you must assign the server to a machine and you must configure the machine for the Node Manager.

You cannot change this value if a server instance is already running.

Legal Value: LegalHelper.serverMBeanChangeMachine(value,self)
Parameters:
machine - The new machine value
Throws:
javax.management.InvalidAttributeValueException -  

getListenPort

public int getListenPort()
The plain-text (non-SSL) listen port for this server. If this is disabled the SSL port must be enabled. Additional ports can be configured using network channels (see NetworkChannelMBean). The cluster (multicast) port is configured seperately (see getCluster).

A configurable MBean attribute
Default Value: 7001
Legal Minimum Value: 1
Legal Maximum Value: 65534
Returns:
The listenPort value
See Also:
isListenPortEnabled(), getAdministrationPort(), getListenAddress(), getCluster(), SSLMBean.getListenPort(), KernelMBean.getSSL(), NetworkChannelMBean.getListenPort(), NetworkChannelMBean.getSSLListenPort()

setListenPort

public void setListenPort(int port)
                   throws javax.management.InvalidAttributeValueException
Sets the listenPort attribute of the ServerMBean object

Parameters:
port - The new listenPort value
Throws:
javax.management.InvalidAttributeValueException -  

isListenPortEnabled

public boolean isListenPortEnabled()
Get if the plain-text (non-SSL) port is enabled for the server. If this is set to false, the SSL listen port must be configured and enabled.

Returns:
The listenPortEnabled value
See Also:
getListenPort(), isAdministrationPortEnabled(), KernelMBean.getSSL(), SSLMBean.isListenPortEnabled(), NetworkChannelMBean.isListenPortEnabled(), NetworkChannelMBean.isSSLListenPortEnabled()

setListenPortEnabled

public void setListenPortEnabled(boolean enable)
                          throws javax.management.InvalidAttributeValueException

Default Value: true
Legal Value: value || ServerLegalHelper.isSSLListenPortEnabled(self)
Secure Value:  false
Parameters:
enable - The new listenPortEnabled value
Throws:
javax.management.InvalidAttributeValueException -  

getLoginTimeout

public int getLoginTimeout()
Not used, use getLoginTimeoutMillis instead.

A dynamic MBean attribute
Default Value: 1000
Legal Minimum Value: 0
Returns:
The loginTimeout value
See Also:
getLoginTimeoutMillis()

setLoginTimeout

public void setLoginTimeout(int timeout)
                     throws javax.management.InvalidAttributeValueException,
                            DistributedManagementException
Not used, use setLoginTimeoutMillis instead.

Parameters:
timeout - The new loginTimeout value
Throws:
javax.management.InvalidAttributeValueException -  
DistributedManagementException -  
See Also:
getLoginTimeoutMillis()

getCluster

public ClusterMBean getCluster()
The cluster to which this server belongs. If set, the server will listen for cluster multicast events.

A configurable MBean attribute
Returns:
The cluster value
See Also:
getClusterWeight(), ClusterMBean.getMulticastPort(), ClusterMBean.getMulticastAddress()

setCluster

public void setCluster(ClusterMBean cluster)
                throws javax.management.InvalidAttributeValueException
Sets the cluster attribute of the ServerMBean object

Parameters:
cluster - The new cluster value
Throws:
javax.management.InvalidAttributeValueException -  

getClusterWeight

public int getClusterWeight()
Defines a value used specify the proportion of the load the server will bear relative to other servers in a cluster.

If all servers have the default weight (100) or the same weight, each bears an equal proportion of the load. If one server has weight 50 and all other servers have weight 100, the 50-weight server will bear half as much load as any other server.

A configurable MBean attribute
Default Value: 100
Legal Minimum Value: 1
Legal Maximum Value: 100
Returns:
The clusterWeight value
See Also:
getCluster()

setClusterWeight

public void setClusterWeight(int weight)
                      throws javax.management.InvalidAttributeValueException
Sets the clusterWeight attribute of the ServerMBean object

Parameters:
weight - The new clusterWeight value
Throws:
javax.management.InvalidAttributeValueException -  

getReplicationGroup

public java.lang.String getReplicationGroup()
Defines preferred clustered instances considered for hosting replicas of the primary HTTP session states created on the server.

Returns:
The replicationGroup value

setReplicationGroup

public void setReplicationGroup(java.lang.String group)
                         throws javax.management.InvalidAttributeValueException
Sets the replicationGroup attribute of the ServerMBean object

Parameters:
group - The new replicationGroup value
Throws:
javax.management.InvalidAttributeValueException -  

getPreferredSecondaryGroup

public java.lang.String getPreferredSecondaryGroup()
Defines secondary clustered instances considered for hosting replicas of the primary HTTP session states created on the server.

Returns:
The preferredSecondaryGroup value

setPreferredSecondaryGroup

public void setPreferredSecondaryGroup(java.lang.String group)
                                throws javax.management.InvalidAttributeValueException
Sets the preferredSecondaryGroup attribute of the ServerMBean object

Parameters:
group - The new preferredSecondaryGroup value
Throws:
javax.management.InvalidAttributeValueException -  

setAutoMigrationEnabled

public void setAutoMigrationEnabled(boolean enable)
Sets the autoMigrationEnabled attribute of the ServerMBean object

Parameters:
enable - The new autoMigrationEnabled value

getClusterRuntime

public ClusterRuntimeMBean getClusterRuntime()
Returns an mbean containing runtime information about the cluster which was started from this configuration mbean. Returns null if no such cluster exists.

Returns:
The clusterRuntime value

getWebServer

public WebServerMBean getWebServer()
Return the web server for this server. A server has exactly one WebServer. A server may also have one or more VirtualHosts. A VirtualHost is a subclass of WebServer.

Returns:
The webServer value

getExpectedToRun

public boolean getExpectedToRun()
If this server expected to run if the domain is started.

A configurable MBean attribute
Default Value: true
Returns:
The expectedToRun value
See Also:
stop(), start(), kill()

setExpectedToRun

public void setExpectedToRun(boolean flag)
Sets the expectedToRun attribute of the ServerMBean object

Parameters:
flag - The new expectedToRun value

synchronousStart

public java.lang.String synchronousStart()
Start this server. This is a blocking call. Returns String containg NodeManger log for starting the server.

Returns:
 

stop

public void stop()
Deprecated.  
Stop this server. This method attempts a soft shutdown of the server. If the server is not responsive, the kill method may be used. Returns an exit code of 0 (PeerGoneException). If the client that calls this method is remote, the PeerGoneException is nested inside a RemoteRuntimeException. The remote client is responsible for gracefully handling this exception.

See Also:
stop(), getExpectedToRun(), kill()

synchronousKill

public java.lang.String synchronousKill()
Kill this server. This is a blocking call. Returns String containg NodeManger log for killing the server.

Returns:
 

isJDBCLoggingEnabled

public boolean isJDBCLoggingEnabled()
Determines whether this server maintains a JDBC log file.

Old Property: weblogic.jdbc.enableLogFile
Secure Value:  true
Returns:
The jDBCLoggingEnabled value

setJDBCLoggingEnabled

public void setJDBCLoggingEnabled(boolean enable)
Sets the jDBCLoggingEnabled attribute of the ServerMBean object

Parameters:
enable - The new jDBCLoggingEnabled value

getJDBCLogFileName

public java.lang.String getJDBCLogFileName()
The name of the JDBC log file. If the pathname is not absolute, the path is assumed to be relative to the server's root directory. If the log has no path element and is atomic, ie. jdbc.log to avoid name space conflicts the file will be placed relative to the root directory in ./SERVER_NAME/

Default Value: DEFAULT_JDBC_FILE_NAME
Old Property: weblogic.jdbc.logFileName
Returns:
The jDBCLogFileName value

setJDBCLogFileName

public void setJDBCLogFileName(java.lang.String logFileName)
                        throws javax.management.InvalidAttributeValueException
Sets the jDBCLogFileName attribute of the ServerMBean object

Parameters:
logFileName - The new jDBCLogFileName value
Throws:
javax.management.InvalidAttributeValueException -  

setJ2EE12OnlyModeEnabled

public void setJ2EE12OnlyModeEnabled(boolean enable)
Sets the j2EE12OnlyModeEnabled attribute of the ServerMBean object

Parameters:
enable - The new j2EE12OnlyModeEnabled value

setJ2EE13WarningEnabled

public void setJ2EE13WarningEnabled(boolean enable)
Sets the j2EE13WarningEnabled attribute of the ServerMBean object

Parameters:
enable - The new j2EE13WarningEnabled value

setZACEnabled

public void setZACEnabled(boolean enable)
Sets the zACEnabled attribute of the ServerMBean object

Parameters:
enable - The new zACEnabled value

setZACPublishRoot

public void setZACPublishRoot(java.lang.String path)
                       throws javax.management.InvalidAttributeValueException
Sets the zACPublishRoot attribute of the ServerMBean object

Parameters:
path - The new zACPublishRoot value
Throws:
javax.management.InvalidAttributeValueException -  

isIIOPEnabled

public boolean isIIOPEnabled()
Whether or not IIOP support is enabled for both the SSL and non-SSL ports.

Default Value: true
Old Property: weblogic.system.enableIIOP
Returns:
The iIOPEnabled value
See Also:
getListenPort(), SSLMBean.getListenPort(), KernelMBean.getSSL()

setIIOPEnabled

public void setIIOPEnabled(boolean enable)
Sets the iIOPEnabled attribute of the ServerMBean object

Parameters:
enable - The new iIOPEnabled value

getDefaultIIOPUser

public java.lang.String getDefaultIIOPUser()
The default IIOP user.

Default Value: null
Old Property: weblogic.iiop.user
Returns:
The defaultIIOPUser value

setDefaultIIOPUser

public void setDefaultIIOPUser(java.lang.String user)
                        throws javax.management.InvalidAttributeValueException
Sets the defaultIIOPUser attribute of the ServerMBean object

Parameters:
user - The new defaultIIOPUser value
Throws:
javax.management.InvalidAttributeValueException -  

getDefaultIIOPPassword

public java.lang.String getDefaultIIOPPassword()

The password for the default IIOP user.

As of 8.1 sp4, the getDefaultIIOPPassword() method does the following:

  1. Retrieves the value of the DefaultIIOPPasswordEncrypted attribute.
  2. Decrypts the value and returns the unencrypted password as a String.

Using getDefaultIIOPPassword() is a potential security risk because the String object (which contains the unencrypted password) remains in the JVM's memory until garbage collection removes it. D