|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerTemplateMBean
This class represents a WebLogic Server. A WebLogic Server is a Java process that is a container for J2EE applications.
Field Summary | |
---|---|
static String |
DEFAULT_JDBC_FILE_NAME
|
static String |
DEFAULT_STAGE
This staging mode indicates that applications deployed to the Admin Server will not be staged, and applications deployed to Managed Servers will evaluate to "staged". |
static 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 String |
LOGTYPE_WL_STDERR
|
static String |
LOGTYPE_WL_STDOUT
|
static 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 String |
STAGE
This staging mode indicates that applications deployed to this server will be staged as part of the deployment. |
static String |
STAGING_NAME
The default staging directory name, relative to the server directory. |
static String |
SYNCWRITE_CACHEFLUSH
|
static String |
SYNCWRITE_DIRECTWRITE
|
static String |
UPLOAD_DIR_NAME
|
Fields inherited from interface weblogic.management.configuration.KernelMBean |
---|
STDOUT_NOID, STDOUT_STANDARD |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
boolean |
addNetworkAccessPoint(NetworkAccessPointMBean networkAccessPoint)
Deprecated. 9.0.0.0 |
NetworkAccessPointMBean |
createNetworkAccessPoint(String name)
Factory to create a new NetworkAccessPoint instance for this Server. |
void |
destroyNetworkAccessPoint(NetworkAccessPointMBean accessPoint)
Destroys a NetworkAccessPoint object. |
int |
getAcceptBacklog()
The number of backlogged, new TCP connection requests that should be allowed for this server's regular and SSL ports. |
int |
getAdministrationPort()
The secure administration port for the server. |
int |
getAdminReconnectIntervalSeconds()
The number of seconds between reconnection attempts to the admin server. |
boolean |
getAutoKillIfFailed()
Specifies whether the Node Manager should automatically kill this server if its health state is failed . |
boolean |
getAutoRestart()
Specifies whether the Node Manager can automatically restart this server if it crashes or otherwise goes down unexpectedly. |
MachineMBean[] |
getCandidateMachines()
Limits the list of candidate machines that the cluster specifies. |
ClusterMBean |
getCluster()
The cluster, or group of WebLogic Server instances, to which this server belongs. |
int |
getClusterWeight()
The proportion of the load that this server will bear, relative to other servers in a cluster. |
CoherenceClusterSystemResourceMBean |
getCoherenceClusterSystemResource()
The system-level Coherence cluster resource associated with this server. |
CoherenceMemberConfigMBean |
getCoherenceMemberConfig()
Returns the Coherence Operational Config overrides associated with this Server. |
COMMBean |
getCOM()
Returns the server's COM configuration. |
String |
getCustomIdentityKeyStoreFileName()
The source of the identity keystore. |
String |
getCustomIdentityKeyStorePassPhrase()
The encrypted custom identity keystore's passphrase. |
byte[] |
getCustomIdentityKeyStorePassPhraseEncrypted()
Returns encrypted pass phrase defined when creating the keystore. |
String |
getCustomIdentityKeyStoreType()
The type of the keystore. |
String |
getCustomTrustKeyStoreFileName()
The source of the custom trust keystore. |
String |
getCustomTrustKeyStorePassPhrase()
The custom trust keystore's passphrase. |
byte[] |
getCustomTrustKeyStorePassPhraseEncrypted()
The custom trust keystore's encrypted passphrase. |
String |
getCustomTrustKeyStoreType()
The type of the keystore. |
DataSourceMBean |
getDataSource()
The datasource configuration for the server. |
DefaultFileStoreMBean |
getDefaultFileStore()
Controls the configuration of the default persistent store on this server. |
String |
getDefaultIIOPPassword()
The password for the default IIOP user. |
byte[] |
getDefaultIIOPPasswordEncrypted()
The encrypted password for the default IIOP user. |
String |
getDefaultIIOPUser()
The user name of the default IIOP user. |
String |
getDefaultTGIOPPassword()
The password for the default user associated with the Tuxedo GIOP (TGIOP) protocol. |
byte[] |
getDefaultTGIOPPasswordEncrypted()
The encrypted password for the default TGIOP user. |
String |
getDefaultTGIOPUser()
The default user associated with the Tuxedo GIOP (TGIOP) protocol. |
DomainLogFilterMBean |
getDomainLogFilter()
Deprecated. 9.0.0.0 Replaced by LogMBean.LogBroadcastFilter The severity of messages going to the domain log is configured separately through LogMBean.LogBroadcastSeverity, For backward compatibility the changes to this attribute will be propagated to the LogMBean. |
String |
getExternalDNSName()
The external IP address or DNS name for this server. |
String |
getExtraEjbcOptions()
The options passed to the EJB compiler during server-side generation. |
String |
getExtraRmicOptions()
The options passed to the RMIC compiler during server-side generation. |
FederationServicesMBean |
getFederationServices()
Gets the Federation Services MBean |
int |
getGracefulShutdownTimeout()
Number of seconds a graceful shutdown operation waits before forcing a shut down. |
int |
getHealthCheckIntervalSeconds()
The number of seconds that defines the frequency of this server's self-health monitoring. |
int |
getHealthCheckTimeoutSeconds()
Deprecated. 9.0.0.0 Replaced by Server self-health monitoring that takes action without NodeManager intervention. NodeManager identifies if a running server was shutdown due to a restartable failure and restarts the server. |
boolean |
getHostsMigratableServices()
Gets the hostsMigratableServices attribute of the ServerMBean object |
String |
getInterfaceAddress()
The IP address of the NIC that this server should use for multicast traffic. |
String |
getJavaCompiler()
The Java compiler to use for all applications hosted on this server that need to compile Java code. |
String |
getJavaCompilerPostClassPath()
The options to append to the Java compiler classpath when compiling Java code. |
String |
getJavaCompilerPreClassPath()
The options to prepend to the Java compiler classpath when compiling Java code. |
String |
getJavaStandardTrustKeyStorePassPhrase()
The password for the Java Standard Trust keystore. |
byte[] |
getJavaStandardTrustKeyStorePassPhraseEncrypted()
The encrypted password for the Java Standard Trust keystore. |
String |
getJDBCLLRTableName()
The table name for this server's Logging Last Resource (LLR) database table(s). |
String |
getJDBCLogFileName()
Deprecated. 9.0.0.0 |
int |
getJDBCLoginTimeoutSeconds()
The JDBC Login Timeout value. |
String[] |
getJNDITransportableObjectFactoryList()
List of factories that create transportable objects. |
JTAMigratableTargetMBean |
getJTAMigratableTarget()
Returns the JTAMigratableTargetMBean that is used to deploy the JTA Recovery Service to (is the server's cluster is not null). |
String |
getKeyStores()
Which configuration rules should be used for finding the server's identity and trust keystores? |
String |
getListenAddress()
The IP address or DNS name this server uses to listen for incoming connections. |
int |
getListenDelaySecs()
Deprecated. |
boolean |
getListenersBindEarly()
Determines whether the server should bind server sockets early. |
int |
getListenPort()
The default TCP port that this server uses to listen for regular (non-SSL) incoming connections. |
int |
getListenThreadStartDelaySecs()
Returns the maximum time that the server will wait for server sockets to bind before starting a listen thread. |
int |
getLoginTimeoutMillis()
The login timeout for this server's default regular (non-SSL) listen port. |
int |
getLowMemoryGCThreshold()
Deprecated. 12.1.1.0.0 not used anywhere in runtime (core) code |
int |
getLowMemoryGranularityLevel()
Deprecated. 12.1.1.0.0 not used anywhere in runtime (core) code |
int |
getLowMemorySampleSize()
Deprecated. 12.1.1.0.0 not used anywhere in runtime (core) code |
int |
getLowMemoryTimeInterval()
Deprecated. 12.1.1.0.0 not used anywhere in runtime (core) code |
MachineMBean |
getMachine()
The WebLogic Server host computer (machine) on which this server is meant to run. |
String |
getName()
An alphanumeric name for this server instance. |
NetworkAccessPointMBean[] |
getNetworkAccessPoints()
Network access points, or "NAPs", define additional ports and addresses that this server listens on. |
int |
getNMSocketCreateTimeoutInMillis()
Returns the timeout value to be used by NodeManagerRuntime when creating a a socket connection to the agent. |
OverloadProtectionMBean |
getOverloadProtection()
get attributes related to server overload protection |
String |
getPreferredSecondaryGroup()
Defines secondary clustered instances considered for hosting replicas of the primary HTTP session states created on the server. |
WSReliableDeliveryPolicyMBean |
getReliableDeliveryPolicy()
The reliable delivery policy for web services. |
String |
getReplicationGroup()
Defines preferred clustered instances considered for hosting replicas of the primary HTTP session states created on the server. |
String |
getReplicationPorts()
When WLS is running on Exalogic machines, cluster replication traffic could go over multiple replication channels. |
int |
getRestartDelaySeconds()
The number of seconds the Node Manager should wait before restarting this server. |
int |
getRestartIntervalSeconds()
The number of seconds during which this server can be restarted, up to the number of times specified in RestartMax. |
int |
getRestartMax()
The number of times that the Node Manager can restart this server within the interval specified in RestartIntervalSeconds. |
ServerDebugMBean |
getServerDebug()
The debug setting for this server. |
WLDFServerDiagnosticMBean |
getServerDiagnosticConfig()
The diagnostic configuration for the servers |
int |
getServerLifeCycleTimeoutVal()
Number of seconds a force shutdown operation waits before timing out and killing itself. |
ServerStartMBean |
getServerStart()
Returns the ServerStartMBean that can be used to start up this server remotely. |
String |
getServerVersion()
Deprecated. 9.0.0.0 |
SingleSignOnServicesMBean |
getSingleSignOnServices()
Gets the Single Sign-On Services MBean |
String |
getStagingDirectoryName()
The directory path on the Managed Server where all staged (prepared) applications are placed. |
String |
getStagingMode()
The mode that specifies whether an application's files are copied from a source on the Administration Server to the Managed Server's staging area during application preparation. |
String |
getStartupMode()
The state in which this server should be started. |
int |
getStartupTimeout()
Timeout value for server start and resume operations. |
byte[] |
getSystemPasswordEncrypted()
The password required to access administrative functions on this server. |
String |
getTransactionLogFilePrefix()
The path prefix for the server's JTA transaction log files. |
String |
getTransactionLogFileWritePolicy()
The policy that determines how transaction log file entries are written to disk. |
TransactionLogJDBCStoreMBean |
getTransactionLogJDBCStore()
The JDBC TLOG store used for transaction logging. |
int |
getTunnelingClientPingSecs()
The interval (in seconds) at which to ping a tunneled client to see if it is still alive. |
int |
getTunnelingClientTimeoutSecs()
The amount of time (in seconds) after which a missing tunneled client is considered dead. |
String |
getUploadDirectoryName()
The directory path on the Administration Server where all uploaded applications are placed. |
String |
getVerboseEJBDeploymentEnabled()
Deprecated. Deprecated as of 10.3.3.0 in favor of ServerDebugMBean.getDebugEjbDeployment() |
String |
getVirtualMachineName()
When WLS is running on JRVE, this specifies the name of the virtual machine running this server |
WebServerMBean |
getWebServer()
Returns the web server for this server. |
WebServiceMBean |
getWebService()
Gets Web service configuration for this server |
XMLEntityCacheMBean |
getXMLEntityCache()
The server's XML entity cache, which is used to configure the behavior of JAXP (Java API for XML Parsing). |
XMLRegistryMBean |
getXMLRegistry()
The server's XML registry, which is used to configure the behavior of JAXP (Java API for XML Parsing). |
boolean |
isAutoMigrationEnabled()
Specifies whether Node Manager can automatically restart this server and its services on another machine if the server fails. |
boolean |
isClasspathServletDisabled()
The ClasspathServlet will serve any class file in the classpath and is registered by default in every Web application (including management). |
boolean |
isClientCertProxyEnabled()
Specifies whether the HttpClusterServlet proxies the client certificate in a special header. |
boolean |
isCOMEnabled()
Specifies whether COM support is enabled on the regular (non-SSL) port. |
boolean |
isDefaultInternalServletsDisabled()
Specifies whether all default servlets in the servlet engine are disabled. |
boolean |
isEnabledForDomainLog()
Deprecated. 9.0.0.0 replaced by LogMBean.LogBroadcastSeverity, For backward compatibility the changes to this attribute will be propagated to the LogMBean. |
boolean |
isHttpdEnabled()
Whether or not HTTP support is enabled on the regular port or SSL port. |
boolean |
isHttpTraceSupportEnabled()
Returns the HttpTraceSupportEnabled value |
boolean |
isIgnoreSessionsDuringShutdown()
Indicates whether a graceful shutdown operation drops all HTTP sessions immediately. |
boolean |
isIIOPEnabled()
Specifies whether this server has IIOP support enabled for both the regular (non-SSL) and SSL ports. |
boolean |
isJDBCLoggingEnabled()
Deprecated. 9.0.0.0 Use ServerDebugMBean.getJDBCDriverLogging |
boolean |
isJMSDefaultConnectionFactoriesEnabled()
Specifies whether this server uses JMS default connection factories. |
boolean |
isListenPortEnabled()
Specifies whether this server can be reached through the default plain-text (non-SSL) listen port. |
boolean |
isManagedServerIndependenceEnabled()
Specifies whether this Managed Server can be started when the Administration Server is unavailable. |
boolean |
isMessageIdPrefixEnabled()
Indicates whether message IDs in logged messages will include a prefix. |
boolean |
isMSIFileReplicationEnabled()
Deprecated. |
boolean |
isTGIOPEnabled()
Specifies whether this server supports Tuxedo GIOP (TGIOP) requests. |
boolean |
isTunnelingEnabled()
Specifies whether tunneling for the T3, T3S, HTTP, HTTPS, IIOP, and IIOPS protocols should be enabled for this server. |
boolean |
isUseFusionForLLR()
Enables the use of the ADM_DDL store procedure for LLR. |
boolean |
isWeblogicPluginEnabled()
Specifies whether this server uses the proprietary WL-Proxy-Client-IP header, which is recommended if the server instance will receive requests from a proxy plug-in. |
NetworkAccessPointMBean |
lookupNetworkAccessPoint(String name)
Look up an NetworkAccessPoint by name |
boolean |
removeNetworkAccessPoint(NetworkAccessPointMBean networkAccessPoint)
Deprecated. 9.0.0.0 |
void |
setAcceptBacklog(int count)
Sets the value of the AcceptBacklog attribute. |
void |
setAdministrationPort(int port)
Sets the value of the ServerMBean's AdministrationPort attribute. |
void |
setAdminReconnectIntervalSeconds(int secs)
Sets the value of the AdminReconnectIntervalSeconds attribute. |
void |
setAutoKillIfFailed(boolean enable)
Sets the value of the AutoKillIfFailed attribute. |
void |
setAutoMigrationEnabled(boolean enable)
Sets the value of the AutoMigrationEnabled attribute. |
void |
setAutoRestart(boolean enable)
Sets the value of the AutoRestart attribute. |
void |
setCandidateMachines(MachineMBean[] machines)
Sets the value of the CandidateMachines attribute. |
void |
setClasspathServletDisabled(boolean enabled)
Sets the value of the ClasspathServletDisabled attribute. |
void |
setClientCertProxyEnabled(boolean ccp)
Sets the value of the ClientCertProxyEnabled attribute. |
void |
setCluster(ClusterMBean cluster)
Sets the value of the Cluster attribute. |
void |
setClusterWeight(int weight)
Sets the value of the ClusterWeight attribute. |
void |
setCoherenceClusterSystemResource(CoherenceClusterSystemResourceMBean coherenceClusterSystemResource)
Associates the system-level Coherence cluster resource with this server. |
void |
setCOMEnabled(boolean enable)
Sets the value of the COMEnabled attribute. |
void |
setCustomIdentityKeyStoreFileName(String fileName)
Sets the value of the CustomIdentityKeyStoreFileName attribute. |
void |
setCustomIdentityKeyStorePassPhrase(String passPhrase)
Sets the value of the CustomIdentityKeyStorePassPhrase attribute. |
void |
setCustomIdentityKeyStorePassPhraseEncrypted(byte[] passPhraseEncrypted)
Sets the encrypted value of the CustomIdentityKeyStorePassPhrase attribute. |
void |
setCustomIdentityKeyStoreType(String type)
Sets the value of the CustomIdentityKeyStoreType attribute. |
void |
setCustomTrustKeyStoreFileName(String fileName)
Sets the value of the CustomTrustKeyStoreFilename attribute. |
void |
setCustomTrustKeyStorePassPhrase(String passPhrase)
Sets the value of the CustomTrustKeyStorePassPhrase attribute. |
void |
setCustomTrustKeyStorePassPhraseEncrypted(byte[] passPhraseEncrypted)
Sets the encrypted value of the CustomTrustKeyStorePassPhrase attribute. |
void |
setCustomTrustKeyStoreType(String type)
Sets the value of the CustomTrustKeyStoreType attribute. |
void |
setDefaultIIOPPassword(String password)
Sets the value of the DefaultIIOPPassword attribute. |
void |
setDefaultIIOPPasswordEncrypted(byte[] passwordEncrypted)
Sets the encrypted value of the DefaultIIOPPassword attribute. |
void |
setDefaultIIOPUser(String user)
Sets the value of the DefaultIIOPUser attribute. |
void |
setDefaultInternalServletsDisabled(boolean enabled)
Sets the value of the DefaultInternalServletsDisabled attribute. |
void |
setDefaultTGIOPPassword(String password)
Sets the value of the DefaultTGIOPPassword attribute. |
void |
setDefaultTGIOPPasswordEncrypted(byte[] passwordEncrypted)
Sets the encrypted value of the DefaultTGIOPPassword attribute. |
void |
setDefaultTGIOPUser(String user)
Sets the value of the DefaultTGIOPUser attribute. |
void |
setDomainLogFilter(DomainLogFilterMBean filter)
Sets the value of the DomainLogFilter attribute. |
void |
setEnabledForDomainLog(boolean choice)
Sets the value of the EnabledForDomainLog attribute. |
void |
setExternalDNSName(String externalDNSName)
Sets the value of the ExternalDNSName attribute. |
void |
setExtraEjbcOptions(String options)
|
void |
setExtraRmicOptions(String options)
Sets the value of ServerMBean's ExtraRmicOptions attribute. |
void |
setGracefulShutdownTimeout(int timeout)
Sets the value of the GracefulShutdownTimeout attribute. |
void |
setHealthCheckIntervalSeconds(int secs)
Sets the value of the HealthCheckIntervalSeconds attribute. |
void |
setHealthCheckStartDelaySeconds(int secs)
Sets the value of the HealthCheckStartDelaySeconds attribute. |
void |
setHealthCheckTimeoutSeconds(int secs)
Deprecated. 9.0.0.0 Replaced by Server self-health monitoring that takes action without NodeManager intervention. NodeManager identifies if a running server was shutdown due to a restartable failure and restarts the server. |
void |
setHttpdEnabled(boolean enable)
Sets the value of the HttpdEnabled attribute. |
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 value of the IgnoreSessionsDuringShutdown attribute. |
void |
setIIOPEnabled(boolean enable)
Sets the value of the IIOPEnabled attribute. |
void |
setInterfaceAddress(String address)
|
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(String javaCompiler)
Sets the value of the JavaCompiler attribute. |
void |
setJavaCompilerPostClassPath(String postClassPath)
Sets the value of the JavaCompilerPostClassPath attribute. |
void |
setJavaCompilerPreClassPath(String preClassPath)
Sets the value of the JavaCompilerPreClassPath attribute. |
void |
setJavaStandardTrustKeyStorePassPhrase(String passPhrase)
Sets the value of the JavaStandardTrustKeyStorePhrase attribute. |
void |
setJavaStandardTrustKeyStorePassPhraseEncrypted(byte[] passPhraseEncrypted)
Sets the encrypted value of the JavaStandardTrustKeyStorePhrase attribute. |
void |
setJDBCLLRTableName(String name)
Set a custom table for this server's logging last resource database table. |
void |
setJDBCLogFileName(String logFileName)
Deprecated. 9.0.0.0 |
void |
setJDBCLoggingEnabled(boolean enable)
Deprecated. 9.0.0.0 Use ServerDebugMBean.setJDBCDriverLogging |
void |
setJDBCLoginTimeoutSeconds(int timeout)
Set the JDBC Login Timeout value. |
void |
setJMSDefaultConnectionFactoriesEnabled(boolean enabled)
Sets the value of the JMSDefaultConnectionFactoriesEnabled attribute. |
void |
setJNDITransportableObjectFactoryList(String[] list)
Sets the jNDITransportableObjectFactoryList attribute of the ServerMBean object |
void |
setJRMPEnabled(boolean enable)
Sets the value of the JRMPEnabled attribute. |
void |
setKeyStores(String keystores)
Sets the value of the KeyStores attribute. |
void |
setListenAddress(String address)
Sets the value of the ListenAddress attribute. |
void |
setListenDelaySecs(int seconds)
Sets the listenDelaySecs attribute of the ServerMBean object |
void |
setListenersBindEarly(boolean value)
|
void |
setListenPort(int port)
Sets the value of the ListenPort attribute. |
void |
setListenPortEnabled(boolean enable)
|
void |
setListenThreadStartDelaySecs(int seconds)
|
void |
setLoginTimeoutMillis(int count)
Sets the value of the LoginTimeoutMillis attribute. |
void |
setLowMemoryGCThreshold(int size)
Deprecated. 12.1.1.0.0 not used anywhere in runtime (core) code |
void |
setLowMemoryGranularityLevel(int size)
Deprecated. 12.1.1.0.0 not used anywhere in runtime (core) code |
void |
setLowMemorySampleSize(int sampleSize)
Deprecated. 12.1.1.0.0 not used anywhere in runtime (core) code |
void |
setLowMemoryTimeInterval(int seconds)
Deprecated. 12.1.1.0.0 not used anywhere in runtime (core) code |
void |
setMachine(MachineMBean machine)
Sets the value of the Machine attribute. |
void |
setManagedServerIndependenceEnabled(boolean enable)
Sets the value of the ManagedServerIndependenceEnabled attribute. |
void |
setMessageIdPrefixEnabled(boolean prefix)
Sets the value of the MessageIdPrefixEnabled attribute. |
void |
setMSIFileReplicationEnabled(boolean enable)
Deprecated. |
void |
setName(String name)
Set the value of the Name attribute. |
void |
setNetworkAccessPoints(NetworkAccessPointMBean[] networkAccessPoints)
Deprecated. 9.0.0.0 Use createNetworkAccessPoint() instead. |
void |
setNMSocketCreateTimeoutInMillis(int timeout)
|
void |
setPreferredSecondaryGroup(String group)
Sets the value of the PreferredSecondaryGroup attribute. |
void |
setReliableDeliveryPolicy(WSReliableDeliveryPolicyMBean mbean)
Sets the value of the ReliableDeliveryPolicy attribute. |
void |
setReplicationGroup(String group)
Sets the value of the ReplicationGroup attribute. |
void |
setReplicationPorts(String ports)
|
void |
setRestartDelaySeconds(int secs)
Sets the value of the RestartDelaySeconds attribute. |
void |
setRestartIntervalSeconds(int secs)
Sets the value of the RestartIntervalSeconds attribute. |
void |
setRestartMax(int value)
Sets the value of the RestartMax attribute. |
void |
setServerLifeCycleTimeoutVal(int timeoutVal)
Sets the value of the ServerLifeCycleTimeoutVal attribute. |
void |
setServerVersion(String version)
Deprecated. 9.0.0.0 |
void |
setStagingMode(String staging)
Sets the value of the StagingMode attribute. |
void |
setStartupMode(String mode)
Sets the value of the StartupMode attribute. |
void |
setStartupTimeout(int timeoutVal)
Sets the timeout value for server start and resume operations. |
void |
setSystemPassword(String password)
Sets the systemPassword attribute of the ServerMBean object |
void |
setSystemPasswordEncrypted(byte[] passwordEncrypted)
Sets the encrypted systemPassword attribute of the ServerMBean object |
void |
setTGIOPEnabled(boolean enable)
Sets the value of the TGIOPEnabled attribute. |
void |
setTransactionLogFilePrefix(String pathPrefix)
Sets the value of the TransactionLogFilePrefix attribute. |
void |
setTransactionLogFileWritePolicy(String policy)
Sets the value of the TransactionLogFileWritePolicy attribute. |
void |
setTunnelingClientPingSecs(int secs)
Sets the value of the TunnelingClientPingSecs attribute. |
void |
setTunnelingClientTimeoutSecs(int secs)
Sets the value of the TunnelingClientTimeoutSecs attribute. |
void |
setTunnelingEnabled(boolean enabled)
Sets the value of the TunnelingEnabled attribute. |
void |
setUploadDirectoryName(String dir)
Sets the value of the UploadDirectoryName attribute. |
void |
setUseFusionForLLR(boolean isUseFusionForLLR)
Sets the value of the UseFusionForLLR attribute. |
void |
setVerboseEJBDeploymentEnabled(String verbose)
Deprecated. Deprecated as of 10.3.3.0 in favor of ServerDebugMBean.setDebugEjbDeployment(boolean) |
void |
setVirtualMachineName(String vmName)
|
void |
setWeblogicPluginEnabled(boolean wpe)
Sets the value of the ServerMBean's WebLogicPluginEnabled attribute. |
void |
setXMLEntityCache(XMLEntityCacheMBean cache)
Sets the value of the XMLEntityCache attribute. |
void |
setXMLRegistry(XMLRegistryMBean registry)
Sets the value of the XMLRegistry attribute. |
String |
synchronousKill()
Deprecated. 9.0.0.0 Use ServerRuntimeMBean.forceShutdown() instead |
String |
synchronousStart()
Deprecated. 9.0.0.0 Use ServerLifeCycleRuntimeMBean.start() instead. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, 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 |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, 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 |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Field Detail |
---|
static final String STAGING_NAME
static final String STAGE
static final String NO_STAGE
static final String EXTERNAL_STAGE
static final String DEFAULT_STAGE
static final String UPLOAD_DIR_NAME
static final String LOGTYPE_WL_STDOUT
static final String LOGTYPE_WL_STDERR
static final String SYNCWRITE_CACHEFLUSH
static final String SYNCWRITE_DIRECTWRITE
static final String DEFAULT_JDBC_FILE_NAME
Method Detail |
---|
MachineMBean getMachine()
The WebLogic Server host computer (machine) on which this server is meant to run.
If you want to use Node Manager to start this server, you must assign the server to a machine and you must configure the machine for Node Manager.
You cannot change this value if a server instance is already running.
void setMachine(MachineMBean machine) throws InvalidAttributeValueException
Sets the value of the Machine attribute.
machine
- The new machine value
InvalidAttributeValueException
ServerTemplateMBean.getMachine()
int getListenPort()
The default TCP port that this server uses to listen for regular (non-SSL) incoming connections.
Administrators must have the right privileges before binding to a port or else this operation will not be successful and it will render the console un-reachable.
If this port is disabled, the SSL port must be enabled. Additional ports can be configured using network channels. The cluster (multicast) port is configured separately.
ServerTemplateMBean.isListenPortEnabled()
,
ServerTemplateMBean.getAdministrationPort()
,
ServerTemplateMBean.getListenAddress()
,
ServerTemplateMBean.getCluster()
,
SSLMBean.getListenPort()
,
ClusterMBean.getMulticastPort()
,
NetworkAccessPointMBean.getListenPort()
void setListenPort(int port) throws InvalidAttributeValueException
Sets the value of the ListenPort attribute.
port
- The new listenPort value
InvalidAttributeValueException
ServerTemplateMBean.getListenPort()
boolean isListenPortEnabled()
Specifies whether this server can be reached through the default plain-text (non-SSL) listen port.
If you disable this listen port, you must enable the default SSL listen port.
You can define additional listen ports for this server by configuring network channels.
ServerTemplateMBean.getListenPort()
,
ServerTemplateMBean.isAdministrationPortEnabled()
,
KernelMBean.getSSL()
,
SSLMBean.isListenPortEnabled()
,
NetworkAccessPointMBean.isEnabled()
void setListenPortEnabled(boolean enable) throws InvalidAttributeValueException
enable
- The new listenPortEnabled value
InvalidAttributeValueException
ClusterMBean getCluster()
The cluster, or group of WebLogic Server instances, to which this server belongs.
If set, the server will listen for cluster multicast events.
ServerTemplateMBean.getClusterWeight()
,
ClusterMBean.getMulticastPort()
,
ClusterMBean.getMulticastAddress()
void setCluster(ClusterMBean cluster) throws InvalidAttributeValueException
Sets the value of the Cluster attribute.
cluster
- The new cluster value
InvalidAttributeValueException
ServerTemplateMBean.getCluster()
int getClusterWeight()
The proportion of the load that this server will bear, relative to other servers in a cluster.
If all servers have the default weight 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.
ServerTemplateMBean.getCluster()
void setClusterWeight(int weight) throws InvalidAttributeValueException
Sets the value of the ClusterWeight attribute.
weight
- The new clusterWeight value
InvalidAttributeValueException
ServerTemplateMBean.getClusterWeight()
String getReplicationGroup()
Defines preferred clustered instances considered for hosting replicas of the primary HTTP session states created on the server.
void setReplicationGroup(String group) throws InvalidAttributeValueException
Sets the value of the ReplicationGroup attribute.
group
- The new replicationGroup value
InvalidAttributeValueException
ServerTemplateMBean.getClusterWeight()
String getPreferredSecondaryGroup()
Defines secondary clustered instances considered for hosting replicas of the primary HTTP session states created on the server.
void setPreferredSecondaryGroup(String group) throws InvalidAttributeValueException
Sets the value of the PreferredSecondaryGroup attribute.
group
- The new preferredSecondaryGroup value
InvalidAttributeValueException
ServerTemplateMBean.getPreferredSecondaryGroup()
boolean isAutoMigrationEnabled()
Specifies whether Node Manager can automatically restart this server and its services on another machine if the server fails.
void setAutoMigrationEnabled(boolean enable)
Sets the value of the AutoMigrationEnabled attribute.
enable
- The new autoMigrationEnabled valueServerTemplateMBean.setAutoMigrationEnabled(boolean)
WebServerMBean getWebServer()
Returns 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.
String synchronousStart()
ServerLifeCycleRuntimeMBean.start()
instead.
Start this server. This is a blocking call. Returns String containing NodeManger log for starting the server.
String synchronousKill()
ServerRuntimeMBean.forceShutdown()
instead
Kill this server. This is a blocking call. Returns String containing NodeManger log for killing the server.
boolean isJDBCLoggingEnabled()
Specifies whether this server maintains a JDBC log file.
void setJDBCLoggingEnabled(boolean enable)
Sets the value of the JDBCLoggingEnabled attribute.
enable
- The new jDBCLoggingEnabled valueServerTemplateMBean.isJDBCLoggingEnabled()
String getJDBCLogFileName()
The name of the JDBC log file. If the pathname is not absolute, it is assumed to be relative to the root directory of the machine on which this server is running. (Requires you to enable JDBC logging.)
If the log has no path element and is atomic (for example,
jdbc.log
), the file will be placed relative to the
root directory in ./SERVER_NAME/ to avoid name space conflicts.
This attribute is deprecated because the JDBC output now
goes in the server log.
ServerTemplateMBean.isJDBCLoggingEnabled()
void setJDBCLogFileName(String logFileName) throws InvalidAttributeValueException
Sets the value of the JDBCLogFileName attribute.
logFileName
- The new jDBCLogFileName value
InvalidAttributeValueException
ServerTemplateMBean.getJDBCLogFileName()
void setJ2EE12OnlyModeEnabled(boolean enable)
Sets the j2EE12OnlyModeEnabled attribute of the ServerMBean object
enable
- The new j2EE12OnlyModeEnabled valuevoid setJ2EE13WarningEnabled(boolean enable)
Sets the j2EE13WarningEnabled attribute of the ServerMBean object
enable
- The new j2EE13WarningEnabled valueboolean isIIOPEnabled()
Specifies whether this server has IIOP support enabled for both the regular (non-SSL) and SSL ports.
ServerTemplateMBean.getListenPort()
,
SSLMBean.getListenPort()
,
KernelMBean.getSSL()
void setIIOPEnabled(boolean enable)
Sets the value of the IIOPEnabled attribute.
enable
- The new iIOPEnabled valueServerTemplateMBean.isIIOPEnabled()
String getDefaultIIOPUser()
The user name of the default IIOP user. (Requires you to enable IIOP.)
ServerTemplateMBean.isIIOPEnabled()
void setDefaultIIOPUser(String user) throws InvalidAttributeValueException
Sets the value of the DefaultIIOPUser attribute.
user
- The new defaultIIOPUser value
InvalidAttributeValueException
ServerTemplateMBean.getDefaultIIOPUser()
String getDefaultIIOPPassword()
The password for the default IIOP user. (Requires you to enable IIOP.)
As of 8.1 sp4, when you get the value of this attribute, WebLogic Server does the following:
DefaultIIOPPasswordEncrypted
attribute.Using this attribute (DefaultIIOPPassword
) 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 and the memory is reallocated. Depending on how
memory is allocated in the JVM, a significant amount of time could pass
before this unencrypted data is removed from memory.
Instead of using this attribute, use DefaultIIOPPasswordEncrypted
.
ServerTemplateMBean.isIIOPEnabled()
,
ServerTemplateMBean.getDefaultIIOPPasswordEncrypted()
void setDefaultIIOPPassword(String password) throws InvalidAttributeValueException
Sets the value of the DefaultIIOPPassword attribute.
password
- The new defaultIIOPPassword value
InvalidAttributeValueException
ServerTemplateMBean.getDefaultIIOPPassword()
byte[] getDefaultIIOPPasswordEncrypted()
The encrypted password for the default IIOP user.
To set this attribute, use weblogic.management.EncryptionHelper.encrypt()
to encrypt the value. Then set this attribute to the output of the encrypt() method.
To compare a password that a user enters with the encrypted
value of this attribute, go to the same WebLogic Server instance
that you used to set and encrypt this attribute
and use weblogic.management.EncryptionHelper.encrypt()
to encrypt the user-supplied password. Then compare the encrypted values.
void setDefaultIIOPPasswordEncrypted(byte[] passwordEncrypted)
Sets the encrypted value of the DefaultIIOPPassword attribute.
passwordEncrypted
- The new encrypted valueboolean isTGIOPEnabled()
Specifies whether this server supports Tuxedo GIOP (TGIOP) requests. (Requires you to configure WebLogic Tuxedo Connector (WTC) for this server.)
void setTGIOPEnabled(boolean enable)
Sets the value of the TGIOPEnabled attribute.
enable
- The new TGIOPEnabled valueServerTemplateMBean.isTGIOPEnabled()
String getDefaultTGIOPUser()
The default user associated with the Tuxedo GIOP (TGIOP) protocol. (Requires you to configure WebLogic Tuxedo Connector (WTC) for this server.)
void setDefaultTGIOPUser(String user) throws InvalidAttributeValueException
Sets the value of the DefaultTGIOPUser attribute.
user
- The new defaultTGIOPUser value
InvalidAttributeValueException
ServerTemplateMBean.getDefaultTGIOPUser()
String getDefaultTGIOPPassword()
The password for the default user associated with the Tuxedo GIOP (TGIOP) protocol. (Requires you to configure WebLogic Tuxedo Connector (WTC) for this server.)
As of 8.1 sp4, when you get the value of this attribute, WebLogic Server does the following:
DefaultTGIOPPasswordEncrypted
attribute.When you set the value of this attribute, WebLogic Server does the following:
DefaultTGIOPPasswordEncrypted
attribute to the
encrypted value.Using this attribute (DefaultTGIOPPassword
) is a potential security risk
in because the String object (which contains the unencrypted password) remains
the JVM's memory until garbage collection removes it and the memory is reallocated. Depending on how
memory is allocated in the JVM, a significant amount of time could pass
before this unencrypted data is removed from memory.
Instead of using this attribute, use DefaultTGIOPPasswordEncrypted
.
ServerTemplateMBean.getDefaultTGIOPPasswordEncrypted()
void setDefaultTGIOPPassword(String password) throws InvalidAttributeValueException
Sets the value of the DefaultTGIOPPassword attribute.
password
- The new defaultTGIOPPassword value
InvalidAttributeValueException
ServerTemplateMBean.getDefaultTGIOPPassword()
byte[] getDefaultTGIOPPasswordEncrypted()
The encrypted password for the default TGIOP user.
To set this attribute, use weblogic.management.EncryptionHelper.encrypt()
to encrypt the value. Then set this attribute to the output of the encrypt() method.
To compare a password that a user enters with the encrypted
value of this attribute, go to the same WebLogic Server instance
that you used to set and encrypt this attribute
and use weblogic.management.EncryptionHelper.encrypt()
to encrypt the user-supplied password. Then compare the encrypted values.
void setDefaultTGIOPPasswordEncrypted(byte[] passwordEncrypted)
Sets the encrypted value of the DefaultTGIOPPassword attribute.
passwordEncrypted
- The new encrypted defaultTGIOPPassword valueboolean isCOMEnabled()
Specifies whether COM support is enabled on the regular (non-SSL) port. COM is not supported on the SSL port. (The remaining fields on this page are relevant only if you check this box.)
ServerTemplateMBean.getListenPort()
void setCOMEnabled(boolean enable)
Sets the value of the COMEnabled attribute.
enable
- The new cOMEnabled valueServerTemplateMBean.isCOMEnabled()
void setJRMPEnabled(boolean enable)
Sets the value of the JRMPEnabled attribute.
enable
- The new JRMPEnabled valueServerTemplateMBean.isJRMPEnabled()
COMMBean getCOM()
Returns the server's COM configuration.
ServerDebugMBean getServerDebug()
The debug setting for this server.
boolean isHttpdEnabled()
Whether or not HTTP support is enabled on the regular port or SSL port.
ServerTemplateMBean.getListenPort()
,
ServerTemplateMBean.isTunnelingEnabled()
,
SSLMBean.getListenPort()
,
KernelMBean.getSSL()
void setHttpdEnabled(boolean enable)
Sets the value of the HttpdEnabled attribute.
enable
- The new httpdEnabled valueServerTemplateMBean.isHttpdEnabled()
,
ServerTemplateMBean.isHttpdEnabled()
void setSystemPassword(String password) throws InvalidAttributeValueException
Sets the systemPassword attribute of the ServerMBean object
password
- The new systemPassword value
InvalidAttributeValueException
byte[] getSystemPasswordEncrypted()
The password required to access administrative functions on this server.
To set this attribute, use weblogic.management.EncryptionHelper.encrypt()
to encrypt the value. Then set this attribute to the output of the encrypt() method.
To compare a password that a user enters with the encrypted
value of this attribute, go to the same WebLogic Server instance
that you used to set and encrypt this attribute
and use weblogic.management.EncryptionHelper.encrypt()
to encrypt the user-supplied password. Then compare the encrypted values.
void setSystemPasswordEncrypted(byte[] passwordEncrypted)
Sets the encrypted systemPassword attribute of the ServerMBean object
passwordEncrypted
- The new encrypted systemPassword valueint getListenThreadStartDelaySecs()
Returns the maximum time that the server will wait for server sockets to bind before starting a listen thread.
Properties to consider for removal
void setListenThreadStartDelaySecs(int seconds) throws InvalidAttributeValueException
seconds
- The new listenThreadStartDelaySecs value
InvalidAttributeValueException
boolean getListenersBindEarly()
Determines whether the server should bind server sockets early.
Early binding detects port conflicts quickly and also gives user feedback on the default listen port as to the server state.
void setListenersBindEarly(boolean value) throws InvalidAttributeValueException
value
- The new listenersBinarly value
InvalidAttributeValueException
String getListenAddress()
The IP address or DNS name this server uses to listen for incoming connections.
Servers can be reached through the following URL:
protocol://listen-address:listen-port
Any network channel that you configure for this server can override this listen address.
If a server's listen address is undefined, clients can reach the server through an IP address of the computer that hosts the server, a DNS name that resolves to the host, or the localhost string. The localhost string can be used only for requests from clients that are running on the same computer as the server.
If you want to limit the valid addresses for a server instance, specify one of the following:
IP address. If you provide an IP address, clients can specify either the IP address or a DNS name that maps to the IP address. Clients that specify an IP address and attempt to connect through an SSL port must disable hostname verification.
DNS name. If you provide a DNS name, clients can specify either the DNS name or the corresponding IP address.
Do not leave the listen address undefined on a computer that uses multiple IP address (a multihomed computer). On such a computer, the server will bind to all available IP addresses.
To resolve a DNS name to an IP address, WebLogic Server must be able to contact an appropriate DNS server or obtain the IP address mapping locally. Therefore, if you specify a DNS name for the listen address, you must either leave a port open long enough for the WebLogic Server instance to connect to a DNS server and cache its mapping or you must specify the IP address mapping in a local file. If you specify an IP address for ListenAddress and then a client request specifies a DNS name, WebLogic Server will attempt to resolve the DNS name, but if it cannot access DNS name mapping, the request fails.
Note also that if you are using the demo certificates in a multi-server domain, Managed Server instances will fail to boot if you specify the fully-qualified DNS name. For information about this limitation and suggested workarounds, see "Limitation on CertGen Usage" in Administering Security for Oracle WebLogic Server.
ServerTemplateMBean.getExternalDNSName()
,
ServerTemplateMBean.getListenPort()
,
ServerTemplateMBean.getInterfaceAddress()
,
SSLMBean.getListenPort()
,
KernelMBean.getSSL()
,
NetworkAccessPointMBean.getListenAddress()
void setListenAddress(String address) throws InvalidAttributeValueException
Sets the value of the ListenAddress attribute.
address
- The new listenAddress value
InvalidAttributeValueException
ServerTemplateMBean.getListenAddress()
String getExternalDNSName()
The external IP address or DNS name for this server.
This address will be sent with HTTP session cookies and with dynamic server lists to HTTP proxies. It will also be used by external application clients to enable the propagation of RMI traffic through network address translating (NAT) firewalls.
You must specify an external DNS name for configurations in which a firewall is performing network address translation, unless clients are accessing WebLogic Server using t3 and the default channel. For example, define the external DNS name for configurations in which a firewall is performing network address translation, and clients are accessing WebLogic Server using HTTP via a proxy plug-in.
ServerTemplateMBean.getListenAddress()
,
NetworkAccessPointMBean.getExternalDNSName()
void setExternalDNSName(String externalDNSName) throws InvalidAttributeValueException
Sets the value of the ExternalDNSName attribute.
externalDNSName
- The new externalDNSName value
InvalidAttributeValueException
ServerTemplateMBean.getExternalDNSName()
String getInterfaceAddress()
The IP address of the NIC that this server should use for multicast traffic.
ServerTemplateMBean.getCluster()
,
ServerTemplateMBean.setInterfaceAddress(java.lang.String)
,
ClusterMBean.getMulticastAddress()
void setInterfaceAddress(String address) throws InvalidAttributeValueException
address
- The new interfaceAddress value
InvalidAttributeValueException
IllegalArgumentException
- if the argument is not a
well-formed IP address.NetworkAccessPointMBean[] getNetworkAccessPoints()
Network access points, or "NAPs", define additional ports and addresses that this server listens on. Additionally, if two servers both support the same channel for a given protocol, then new connections between them will use that channel.
NetworkAccessPointMBean lookupNetworkAccessPoint(String name)
Look up an NetworkAccessPoint by name
name
- the key of the network access point.
NetworkAccessPointMBean createNetworkAccessPoint(String name)
Factory to create a new NetworkAccessPoint instance for this Server.
name
-
void destroyNetworkAccessPoint(NetworkAccessPointMBean accessPoint)
Destroys a NetworkAccessPoint object.
accessPoint
- to be destroyedvoid setNetworkAccessPoints(NetworkAccessPointMBean[] networkAccessPoints) throws InvalidAttributeValueException, ConfigurationException
networkAccessPoints
- The new networkAccessPoints value
InvalidAttributeValueException
ConfigurationException
ServerTemplateMBean.getNetworkAccessPoints()
boolean addNetworkAccessPoint(NetworkAccessPointMBean networkAccessPoint) throws InvalidAttributeValueException, ConfigurationException
networkAccessPoint
- The feature to be added to the NetworkAccessPoint attribute
InvalidAttributeValueException
ConfigurationException
ServerTemplateMBean.getNetworkAccessPoints()
boolean removeNetworkAccessPoint(NetworkAccessPointMBean networkAccessPoint) throws InvalidAttributeValueException, ConfigurationException
networkAccessPoint
-
InvalidAttributeValueException
ConfigurationException
ServerTemplateMBean.getNetworkAccessPoints()
int getAcceptBacklog()
The number of backlogged, new TCP connection requests that should be allowed for this server's regular and SSL ports.
Setting the backlog to 0
may prevent this server
from accepting any incoming connection on some operating
systems.
ServerTemplateMBean.getListenPort()
,
ServerTemplateMBean.getAcceptBacklog()
,
NetworkAccessPointMBean.getAcceptBacklog()
void setAcceptBacklog(int count) throws InvalidAttributeValueException
Sets the value of the AcceptBacklog attribute.
count
- The new acceptBacklog value
InvalidAttributeValueException
ServerTemplateMBean.getAcceptBacklog()
int getLoginTimeoutMillis()
The login timeout for this server's default regular (non-SSL) listen port. This is the maximum amount of time allowed for a new connection to establish.
A value of 0
indicates there is no maximum.
SSLMBean.getLoginTimeoutMillis()
,
KernelMBean.getSSL()
,
NetworkAccessPointMBean.getLoginTimeoutMillis()
void setLoginTimeoutMillis(int count) throws InvalidAttributeValueException
Sets the value of the LoginTimeoutMillis attribute.
count
- The new loginTimeoutMillis value
InvalidAttributeValueException
ServerTemplateMBean.getLoginTimeoutMillis()
int getAdministrationPort()
The secure administration port for the server. This port requires that you enable the domain's administration port and that SSL is configured and enabled.
By default, the server uses the administration port that is specified at the domain level. To override the domain-level administration port for the current server instance, set this server's administration port.
DomainMBean.isAdministrationPortEnabled()
,
DomainMBean.getAdministrationPort()
,
KernelMBean.getSSL()
void setAdministrationPort(int port) throws InvalidAttributeValueException
Sets the value of the ServerMBean's AdministrationPort attribute.
port
- The new administrationPort value
InvalidAttributeValueException
ServerTemplateMBean.getAdministrationPort()
String[] getJNDITransportableObjectFactoryList()
List of factories that create transportable objects.
void setJNDITransportableObjectFactoryList(String[] list) throws InvalidAttributeValueException
Sets the jNDITransportableObjectFactoryList attribute of the ServerMBean object
list
- The new jNDITransportableObjectFactoryList value
InvalidAttributeValueException
XMLRegistryMBean getXMLRegistry()
The server's XML registry, which is used to configure the behavior of JAXP (Java API for XML Parsing).
XMLRegistryMBean
void setXMLEntityCache(XMLEntityCacheMBean cache) throws InvalidAttributeValueException
Sets the value of the XMLEntityCache attribute.
cache
- The new xMLEntityCache value
InvalidAttributeValueException
ServerTemplateMBean.getXMLEntityCache()
XMLEntityCacheMBean getXMLEntityCache()
The server's XML entity cache, which is used to configure the behavior of JAXP (Java API for XML Parsing).
XMLEntityCacheMBean
void setXMLRegistry(XMLRegistryMBean registry) throws InvalidAttributeValueException
Sets the value of the XMLRegistry attribute.
registry
- The new xMLRegistry value
InvalidAttributeValueException
ServerTemplateMBean.getXMLRegistry()
String getJavaCompiler()
The Java compiler to use for all applications hosted on this server that need to compile Java code.
void setJavaCompiler(String javaCompiler) throws InvalidAttributeValueException
Sets the value of the JavaCompiler attribute.
javaCompiler
- The new javaCompiler value
InvalidAttributeValueException
ServerTemplateMBean.getJavaCompiler()
String getJavaCompilerPreClassPath()
The options to prepend to the Java compiler classpath when compiling Java code.
void setJavaCompilerPreClassPath(String preClassPath) throws InvalidAttributeValueException
Sets the value of the JavaCompilerPreClassPath attribute.
preClassPath
- The new javaCompilerPreClassPath value
InvalidAttributeValueException
ServerTemplateMBean.getJavaCompilerPreClassPath()
String getJavaCompilerPostClassPath()
The options to append to the Java compiler classpath when compiling Java code.
void setJavaCompilerPostClassPath(String postClassPath) throws InvalidAttributeValueException
Sets the value of the JavaCompilerPostClassPath attribute.
postClassPath
- The new javaCompilerPostClassPath value
InvalidAttributeValueException
ServerTemplateMBean.getJavaCompilerPostClassPath()
String getExtraRmicOptions()
The options passed to the RMIC compiler during server-side generation.
Each EJB component can override the compiler options that you specify here.
EJBContainerMBean.getExtraRmicOptions()
void setExtraRmicOptions(String options) throws InvalidAttributeValueException
Sets the value of ServerMBean's ExtraRmicOptions attribute.
options
- The new extraRmicOptions value
InvalidAttributeValueException
ServerTemplateMBean.getExtraRmicOptions()
String getExtraEjbcOptions()
The options passed to the EJB compiler during server-side generation.
Each EJB component can override the compiler options that you specify here. The following options are valid:
EJBContainerMBean.getExtraEjbcOptions()
void setExtraEjbcOptions(String options) throws InvalidAttributeValueException
InvalidAttributeValueException
String getVerboseEJBDeploymentEnabled()
ServerDebugMBean.getDebugEjbDeployment()
Whether or not verbose deployment of EJBs is enabled.
void setVerboseEJBDeploymentEnabled(String verbose)
ServerDebugMBean.setDebugEjbDeployment(boolean)
Sets the verboseEJBDeploymentEnabled attribute of the ServerMBean object
verbose
- The new verboseEJBDeploymentEnabled valueString getTransactionLogFilePrefix()
The path prefix for the server's JTA transaction log files. If the pathname is not absolute, the path is assumed to be relative to the server's root directory.
For a clustered server, if you plan to be able to migrate the Transaction Recovery Service from this server if it fails to another server (backup server) in the same cluster, you must store transaction log files on persistent storage, such as a Storage Area Network (SAN) device or a dual-ported disk, available to both servers.
Do not use an NFS file system to store transaction log files. Because of the caching scheme in NFS, transaction log files on disk may not always be current. Using transaction log files stored on an NFS device for recovery may cause data corruption.
void setTransactionLogFilePrefix(String pathPrefix) throws InvalidAttributeValueException
Sets the value of the TransactionLogFilePrefix attribute.
pathPrefix
- The new transactionLogFilePrefix value
InvalidAttributeValueException
ServerTemplateMBean.getTransactionLogFilePrefix()
String getTransactionLogFileWritePolicy()
The policy that determines how transaction log file entries are written to disk. This policy can affect transaction performance. (Note: To be transactionally safe, the Direct-Write policy may require additional OS or environment changes on some Windows systems.)
WebLogic Server supports the following policies:
Cache-Flush. Flushes operating system and on-disk caches after each write.
Direct-Write. Tells the operating system to write directly to disk with each write. Direct-Write performs better than Cache-Flush.
If Direct-Write is not supported on the host platform, the policy becomes Cache-Flush and a log message is printed.
Note: On Windows, the "Direct-Write" policy may leave transaction data in the on-disk cache without writing it to disk immediately. This is not transactionally safe because a power failure can cause loss of on-disk cache data. For transactionally safe writes using "Direct-Write" on Windows, either disable all write caching for the disk (enabled by default), or use a disk with a battery-backed cache.
The on-disk cache for a hard-drive on Windows can be disabled through system administration: Control-Panel -> System -> Hardware-tab -> Device-Manager-button -> Disk-Drives -> name-of-drive -> Policies-tab -> "Enable write caching on the disk" check-box. Some file systems do not allow this value to be changed. For example, a RAID system that has a reliable cache.
void setTransactionLogFileWritePolicy(String policy) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the TransactionLogFileWritePolicy attribute.
policy
- The new transactionLogFileWritePolicy value
InvalidAttributeValueException
DistributedManagementException
ServerTemplateMBean.getTransactionLogFileWritePolicy()
boolean isEnabledForDomainLog()
Determines whether this server sends messages to the domain log (in addition to keeping its own log).
void setEnabledForDomainLog(boolean choice) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the EnabledForDomainLog attribute.
choice
- The new enabledForDomainLog value
InvalidAttributeValueException
DistributedManagementException
ServerTemplateMBean.isEnabledForDomainLog()
DomainLogFilterMBean getDomainLogFilter()
Determines which messages this server sends to the domain log. (Requires you to enable domain logging for this server.)
If you specify none
, the server sends all messages of severity
WARNING
and higher. This list contains all Domain Log Filters
that have been defined for the domain. A server can user only one Domain
Log Filter.
void setDomainLogFilter(DomainLogFilterMBean filter) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the DomainLogFilter attribute.
filter
- The new domainLogFilter value
InvalidAttributeValueException
DistributedManagementException
ServerTemplateMBean.getDomainLogFilter()
boolean isTunnelingEnabled()
Specifies whether tunneling for the T3, T3S, HTTP, HTTPS, IIOP, and IIOPS protocols should be enabled for this server.
If you create network channels for this server, each channel can override this setting.
ServerTemplateMBean.isHttpdEnabled()
,
NetworkAccessPointMBean.isTunnelingEnabled()
void setTunnelingEnabled(boolean enabled) throws DistributedManagementException
Sets the value of the TunnelingEnabled attribute.
enabled
- The new tunnelingEnabled value
DistributedManagementException
ServerTemplateMBean.isTunnelingEnabled()
int getTunnelingClientPingSecs()
The interval (in seconds) at which to ping a tunneled client to see if it is still alive.
If you create network channels for this server, each channel can override this setting.
NetworkAccessPointMBean.getTunnelingClientPingSecs()
void setTunnelingClientPingSecs(int secs) throws InvalidAttributeValueException
Sets the value of the TunnelingClientPingSecs attribute.
secs
- The new tunnelingClientPingSecs value
InvalidAttributeValueException
ServerTemplateMBean.getTunnelingClientPingSecs()
int getTunnelingClientTimeoutSecs()
The amount of time (in seconds) after which a missing tunneled client is considered dead.
If you create network channels for this server, each channel can override this setting.
NetworkAccessPointMBean.getTunnelingClientTimeoutSecs()
void setTunnelingClientTimeoutSecs(int secs) throws InvalidAttributeValueException
Sets the value of the TunnelingClientTimeoutSecs attribute.
secs
- The new tunnelingClientTimeoutSecs value
InvalidAttributeValueException
ServerTemplateMBean.getTunnelingClientTimeoutSecs()
int getAdminReconnectIntervalSeconds()
The number of seconds between reconnection attempts to the admin server. When the admin server fails the managed server will periodically try to connect back to it.
void setAdminReconnectIntervalSeconds(int secs) throws InvalidAttributeValueException
Sets the value of the AdminReconnectIntervalSeconds attribute.
secs
- The new restartIntervalSeconds value
InvalidAttributeValueException
ServerTemplateMBean.getAdminReconnectIntervalSeconds()
boolean isJMSDefaultConnectionFactoriesEnabled()
Specifies whether this server uses JMS default connection factories.
WebLogic Server provides the following JMS default connection factories:
weblogic.jms.ConnectionFactory
weblogic.jms.XAConnectionFactory
An XA factory is required for JMS applications to use JTA user-transactions,
but is not required for transacted sessions.
All other preconfigured attributes for the default connection factories are set
to the same default values as a user-defined connection factory.
If the preconfigured settings of the default factories are appropriate
for your application, you do not need to configure any additional factories
for your application.
Note: When using the default connection factories, you have no control over targeting the WebLogic Server instances where the connection factory may be deployed. However, you can disable the default connection factories on a per-server basis. To deploy a connection factory on independent servers, on specific servers within a cluster, or on an entire cluster, you need to configure a connection factory and specify the appropriate server targets.
void setJMSDefaultConnectionFactoriesEnabled(boolean enabled) throws DistributedManagementException
Sets the value of the JMSDefaultConnectionFactoriesEnabled attribute.
enabled
- The new jMSDefaultConnectionFactoriesEnabled value
DistributedManagementException
ServerTemplateMBean.isJMSDefaultConnectionFactoriesEnabled()
void setName(String name) throws InvalidAttributeValueException, ManagementException
Set the value of the Name attribute.
setName
in interface ConfigurationMBean
name
- The new name value
InvalidAttributeValueException
ManagementException
ServerTemplateMBean.getName()
String getName()
An alphanumeric name for this server instance. (Spaces are not valid.)
The name must be unique for all configuration objects in the domain. Within a domain, each server, machine, cluster, JDBC connection pool, virtual host, and any other resource type must be named uniquely and must not use the same name as the domain.
The server name is not used as part of the URL for applications that are deployed on the server. It is for your identification purposes only. The server name displays in the Administration Console, and if you use WebLogic Server command-line utilities or APIs, you use this name to identify the server.
After you have created a server, you cannot change its name. Instead, clone the server and provide a new name for the clone.
getName
in interface ConfigurationMBean
getName
in interface WebLogicMBean
ServerStartMBean getServerStart()
Returns the ServerStartMBean that can be used to start up this server remotely.
int getListenDelaySecs()
Perpetuated for compatibility with 6.1 only.
void setListenDelaySecs(int seconds)
Sets the listenDelaySecs attribute of the ServerMBean object
seconds
- The new listenDelaySecs valueJTAMigratableTargetMBean getJTAMigratableTarget()
Returns the JTAMigratableTargetMBean that is used to deploy the JTA Recovery Service to (is the server's cluster is not null).
int getLowMemoryTimeInterval()
The amount of time (in seconds) that defines the interval over which this server determines average free memory values.
By default, the server obtains an average free memory value every 3600 seconds. This interval is not used if the JRockit VM is used, as the memory samples are collected immediately after a VM-scheduled garbage collection. Taking memory samples after a garbage collection gives a more accurate average value of the free memory.
void setLowMemoryTimeInterval(int seconds) throws InvalidAttributeValueException
Sets the value of the LowMemoryTimeInterval attribute.
seconds
- The new lowMemoryTimeInterval value
InvalidAttributeValueException
ServerTemplateMBean.getLowMemoryTimeInterval()
int getLowMemorySampleSize()
The number of times this server samples free memory during the time period specified by LowMemoryTimeInterval.
Increasing the sample size can improve the accuracy of the reading.
void setLowMemorySampleSize(int sampleSize)
Sets the value of the LowMemorySampleSize attribute.
sampleSize
- The new lowMemorySampleSize valueServerTemplateMBean.getLowMemorySampleSize()
int getLowMemoryGranularityLevel()
The granularity level (in percent) that this server uses for logging low memory conditions and changing the server health state to Warning.
For example, if you specify 5 and the average free memory drops by 5% or more over two measured intervals, the server logs a low memory warning in the log file and changes the server health state to Warning.
void setLowMemoryGranularityLevel(int size)
Sets the value of the LowMemoryGranularityLevel attribute.
size
- The new lowMemoryGranularityLevel valueServerTemplateMBean.getLowMemoryGranularityLevel()
int getLowMemoryGCThreshold()
The threshold level (in percent) that this server uses for logging low memory conditions and changing the server health state to Warning.
For example, if you specify 5, the server logs a low memory warning in the log file and changes the server health state to Warning after the average free memory reaches 5% of the initial free memory measured at the server's boot time.
void setLowMemoryGCThreshold(int size)
Sets the value of the LowMemoryGCThreshold attribute.
size
- The new lowMemoryGCThreshold valueServerTemplateMBean.getLowMemoryGCThreshold()
String getStagingDirectoryName()
The directory path on the Managed Server where all staged (prepared) applications are placed.
If an absolute directory name is not specified, the path is relative to the root directory "/". Once configured, you cannot change the staging directory name. Remove all applications from the server prior to changing this attribute. The default staging directory is "stage", relative to the server root.
String getUploadDirectoryName()
The directory path on the Administration Server where all uploaded applications are placed.
If an absolute directory name is not specified, the path is relative to the root directory "/". The default staging directory is "stage", relative to the server root. On the Managed Server this returns null, and is not configurable.
void setUploadDirectoryName(String dir)
Sets the value of the UploadDirectoryName attribute.
dir
- The new uploadDirectoryName valueServerTemplateMBean.getUploadDirectoryName()
String getStagingMode()
The mode that specifies whether an application's files are copied from a source on the Administration Server to the Managed Server's staging area during application preparation.
During application preparation, the application's files are
copied from the source on the Administration Server to the Managed
Server's staging area. If you specify nostage
or
external_stage
, the copy will not occur. This is
useful when the staging area is a shared directory, already
containing the application files, or if this is a single server
domain. The administrator must ensure that the Managed Server's
staging directory is set appropriately. Deployment errors will
result if the application is not available during the preparation
or activation of the application. Each application can override the
staging mode specified here.
ApplicationMBean.getStagingMode()
void setStagingMode(String staging)
Sets the value of the StagingMode attribute.
staging
- The new stagingMode valueServerTemplateMBean.getStagingMode()
boolean getAutoRestart()
Specifies whether the Node Manager can automatically restart this server if it crashes or otherwise goes down unexpectedly.
void setAutoRestart(boolean enable)
Sets the value of the AutoRestart attribute.
enable
- The new autoRestart valueServerTemplateMBean.getAutoRestart()
boolean getAutoKillIfFailed()
Specifies whether the Node Manager should automatically kill
this server if its health state is failed
.
void setAutoKillIfFailed(boolean enable)
Sets the value of the AutoKillIfFailed attribute.
enable
- The new autoKillIfFailed valueServerTemplateMBean.getAutoKillIfFailed()
int getRestartIntervalSeconds()
The number of seconds during which this server can be restarted, up to the number of times specified in RestartMax.
ServerTemplateMBean.getRestartMax()
void setRestartIntervalSeconds(int secs) throws InvalidAttributeValueException
Sets the value of the RestartIntervalSeconds attribute.
secs
- The new restartIntervalSeconds value
InvalidAttributeValueException
ServerTemplateMBean.getRestartIntervalSeconds()
int getRestartMax()
The number of times that the Node Manager can restart this server within the interval specified in RestartIntervalSeconds.
void setRestartMax(int value) throws InvalidAttributeValueException
Sets the value of the RestartMax attribute.
value
- The new restartMax value
InvalidAttributeValueException
ServerTemplateMBean.getRestartMax()
int getHealthCheckIntervalSeconds()
The number of seconds that defines the frequency of this server's self-health monitoring. The server monitors the health of it's subsystems every HealthCheckIntervalSeconds and changes the Server's overall state if required.
void setHealthCheckIntervalSeconds(int secs) throws InvalidAttributeValueException
Sets the value of the HealthCheckIntervalSeconds attribute.
secs
- The new healthCheckIntervalSeconds value
InvalidAttributeValueException
ServerTemplateMBean.getHealthCheckIntervalSeconds()
int getHealthCheckTimeoutSeconds()
The number of seconds the Node Manager should wait before timing out its health query to this server.
If the timeout is reached, Node Managed assumes the Managed Server has failed.
void setHealthCheckTimeoutSeconds(int secs) throws InvalidAttributeValueException
Sets the value of the HealthCheckTimeoutSeconds attribute.
secs
- The new healthCheckTimeoutSeconds value
InvalidAttributeValueException
ServerTemplateMBean.getHealthCheckTimeoutSeconds()
void setHealthCheckStartDelaySeconds(int secs) throws InvalidAttributeValueException
Sets the value of the HealthCheckStartDelaySeconds attribute.
secs
- The new healthCheckStartDelaySeconds value
InvalidAttributeValueException
ServerTemplateMBean.getHealthCheckStartDelaySeconds()
int getRestartDelaySeconds()
The number of seconds the Node Manager should wait before restarting this server.
After killing a server process, the system might need several seconds to release the TCP port(s) the server was using. If Node Manager attempts to restart the Managed Server while its ports are still active, the startup attempt fails.
If AutoMigration is enabled and RestartDelaySeconds is 0, the RestartDelaySeconds is automatically set to the lease time. This prevents the server from failing to restart after migration when the previous lease is still valid.
void setRestartDelaySeconds(int secs) throws InvalidAttributeValueException
Sets the value of the RestartDelaySeconds attribute.
secs
- The new restartDelaySeconds value
InvalidAttributeValueException
ServerTemplateMBean.getRestartDelaySeconds()
void setClasspathServletDisabled(boolean enabled)
Sets the value of the ClasspathServletDisabled attribute.
enabled
- The new classpathServletDisabled valueServerTemplateMBean.isClasspathServletDisabled()
boolean isClasspathServletDisabled()
The ClasspathServlet will serve any class file in the classpath and is registered by default in every Web application (including management). It does not need to be turned on for many applications though, and represents a security hole if unchecked.
void setDefaultInternalServletsDisabled(boolean enabled)
Sets the value of the DefaultInternalServletsDisabled attribute.
enabled
- The new defaultInternalServletsDisabled valueServerTemplateMBean.isDefaultInternalServletsDisabled()
boolean isDefaultInternalServletsDisabled()
Specifies whether all default servlets in the servlet engine are disabled.
This includes: weblogic.servlet.ClasspathServlet weblogic.servlet.utils.iiop.GetIORServlet weblogic.rjvm.http.TunnelSendServlet weblogic.rjvm.http.TunnelRecvServlet weblogic.rjvm.http.TunnelLoginServlet weblogic.rjvm.http.TunnelCloseServlet If set to true, this property overrides the ClasspathServletDisabled property.
String getServerVersion()
The release identifier for the server. Since this is a configured attribute it is only as accurate as the configuration. The form of the version is major.minor.servicepack.rollingpatch. Not all parts of the version are required. i.e. "7" is acceptable.
void setServerVersion(String version)
Sets the value of the ServerVersion attribute.
version
- The new serverVersion valueServerTemplateMBean.getServerVersion()
void setStartupMode(String mode)
Sets the value of the StartupMode attribute.
mode
- The new startupMode valueServerTemplateMBean.getStartupMode()
String getStartupMode()
The state in which this server should be started. If you specify STANDBY, you must also enable the domain-wide administration port.
In the RUNNING
state, a server offers its services
to clients and can operate as a full member of a cluster. In the
ADMIN
state, the server is up and running,
but available only for administration operations, allowing you to
perform server and application-level administration tasks without
risk to running applications.
In the STANDBY
state, a server instance does not process
any request; its regular Listen Port is closed. The Administration Port is open.
It only accepts life cycle commands that transition the server instance to either
the RUNNING
or the SHUTDOWN
state. Other Administration requests are not accepted.
A STANDBY
server's only purpose is to resume into the RUNNING
state quickly;
it saves server startup time.
void setServerLifeCycleTimeoutVal(int timeoutVal)
Sets the value of the ServerLifeCycleTimeoutVal attribute.
timeoutVal
- The new serverLifeCycleTimeoutVal valueint getServerLifeCycleTimeoutVal()
Number of seconds a force shutdown operation waits before timing
out and killing itself. If the operation does not complete within
the configured timeout seconds, the server will shutdown
automatically if the state of the server at that time was
SHUTTING_DOWN
.
A value of 0
means that the server will wait
indefinitely for life cycle operation to complete.
void setGracefulShutdownTimeout(int timeout)
Sets the value of the GracefulShutdownTimeout attribute.
timeout
- The new gracefulShutdownTimeout valueServerTemplateMBean.getGracefulShutdownTimeout()
void setStartupTimeout(int timeoutVal)
Sets the timeout value for server start and resume operations. If the server fails to start in the timeout period, it will force shutdown.
int getStartupTimeout()
Timeout value for server start and resume operations. If the server fails to start in the timeout period, it will force shutdown.
A value of 0
means that the server will wait
indefinitely for the operation to complete.
int getGracefulShutdownTimeout()
Number of seconds a graceful shutdown operation waits before forcing a shut down. A graceful shutdown gives WebLogic Server subsystems time to complete certain application processing currently in progress. If subsystems are unable to complete processing within the number of seconds that you specify here, then the server will force shutdown automatically.
A value of 0
means that the server will wait
indefinitely for graceful shutdown to complete.
The graceful shutdown timeout applies only to graceful shutdown operations.
ServerTemplateMBean.getServerLifeCycleTimeoutVal()
boolean isIgnoreSessionsDuringShutdown()
Indicates whether a graceful shutdown operation drops all HTTP sessions immediately.
If this is set to false
, a
graceful shutdown operation waits for HTTP sessions to complete or
timeout.
void setIgnoreSessionsDuringShutdown(boolean ignoreSessions)
Sets the value of the IgnoreSessionsDuringShutdown attribute.
ignoreSessions
- The new ignoreSessionsDuringShutdown valueServerTemplateMBean.isIgnoreSessionsDuringShutdown()
boolean isManagedServerIndependenceEnabled()
Specifies whether this Managed Server can be started when the Administration Server is unavailable.
In such a case, the Managed Server retrieves its configuration by reading a configuration file and other files directly.
void setManagedServerIndependenceEnabled(boolean enable)
Sets the value of the ManagedServerIndependenceEnabled attribute.
enable
- The new managedServerIndependenceEnabled valueServerTemplateMBean.isManagedServerIndependenceEnabled()
boolean isMSIFileReplicationEnabled()
Specifies whether the Administration Server replicates its configuration files to this Managed Server.
With file replication enabled, the Administration Server copies
its configuration file and SerializedSystemIni.dat
into the Managed Server's root directory every 5 minutes. This
option does not replicate a boot identity file.
Regardless of the name of the configuration file that you used
to start the Administration Server, the replicated file is always
named msi-config.xml
. For example, if you specified
-Dweblogic.ConfigFile=MyConfig.xml
when you started
the Administration Server, if you have enabled file replication,
the Administration Server copies MyConfig.xml
and
names the copy msi-config.xml
.
Depending on your backup schemes and the frequency with which you update your domain's configuration, this option might not be worth the performance cost of copying potentially large files across a network.
void setMSIFileReplicationEnabled(boolean enable)
Sets the value of the MSIFileReplicationEnabled attribute.
enable
- The new mSIFileReplicationEnabled valueServerTemplateMBean.isMSIFileReplicationEnabled()
void setClientCertProxyEnabled(boolean ccp)
Sets the value of the ClientCertProxyEnabled attribute.
ccp
- The new clientCertProxyEnabled valueWebAppContainerMBean.setClientCertProxyEnabled(boolean)
,
ClusterMBean.setClientCertProxyEnabled(boolean)
,
ServerTemplateMBean.isClientCertProxyEnabled()
boolean isClientCertProxyEnabled()
Specifies whether the HttpClusterServlet proxies the client certificate in a special header.
By default (or if you specify false
), the
weblogic.xml
deployment descriptor for each web
application that is deployed on this server determines whether the
web application trusts certificates sent from the proxy server
plugin. By default (or if the deployment descriptor specifies
false
), users cannot log in to the web application
from a proxy server plugin.
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. A proxy-server plugin encodes
each identify certification in the
WL-Proxy-Client-Cert
header and passes the header to
WebLogic Server instances. A WebLogic Server instance takes the
certificate information from the header, trusting that it came from
a secure source, and uses that information to authenticate the
user.
If you specify true
, use a
weblogic.security.net.ConnectionFilter
to ensure that
this WebLogic Server instance accepts connections only from the
machine on which the proxy-server plugin is running. Specifying
true
without using a connection filter creates a
security vulnerability because the
WL-Proxy-Client-Cert
header can be spoofed.
A cluster can also specify whether the HttpClusterServlet proxies the client certificate in a special header. The cluster-level setting overrides the setting in individual servers that are part of the cluster.
ConnectionFilter
,
WebAppContainerMBean.isClientCertProxyEnabled()
,
ClusterMBean.isClientCertProxyEnabled()
void setWeblogicPluginEnabled(boolean wpe)
Sets the value of the ServerMBean's WebLogicPluginEnabled attribute.
wpe
- The new weblogicPluginEnabled valueServerTemplateMBean.isWeblogicPluginEnabled()
,
WebAppContainerMBean.setWeblogicPluginEnabled(boolean)
,
ClusterMBean.setWeblogicPluginEnabled(boolean)
boolean isWeblogicPluginEnabled()
Specifies whether this server uses the proprietary WL-Proxy-Client-IP header, which is recommended if the server instance will receive requests from a proxy plug-in.
If the server instance is a member of a cluster that will receive proxied requests, enable the WebLogic plugin at the cluster level. For servers that are members of a cluster, the setting at the cluster level overrides the server's setting.
When the WebLogic plugin is enabled, a call to
getRemoteAddr
will return the address of the browser
client from the proprietary WL-Proxy-Client-IP
header
instead of the web server.
WebAppContainerMBean.isWeblogicPluginEnabled()
,
ClusterMBean.isWeblogicPluginEnabled()
boolean getHostsMigratableServices()
Gets the hostsMigratableServices attribute of the ServerMBean object
void setHttpTraceSupportEnabled(boolean tse)
WebAppContainerMBean.setHttpTraceSupportEnabled(boolean)
,
ClusterMBean.setHttpTraceSupportEnabled(boolean)
boolean isHttpTraceSupportEnabled()
WebAppContainerMBean.isHttpTraceSupportEnabled()
,
ClusterMBean.isHttpTraceSupportEnabled()
String getKeyStores()
Which configuration rules should be used for finding the server's identity and trust keystores?
void setKeyStores(String keystores)
Sets the value of the KeyStores attribute.
keystores
- The new keyStores valueServerTemplateMBean.getKeyStores()
String getCustomIdentityKeyStoreFileName()
The source of the identity keystore. For a JKS keystore, the source is the path and file name. For an Oracle Key Store Service (KSS) keystore, the source is the KSS URI.
If using a JKS keystore, the keystore path name must either be absolute or relative to where the server was booted.
If using a KSS keystore, the keystore URI must be of the form:
"kss://system/keystorename
"
where "keystorename
" is the name of the keystore
registered in KSS.
The value in this attribute is only used if KeyStores is CUSTOM_IDENTITY_AND_JAVA_STANDARD_TRUST, CUSTOM_IDENTITY_AND_CUSTOM_TRUST or CUSTOM_IDENTITY_AND_COMMAND_LINE_TRUST.
void setCustomIdentityKeyStoreFileName(String fileName)
Sets the value of the CustomIdentityKeyStoreFileName attribute.
fileName
- The new customIdentityKeyStoreFileName valueServerTemplateMBean.getCustomIdentityKeyStoreFileName()
String getCustomIdentityKeyStoreType()
The type of the keystore. Generally, this is
JKS
. If using the Oracle Key Store Service, this would be
KSS
If empty or null, then the JDK's default keystore type
(specified in java.security
) is used. The custom
identity key store type is only used if KeyStores is
CUSTOM_IDENTITY_AND_JAVA_STANDARD_TRUST,
CUSTOM_IDENTITY_AND_CUSTOM_TRUST or
CUSTOM_IDENTITY_AND_COMMAND_LINE_TRUST.
void setCustomIdentityKeyStoreType(String type)
Sets the value of the CustomIdentityKeyStoreType attribute.
type
- The new customIdentityKeyStoreType valueServerTemplateMBean.getCustomIdentityKeyStoreType()
String getCustomIdentityKeyStorePassPhrase()
The encrypted custom identity keystore's passphrase. If empty or null, then the keystore will be opened without a passphrase.
This attribute is only used if KeyStores is CUSTOM_IDENTITY_AND_JAVA_STANDARD_TRUST, CUSTOM_IDENTITY_AND_CUSTOM_TRUST or CUSTOM_IDENTITY_AND_COMMAND_LINE_TRUST.
When you get the value of this attribute, WebLogic Server does the following:
CustomIdentityKeyStorePassPhraseEncrypted
attribute.When you set the value of this attribute, WebLogic Server does the following:
CustomIdentityKeyStorePassPhraseEncrypted
attribute to the
encrypted value.Using this attribute (CustomIdentityKeyStorePassPhrase
) 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 and the memory is reallocated. Depending on how
memory is allocated in the JVM, a significant amount of time could pass
before this unencrypted data is removed from memory.
Instead of using this attribute, use CustomIdentityKeyStorePassPhraseEncrypted
.
ServerTemplateMBean.getCustomIdentityKeyStorePassPhraseEncrypted()
void setCustomIdentityKeyStorePassPhrase(String passPhrase)
Sets the value of the CustomIdentityKeyStorePassPhrase attribute.
passPhrase
- The new customIdentityKeyStorePassPhrase valueServerTemplateMBean.getCustomIdentityKeyStorePassPhrase()
,
ServerTemplateMBean.setCustomIdentityKeyStorePassPhraseEncrypted(byte[])
byte[] getCustomIdentityKeyStorePassPhraseEncrypted()
Returns encrypted pass phrase defined when creating the keystore.
void setCustomIdentityKeyStorePassPhraseEncrypted(byte[] passPhraseEncrypted)
Sets the encrypted value of the CustomIdentityKeyStorePassPhrase attribute.
passPhraseEncrypted
- The new encrypted customIdentityKeyStorePassPhrase valueServerTemplateMBean.getCustomIdentityKeyStorePassPhraseEncrypted()
String getCustomTrustKeyStoreFileName()
The source of the custom trust keystore. For a JKS keystore, the source is the path and file name. For an Oracle Key Store Service (KSS) keystore, the source is the KSS URI.
If using a JKS keystore, the keystore path name must either be absolute or relative to where the server was booted.
If using a KSS keystore, the keystore URI must be of the form:
"kss://system/keystorename
"
where "keystorename
" is the name of the keystore
registered in KSS.
The value in this attribute is only used if KeyStores is CUSTOM_IDENTITY_AND_CUSTOM_TRUST.
void setCustomTrustKeyStoreFileName(String fileName)
Sets the value of the CustomTrustKeyStoreFilename attribute.
fileName
- The new customTrustKeyStoreFileName valueServerTemplateMBean.getCustomTrustKeyStoreFileName()
String getCustomTrustKeyStoreType()
The type of the keystore. Generally, this is
JKS
. If using the Oracle Key Store Service, this would be
KSS
If empty or null, then the JDK's default keystore type (specified in java.security) is used. This keystore type is only used if KeyStores is CUSTOM_IDENTITY_AND_CUSTOM_TRUST.
void setCustomTrustKeyStoreType(String type)
Sets the value of the CustomTrustKeyStoreType attribute.
type
- The new customTrustKeyStoreType valueServerTemplateMBean.getCustomTrustKeyStoreType()
String getCustomTrustKeyStorePassPhrase()
The custom trust keystore's passphrase. If empty or null, then the keystore will be opened without a passphrase.
This attribute is only used if KeyStores is CUSTOM_IDENTITY_AND_CUSTOM_TRUST.
When you get the value of this attribute, WebLogic Server does the following:
CustomTrustKeyStorePassPhraseEncrypted
attribute.When you set the value of this attribute, WebLogic Server does the following:
CustomTrustKeyStorePassPhraseEncrypted
attribute to the
encrypted value.Using this attribute (CustomTrustKeyStorePassPhrase
) 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 and the memory is reallocated. Depending on how
memory is allocated in the JVM, a significant amount of time could pass
before this unencrypted data is removed from memory.
Instead of using this attribute, use CustomTrustKeyStorePassPhraseEncrypted
.
ServerTemplateMBean.getCustomTrustKeyStorePassPhraseEncrypted()
void setCustomTrustKeyStorePassPhrase(String passPhrase)
Sets the value of the CustomTrustKeyStorePassPhrase attribute.
passPhrase
- The new customTrustKeyStorePassPhrase valueServerTemplateMBean.getCustomTrustKeyStorePassPhrase()
,
ServerTemplateMBean.setCustomTrustKeyStorePassPhraseEncrypted(byte[])
byte[] getCustomTrustKeyStorePassPhraseEncrypted()
The custom trust keystore's encrypted passphrase. If empty or null, then the keystore will be opened without a passphrase.
This attribute is only used if KeyStores is CUSTOM_IDENTITY_AND_CUSTOM_TRUST.
To set this attribute, use weblogic.management.EncryptionHelper.encrypt()
to encrypt the value. Then set this attribute to the output of the encrypt() method.
To compare a password that a user enters with the encrypted
value of this attribute, use the same WebLogic Server instance
that you used to set and encrypt this attribute
and use weblogic.management.EncryptionHelper.encrypt()
to encrypt the user-supplied password. Then compare the encrypted values.
void setCustomTrustKeyStorePassPhraseEncrypted(byte[] passPhraseEncrypted)
Sets the encrypted value of the CustomTrustKeyStorePassPhrase attribute.
passPhraseEncrypted
- The new encrypted customTrustKeyStorePassPhrase valueServerTemplateMBean.getCustomTrustKeyStorePassPhraseEncrypted()
String getJavaStandardTrustKeyStorePassPhrase()
The password for the Java Standard Trust keystore. This password is defined when the keystore is created.
If empty or null, then the keystore will be opened without a passphrase.
This attribute is only used if KeyStores is CUSTOM_IDENTITY_AND_JAVA_STANDARD_TRUST or DEMO_IDENTITY_AND_DEMO_TRUST.
When you get the value of this attribute, WebLogic Server does the following:
JavaStandardTrustKeyStorePassPhraseEncrypted
attribute.When you set the value of this attribute, WebLogic Server does the following:
JavaStandardTrustKeyStorePassPhraseEncrypted
attribute to the
encrypted value.Using this attribute (JavaStandardTrustKeyStorePassPhrase
) 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 and the memory is reallocated. Depending on how
memory is allocated in the JVM, a significant amount of time could pass
before this unencrypted data is removed from memory.
Instead of using this attribute, use JavaStandardTrustKeyStorePassPhraseEncrypted
.
ServerTemplateMBean.getJavaStandardTrustKeyStorePassPhraseEncrypted()
void setJavaStandardTrustKeyStorePassPhrase(String passPhrase)
Sets the value of the JavaStandardTrustKeyStorePhrase attribute.
passPhrase
- The new javaStandardTrustKeyStorePassPhrase valueServerTemplateMBean.getJavaStandardTrustKeyStorePassPhrase()
,
ServerTemplateMBean.setJavaStandardTrustKeyStorePassPhraseEncrypted(byte[])
byte[] getJavaStandardTrustKeyStorePassPhraseEncrypted()
The encrypted password for the Java Standard Trust keystore. This password is defined when the keystore is created.
To set this attribute, use weblogic.management.EncryptionHelper.encrypt()
to encrypt the value. Then set this attribute to the output of the encrypt() method.
To compare a password that a user enters with the encrypted
value of this attribute, go to the same WebLogic Server instance
that you used to set and encrypt this attribute
and use weblogic.management.EncryptionHelper.encrypt()
to encrypt the user-supplied password. Then compare the encrypted values.
void setJavaStandardTrustKeyStorePassPhraseEncrypted(byte[] passPhraseEncrypted)
Sets the encrypted value of the JavaStandardTrustKeyStorePhrase attribute.
passPhraseEncrypted
- The new encrypted javaStandardTrustKeyStorePassPhrase valueServerTemplateMBean.getJavaStandardTrustKeyStorePassPhraseEncrypted()
void setReliableDeliveryPolicy(WSReliableDeliveryPolicyMBean mbean)
Sets the value of the ReliableDeliveryPolicy attribute.
mbean
- The new reliableDeliveryPolicy valueServerTemplateMBean.getReliableDeliveryPolicy()
WSReliableDeliveryPolicyMBean getReliableDeliveryPolicy()
The reliable delivery policy for web services.
boolean isMessageIdPrefixEnabled()
Indicates whether message IDs in logged messages will include a prefix. Message ids are 6 digit numeric strings that can be optionally presented in a log entry with a prefix. The prefix used by server messages is "BEA-".
void setMessageIdPrefixEnabled(boolean prefix)
Sets the value of the MessageIdPrefixEnabled attribute.
prefix
- The new messageIdPrefixEnabled valueServerTemplateMBean.isMessageIdPrefixEnabled()
DefaultFileStoreMBean getDefaultFileStore()
Controls the configuration of the default persistent store on this server. Each server has a default store, which is a file-based object repository used by various subsystems.
MachineMBean[] getCandidateMachines()
Limits the list of candidate machines that the cluster specifies. (Requires you to enable this server for automatic migration and to configure the cluster with a set of candidate machines.)
If this server fails and if it is enabled for automatic migration, Node Manager automatically restarts it. By default, Node Manager restarts the server on any of the candidate machines that the cluster specifies (in order of preference that you configured in the cluster). To change the default, you use this server's list of candidate machines to create a subset of the cluster-wide candidates. You can also change the order of preference.
ClusterMBean.getCandidateMachinesForMigratableServers()
void setCandidateMachines(MachineMBean[] machines)
Sets the value of the CandidateMachines attribute.
ServerTemplateMBean.getCandidateMachines()
OverloadProtectionMBean getOverloadProtection()
String getJDBCLLRTableName()
The table name for this server's Logging Last Resource (LLR)
database table(s). WebLogic Server creates the table(s) and then uses
them during transaction processing for the LLR transaction optimization.
This setting must be unique for each server. The default table name is
WL_LLR_SERVERNAME
.
This setting only applies if this server hosts one or more LLR-enabled JDBC data sources.
The format for the tables that WebLogic Server creates is [[[catalog.]schema.]name.] Each "." in the table name is significant, and schema generally corresponds to username in many databases.
IMPORTANT: If this value is changed but the LLR table already exists in the database, you must preserve the existing table's data. Consequently, when changing the table name, the existing database table must be renamed by a database administrator to match the new configured table name. Otherwise, transaction records may be lost, resulting in heuristic failures that aren't logged.
IMPORTANT: Each server's table name must be unique. Multiple LLR-enabled data sources within the same server may share the same table, but multiple servers must not share the same table. If multiple same-named servers share a table, the behavior is undefined and it is likely that transactions will not recover properly after a crash, creating heuristic hazards.
void setJDBCLLRTableName(String name)
boolean isUseFusionForLLR()
Enables the use of the ADM_DDL
store procedure for LLR. The
default value is false
(not enabled).
When enabled, a WLS_
prefix and _DYD
suffix is
is automatically added to the LLR table name at runtime so the LLR table name
in server configuration is not consistent with the actual table name in database.
void setUseFusionForLLR(boolean isUseFusionForLLR)
Sets the value of the UseFusionForLLR attribute. When true, the ADM_DDL store procedure is used for LLR. The LLR table name still applies.
ServerTemplateMBean.isUseFusionForLLR()
int getJDBCLoginTimeoutSeconds()
void setJDBCLoginTimeoutSeconds(int timeout)
WLDFServerDiagnosticMBean getServerDiagnosticConfig()
FederationServicesMBean getFederationServices()
Gets the Federation Services MBean
SingleSignOnServicesMBean getSingleSignOnServices()
Gets the Single Sign-On Services MBean
WebServiceMBean getWebService()
Gets Web service configuration for this server
int getNMSocketCreateTimeoutInMillis()
void setNMSocketCreateTimeoutInMillis(int timeout) throws InvalidAttributeValueException, DistributedManagementException
InvalidAttributeValueException
DistributedManagementException
void setCoherenceClusterSystemResource(CoherenceClusterSystemResourceMBean coherenceClusterSystemResource)
coherenceClusterSystemResource
- CoherenceClusterSystemResourceMBean getCoherenceClusterSystemResource()
void setVirtualMachineName(String vmName)
String getVirtualMachineName()
String getReplicationPorts()
void setReplicationPorts(String ports)
TransactionLogJDBCStoreMBean getTransactionLogJDBCStore()
The JDBC TLOG store used for transaction logging.
DataSourceMBean getDataSource()
The datasource configuration for the server.
CoherenceMemberConfigMBean getCoherenceMemberConfig()
Returns the Coherence Operational Config overrides associated with this Server.
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |