public interface ServerRuntimeMBean extends RuntimeMBean, HealthFeedback, ServerStates, ServerRuntimeSecurityAccess
Provides methods for retrieving runtime information about a server instance and for transitioning a server from one state to another.
ACTIVATE_LATER, ADMIN, DISCOVERED, FAILED, FAILED_MIGRATABLE, FAILED_NOT_RESTARTABLE, FAILED_RESTARTING, FORCE_SHUTTING_DOWN, FORCE_SUSPENDING, RESTART_REQUIRED, RESUMING, RUNNING, SERVERSTATES, SHUTDOWN, SHUTDOWN_IN_PROCESS, SHUTDOWN_PENDING, SHUTTING_DOWN, SRVR_ACTIVATE_LATER, SRVR_ADMIN, SRVR_DISCOVERED, SRVR_FAILED, SRVR_FAILED_MIGRATABLE, SRVR_FAILED_NOT_RESTARTABLE, SRVR_FAILED_RESTARTING, SRVR_FORCE_SHUTTING_DOWN, SRVR_FORCE_SUSPENDING, SRVR_RESUMING, SRVR_RUNNING, SRVR_SHUTDOWN, SRVR_SHUTDOWN_IN_PROCESS, SRVR_SHUTDOWN_PENDING, SRVR_SHUTTING_DOWN, SRVR_STANDBY, SRVR_STARTING, SRVR_SUSPENDING, SRVR_UNKNOWN, STANDBY, STARTING, SUSPENDING, UNKNOWN
Modifier and Type | Method and Description |
---|---|
void |
abortStartupAfterAdminState()
Stop server startup in ADMIN state and do not transition to RUNNING state.
|
boolean |
addExecuteQueueRuntime(ExecuteQueueRuntimeMBean q) |
boolean |
addMailSessionRuntime(MailSessionRuntimeMBean r)
````
|
boolean |
addMaxThreadsConstraintRuntime(MaxThreadsConstraintRuntimeMBean temp) |
boolean |
addMessagingBridgeRuntime(MessagingBridgeRuntimeMBean mb) |
boolean |
addMinThreadsConstraintRuntime(MinThreadsConstraintRuntimeMBean temp) |
void |
addPartitionRuntime(PartitionRuntimeMBean r) |
boolean |
addPathServiceRuntime(PathServiceRuntimeMBean psr,
boolean isDomainScope) |
boolean |
addPendingRestartSystemResource(java.lang.String s)
````
|
void |
addPersistentStoreRuntime(PersistentStoreRuntimeMBean r) |
boolean |
addRequestClassRuntime(RequestClassRuntimeMBean temp) |
boolean |
addWebServerRuntime(WebServerRuntimeMBean r)
````
|
boolean |
addWorkManagerRuntime(WorkManagerRuntimeMBean q)
````
|
void |
bootPartition(java.lang.String partitionName)
Boots the partition
|
void |
forceRestartPartition(java.lang.String partitionName)
Performs a forced restart of the specified partition.
|
void |
forceRestartPartition(java.lang.String partitionName,
long restartDelayMillis)
Performs a forced restart of the specified partition, waiting the specified time after the halt completes
before executing the operation to return the partition to its state in this server at the time the
forceRestartPartition method was invoked. |
void |
forceShutdown()
Force shutdown the server.
|
void |
forceShutdownResourceGroup(java.lang.String resourceGroupName)
Force shutdown the resource group.
|
void |
forceSuspend()
Transitions the server from
RUNNING to ADMIN
state forcefully cancelling inflight work. |
void |
forceSuspendResourceGroup(java.lang.String resourceGroupName)
Transitions the resource group from
RUNNING to ADMIN
state forcefully cancelling inflight work. |
long |
getActivationTime()
The time when the server was started.
|
int |
getAdministrationPort()
Deprecated.
9.0.0.0 Replaced by
ServerRuntimeMBean.getAdministrationURL() |
java.lang.String |
getAdministrationURL()
The URL that the server and its clients use for administrative
connections.
|
java.lang.String |
getAdminServerHost()
The address on which the Administration Server is listening for
connections.
|
int |
getAdminServerListenPort()
The port on which the Administration Server is listening for
connections.
|
AggregateProgressMBean |
getAggregateProgress()
Gets the progress meter bean which can be used to
view the progress of a booting server
|
ApplicationRuntimeMBean[] |
getApplicationRuntimes()
Returns the list of currently running Applications
|
AsyncReplicationRuntimeMBean |
getAsyncReplicationRuntime()
Return an MBean which represents this server's view of its
AsyncReplicationRuntime, if any.
|
BatchJobRepositoryRuntimeMBean |
getBatchJobRepositoryRuntime()
Gets the BatchJobRepositoryRuntimeMBean for this server.
|
ClassLoaderRuntimeMBean |
getClassLoaderRuntime()
Get statistics for system-level class loading.
|
ClusterRuntimeMBean |
getClusterRuntime()
Return an MBean which represents this server's view of its
cluster, if any.
|
ConcurrentManagedObjectsRuntimeMBean |
getConcurrentManagedObjectsRuntime()
The ConcurrentManagedObjectsRuntimeMBean for this server.
|
ConnectorServiceRuntimeMBean |
getConnectorServiceRuntime()
The access point for server wide control and monitoring of the
Connector Container.
|
java.lang.String |
getCurrentDirectory()
The absolute path of the directory from which the server was
started.
|
java.lang.String |
getCurrentMachine()
Return the machine on which the server is running.
|
ExecuteQueueRuntimeMBean |
getDefaultExecuteQueueRuntime()
Return an MBean which exposes this server's default execute
queue.
|
java.lang.String |
getDefaultURL()
The URL that clients use to connect to this server's default
network channel.
|
EntityCacheCumulativeRuntimeMBean |
getEntityCacheCumulativeRuntime()
Return an MBean which represents Cumulative Status of the XML
Cache.
|
EntityCacheCurrentStateRuntimeMBean |
getEntityCacheCurrentStateRuntime()
Return an MBean which represents Current Status of the XML
Cache.
|
EntityCacheCumulativeRuntimeMBean |
getEntityCacheHistoricalRuntime()
Return an MBean which represents Historical Status of the XML
Cache.
|
ExecuteQueueRuntimeMBean[] |
getExecuteQueueRuntimes()
Returns an array of MBeans which exposes this server's active
execute queues.
|
HealthState |
getHealthState()
The health state of the server as reported by the server's
self-health monitoring.
|
javax.management.openmbean.CompositeData |
getHealthStateJMX()
The HealthState object returned as a CompositeData type.
|
ResourceGroupLifecycleOperations.RGState |
getInternalRgState(java.lang.String resourceGroupName)
Returns the state enum value for the specified resource group's state.
|
java.lang.String |
getIPv4URL(java.lang.String protocol)
The URL that clients use when connecting to this server using
the specified protocol.
|
java.lang.String |
getIPv6URL(java.lang.String protocol)
The URL that clients use when connecting to this server using
the specified protocol.
|
JDBCServiceRuntimeMBean |
getJDBCServiceRuntime()
The JDBCServiceRuntimeMBean for this server.
|
JMSRuntimeMBean |
getJMSRuntime()
The JMSRuntimeMBean for this server.
|
JoltConnectionServiceRuntimeMBean |
getJoltRuntime()
The JoltConnectionServiceRuntimeMBean for this server.
|
JTARuntimeMBean |
getJTARuntime()
The transaction RuntimeMBean for this server.
|
java.lang.String |
getJVMID()
An identifier that the Java Virtual Machine (JVM) in which the
server is running generates.
|
JVMRuntimeMBean |
getJVMRuntime()
The JVMRuntimeMBean for this server.
|
LibraryRuntimeMBean[] |
getLibraryRuntimes()
Returns all deployed Libraries
|
java.lang.String |
getListenAddress()
Deprecated.
9.0.0.0 Replaced by
ServerRuntimeMBean.getURL(java.lang.String) |
int |
getListenPort()
Deprecated.
9.0.0.0 Replaced by
ServerRuntimeMBean.getURL(java.lang.String) |
LogBroadcasterRuntimeMBean |
getLogBroadcasterRuntime()
The object which generates notifications on behalf of the logging subystem.
|
LogRuntimeMBean |
getLogRuntime()
Deprecated.
12.1.3.0
|
MailSessionRuntimeMBean[] |
getMailSessionRuntimes()
Return the runtimeMBeans for JavaMail Mail Sessions
|
MANAsyncReplicationRuntimeMBean |
getMANAsyncReplicationRuntime()
Return an MBean which represents this server's view of its
MANAsyncReplicationRuntime, if any.
|
MANReplicationRuntimeMBean |
getMANReplicationRuntime()
Return an MBean which represents this server's view of its
MANReplicationRuntime, if any.
|
MaxThreadsConstraintRuntimeMBean[] |
getMaxThreadsConstraintRuntimes()
Returns an array of RuntimeMBeans which exposes this server's globally
defined MaxThreadsConstraints.
|
MessagingBridgeRuntimeMBean |
getMessagingBridgeRuntime()
Deprecated.
12.1.3.0 Replaced by
ServerRuntimeMBean.getMessagingBridgeRuntimes() |
MessagingBridgeRuntimeMBean[] |
getMessagingBridgeRuntimes()
The MessagingBridgeRuntimeMBeans for this server
|
java.lang.String |
getMiddlewareHome()
The Oracle Middleware installation directory.
|
MinThreadsConstraintRuntimeMBean[] |
getMinThreadsConstraintRuntimes()
Returns an array of RuntimeMBeans which exposes this server's globally
defined MinThreadsConstraints.
|
java.lang.String |
getName()
The name of this configuration.
|
int |
getOpenSocketsCurrentCount()
The current number of sockets registered for socket muxing on
this server.
|
java.lang.String |
getOracleHome()
Deprecated.
WLS can no longer find out what ORACLE_HOME is
|
HealthState |
getOverallHealthState()
Determine the overall health state of this server, taking into account the
health of each of its subsystems.
|
javax.management.openmbean.CompositeData |
getOverallHealthStateJMX()
The overall health state of this server returned as a CompositeData type.
|
PartitionRuntimeMBean[] |
getPartitionRuntimes()
Returns the list of partition runtime beans
|
java.lang.String[] |
getPatchList()
Returns information about installed patches on the server as an array of Strings.
|
PathServiceRuntimeMBean |
getPathServiceRuntime()
Deprecated.
12.2.1.0.0 replaced by
ServerRuntimeMBean.getPathServiceRuntimes() |
PathServiceRuntimeMBean[] |
getPathServiceRuntimes()
Array of all PathServiceRuntimeMBean instances for Domain partition.
|
java.lang.String[] |
getPendingRestartPartitions()
Returns all the partitions that need to be restarted in order to activate
configuration changes
|
java.lang.String[] |
getPendingRestartSystemResources()
Returns all the System Resources that need to be restarted
|
PersistentStoreRuntimeMBean[] |
getPersistentStoreRuntimes()
Returns the mbeans that provides runtime information
for each PersistentStore.
|
RequestClassRuntimeMBean[] |
getRequestClassRuntimes()
Returns an array of RuntimeMBeans which exposes this server's globally
defined Request Classes.
|
int |
getRestartsTotalCount()
Deprecated.
This attribute always returns a value of 0. Please use
ServerLifeCycleRuntimeMBean.getNodeManagerRestartCount() if the
NodeManager is used to start servers |
java.lang.String |
getRgState(java.lang.String resourceGroupName) |
SAFRuntimeMBean |
getSAFRuntime()
The SAFRuntimeMBean for this server.
|
java.net.InetSocketAddress |
getServerChannel(java.lang.String protocol)
The address on which this server is listening for connections
that use the specified protocol.
|
ServerChannelRuntimeMBean[] |
getServerChannelRuntimes()
The network channels that are currently configured on the
server.
|
java.lang.String |
getServerClasspath()
Get the classpath for this server including domain/lib contents that are
automatically picked up and appended to the classpath.
|
ServerIdentity |
getServerIdentity()
Return the JVMID of the server.
|
ServerLogRuntimeMBean |
getServerLogRuntime()
Return the MBean which provides access to the control interface for WLS server logging.
|
ServerSecurityRuntimeMBean |
getServerSecurityRuntime()
Return the ServerSecurityRuntimeMBean for this server.
|
java.util.HashMap |
getServerServiceVersions()
Returns a map of ServerService names and their versions.
|
long |
getServerStartupTime()
The amount of time taken for the server to transition from
STARTING to RUNNING state. |
SingleSignOnServicesRuntimeMBean |
getSingleSignOnServicesRuntime()
Get the runtime interface to publish single sign-on services information.
|
SNMPAgentRuntimeMBean |
getSNMPAgentRuntime()
Return the MBean which provides access to the monitoring statistics for WLS SNMP Agent.
|
SocketRuntime[] |
getSockets()
Deprecated.
|
long |
getSocketsOpenedTotalCount()
Deprecated.
Use
ServerRuntimeMBean.getOpenSocketsCurrentCount() instead. Both methods
return the same value. This method is being deprecated in favor of the
other method. |
java.lang.String |
getSSLListenAddress()
Deprecated.
9.0.0.0 Replaced by
ServerRuntimeMBean.getURL(java.lang.String) |
int |
getSSLListenPort()
Deprecated.
9.0.0.0 Replaced by
ServerRuntimeMBean.getURL(java.lang.String) |
int |
getStableState()
It returns the end state for the server if it's transitioning or the
current state if it is already in stable state
|
java.lang.String |
getState()
The current life cycle state of this server.
|
int |
getStateVal()
Returns current state of the server as in integer.
|
HealthState[] |
getSubsystemHealthStates()
Returns an array of health states for major subsystems in the server.
|
ThreadPoolRuntimeMBean |
getThreadPoolRuntime()
Get the self-tuning thread pool's runtime information.
|
TimerRuntimeMBean |
getTimerRuntime()
Get the runtime information about the WebLogic timer implementation.
|
TimeServiceRuntimeMBean |
getTimeServiceRuntime()
Get the runtime information about the WebLogic timer implementation.
|
java.lang.String |
getURL(java.lang.String protocol)
The URL that clients use when connecting to this server using
the specified protocol.
|
WANReplicationRuntimeMBean |
getWANReplicationRuntime()
Return an MBean which represents this server's view of its
WANReplicationRuntime, if any.
|
java.lang.String |
getWeblogicHome()
The directory where the WebLogic Server instance (server) is installed,
without the trailing "/server".
|
java.lang.String |
getWeblogicVersion()
The version of this WebLogic Server instance (server).
|
WebServerRuntimeMBean[] |
getWebServerRuntimes()
Returns all the initialized webservers
|
WLDFRuntimeMBean |
getWLDFRuntime()
Return the MBean which provides access to all Diagnostic
runtime MBeans.
|
WorkManagerRuntimeMBean[] |
getWorkManagerRuntimes()
Returns an array of MBeans which exposes this server's active
internal WorkManagers.
|
WseeClusterFrontEndRuntimeMBean |
getWseeClusterFrontEndRuntime()
This is non-null only when this server is running as a host to a
front-end proxy (HttpClusterServlet) instance.
|
WseeWsrmRuntimeMBean |
getWseeWsrmRuntime()
Get statistics for web services reliable messaging across the entire server
if any web service is deployed that employs reliable messaging.
|
WTCRuntimeMBean |
getWTCRuntime()
The WTCRuntimeMBean for this server.
|
boolean |
isAdministrationPortEnabled()
Indicates whether the administration port is enabled on the
server
|
boolean |
isAdminServer()
Indicates whether the server is an Administration Server.
|
boolean |
isAdminServerListenPortSecure()
Indicates whether the port that the server uses for
administrative traffic is configured to use a secure protocol.
|
boolean |
isClusterMaster()
Indicates whether the server is the ClusterMaster of a cluster
which is configured for server migration.
|
boolean |
isInSitConfigState()
Returns true if sitconfig is applied.
|
boolean |
isListenPortEnabled()
Indicates whether the default listen port is enabled on the
server.
|
boolean |
isPartitionRestartRequired(java.lang.String partitionName)
Indicates whether the partition must be restarted in order to activate
configuration changes.
|
boolean |
isResourceGroupPresent(java.lang.String resourceGroupName)
Returns whether the specified domain-level resource group is present on the server.
|
boolean |
isRestartPendingForSystemResource(java.lang.String name)
Returns if a SystemResource has pending restart or not.
|
boolean |
isRestartRequired()
Indicates whether the server must be restarted in order to activate
configuration changes.
|
boolean |
isServiceAvailable(java.lang.String service)
returns true if the named service is available (configured, licensed & running)
|
boolean |
isShuttingDown()
Check if the server is shutting down.
|
boolean |
isShuttingDownDueToFailure()
Returns true if the server is in the process of shutting down due to a
critical failure.
|
boolean |
isSSLListenPortEnabled()
Indicates whether the default SSL listen port is enabled on the
server
|
boolean |
isStartupAbortedInAdminState()
Return true if the current state is ADMIN and deployment subsystem
requested abort of server startup in this state due to a deployment
failure.
|
ApplicationRuntimeMBean |
lookupApplicationRuntime(java.lang.String name)
Returns the ApplicationRuntimeMBean asked for, by name.
|
LibraryRuntimeMBean |
lookupLibraryRuntime(java.lang.String name)
Returns the LibraryRuntimeMBean asked for, by name.
|
MaxThreadsConstraintRuntimeMBean |
lookupMaxThreadsConstraintRuntime(java.lang.String name) |
MessagingBridgeRuntimeMBean |
lookupMessagingBridgeRuntime(java.lang.String name) |
MinThreadsConstraintRuntimeMBean |
lookupMinThreadsConstraintRuntime(java.lang.String name) |
PartitionRuntimeMBean |
lookupPartitionRuntime(java.lang.String name)
Returns named partition runtime bean
|
PersistentStoreRuntimeMBean |
lookupPersistentStoreRuntime(java.lang.String name)
Returns the Runtime mbean for the persistent store with the
specified short name.
|
RequestClassRuntimeMBean |
lookupRequestClassRuntime(java.lang.String name) |
boolean |
removeExecuteQueueRuntime(ExecuteQueueRuntimeMBean q) |
boolean |
removeMailSessionRuntime(MailSessionRuntimeMBean r) |
boolean |
removeMessagingBridgeRuntime(MessagingBridgeRuntimeMBean mb) |
void |
removePartitionRuntime(PartitionRuntimeMBean r) |
boolean |
removePathServiceRuntime(PathServiceRuntimeMBean psr,
boolean isDomainScope) |
boolean |
removePendingRestartSystemResource(java.lang.String s)
Remove a System Resource from the resart list
|
void |
removePersistentStoreRuntime(PersistentStoreRuntimeMBean r) |
boolean |
removeWebServerRuntime(WebServerRuntimeMBean r)
Remove a webserver
|
boolean |
removeWorkManagerRuntime(WorkManagerRuntimeMBean q) |
void |
restartSSLChannels()
Restart all SSL channels on which the server is listening.
|
void |
resume()
Resume suspended server.
|
void |
resumeResourceGroup(java.lang.String resourceGroupName)
Resume suspended resource group.
|
void |
setAggregateProgress(AggregateProgressMBean aggregateMeter)
Sets the progress meter bean which can be used to
view the progress of a booting server
param aggregateMeter The non-null progress meter bean
|
void |
setAsyncReplicationRuntime(AsyncReplicationRuntimeMBean runtime) |
void |
setBatchJobRepositoryRuntime(BatchJobRepositoryRuntimeMBean mbean)
Sets the BatchJobRepositoryRuntimeMBean for this server.
|
void |
setClassLoaderRuntime(ClassLoaderRuntimeMBean r)
````
|
void |
setClusterRuntime(ClusterRuntimeMBean b)
Set an MBean which represents this server's view of its cluster,
if any.
|
void |
setConcurrentManagedObjectsRuntime(ConcurrentManagedObjectsRuntimeMBean r)
Sets the ConcurrentManagedObjectsRuntimeMBean for this server.
|
void |
setConnectorServiceRuntime(ConnectorServiceRuntimeMBean connectorService)
Establish the access point for server wide control and monitoring of the
Connector Container.
|
void |
setCurrentMachine(java.lang.String machineName)
Deprecated.
12.2.1.3.0 @exclude in 2 releases. See Bug 25183527
|
void |
setDefaultExecuteQueueRuntime(ExecuteQueueRuntimeMBean b)
Set an MBean which exposes this server's default execute
queue.
|
void |
setEntityCacheCumulativeRuntime(EntityCacheCumulativeRuntimeMBean b)
Set an MBean which represents Cumulative Status of the XML
Cache.
|
void |
setEntityCacheCurrentStateRuntime(EntityCacheCurrentStateRuntimeMBean b)
Set an MBean which represents Current Status of the XML
Cache.
|
void |
setEntityCacheHistoricalRuntime(EntityCacheCumulativeRuntimeMBean b)
Set an MBean which represents Historical Status of the XML
Cache.
|
void |
setHealthState(int state,
java.lang.String reason)
Deprecated.
12.2.1.0.0
|
void |
setHealthState(int state,
Symptom symptom)
For Server Health Monitoring.
|
void |
setInSitConfigState(boolean setter)
Sets sitconfig state.
|
void |
setJDBCServiceRuntime(JDBCServiceRuntimeMBean b)
Set the JDBCServiceRuntimeMBean for this server.
|
void |
setJMSRuntime(JMSRuntimeMBean b)
Set the JMSRuntimeMBean for this server.
|
void |
setJoltRuntime(JoltConnectionServiceRuntimeMBean b)
Set the JoltConnectionServiceRuntimeMBean for this server.
|
void |
setJTARuntime(JTARuntimeMBean b)
Sets the value of the JTARuntime attribute.
|
void |
setJVMRuntime(JVMRuntimeMBean b)
Sets the JVMRuntimeMBean for this server.
|
void |
setMANAsyncReplicationRuntime(MANAsyncReplicationRuntimeMBean manAsyncReplicationRuntime) |
void |
setMANReplicationRuntime(MANReplicationRuntimeMBean mbean)
Set an MBean which represents MANReplicationRuntime
if any.
|
void |
setMessagingBridgeRuntime(MessagingBridgeRuntimeMBean b)
Set the MessagingBridgeRuntimeMBean for this server
|
void |
setPartitionRestartRequired(java.lang.String partitionName,
boolean restartRequired)
Marks the partition to be restarted in order to activate
configuration changes.
|
void |
setPathServiceRuntime(PathServiceRuntimeMBean b)
Deprecated.
|
void |
setRestartRequired(boolean restartRequired) |
void |
setRgState(java.lang.String resourceGroupName,
java.lang.String state) |
void |
setSAFRuntime(SAFRuntimeMBean b)
Set the SAFRuntimeMBean for this server.
|
void |
setServerLogRuntime(ServerLogRuntimeMBean bean) |
void |
setServerSecurityRuntime(ServerSecurityRuntimeMBean b)
Set the ServerSecurityRuntimeMBean for this server.
|
void |
setSingleSignOnServicesRuntime(SingleSignOnServicesRuntimeMBean ssoRuntimeMBean)
Set an MBean which exposes single sign-on services publishing.
|
void |
setSNMPAgentRuntime(SNMPAgentRuntimeMBean bean) |
void |
setThreadPoolRuntime(ThreadPoolRuntimeMBean tprmb)
Set an MBean which exposes self-tuning runtime information.
|
void |
setTimerRuntime(TimerRuntimeMBean timerRuntimeMBean)
Set an MBean which exposes timer runtime information.
|
void |
setTimeServiceRuntime(TimeServiceRuntimeMBean timerRuntimeMBean)
Set an MBean which exposes timer runtime information.
|
void |
setWANReplicationRuntime(WANReplicationRuntimeMBean mbean)
Set an MBean which represents WANReplicationRuntime
if any.
|
void |
setWLDFRuntime(WLDFRuntimeMBean bean) |
void |
setWseeClusterFrontEndRuntime(WseeClusterFrontEndRuntimeMBean r)
````
|
void |
setWseeWsrmRuntime(WseeWsrmRuntimeMBean r)
````
|
void |
setWTCRuntime(WTCRuntimeMBean b)
Set the WTCRuntimeMBean for this server.
|
void |
shutdown()
Gracefully shuts down the server after handling inflight
work.
|
void |
shutdown(int timeout,
boolean ignoreSessions)
Gracefully shuts down the server after handling inflight
work.
|
void |
shutdown(int timeout,
boolean ignoreSessions,
boolean waitForAllSessions)
Gracefully shuts down the server after handling inflight work;
optionally ignores pending HTTP sessions while handling inflight
work.
|
void |
shutdownResourceGroup(java.lang.String resourceGroupName)
Gracefully shuts down the resource group after handling inflight
work.
|
void |
shutdownResourceGroup(java.lang.String resourceGroupName,
int timeout,
boolean ignoreSessions)
Gracefully shuts down the resource group after handling inflight
work.
|
void |
shutdownResourceGroup(java.lang.String resourceGroupName,
int timeout,
boolean ignoreSessions,
boolean waitForAllSessions)
Gracefully shuts down the resource group after handling inflight work;
optionally ignores pending HTTP sessions while handling inflight
work.
|
void |
start()
Deprecated.
Use
ServerRuntimeMBean.suspend() and ServerRuntimeMBean.resume() operations
instead of lock/unlock. |
void |
startPartition(java.lang.String partitionName)
starts the partition.
|
void |
startPartitionInAdmin(java.lang.String partitionName)
starts the Partition in ADMIN state.
|
void |
startResourceGroup(java.lang.String resourceGroupName)
starts the resource group.
|
void |
startResourceGroupInAdmin(java.lang.String resourceGroupName)
starts the resource group in ADMIN state.
|
void |
suspend()
Suspend server.
|
void |
suspend(int timeout,
boolean ignoreSessions)
Transitions the server from
RUNNING to
ADMIN state gracefully. |
void |
suspendResourceGroup(java.lang.String resourceGroupName)
Suspend resource group.
|
void |
suspendResourceGroup(java.lang.String resourceGroupName,
int timeout,
boolean ignoreSessions)
Suspend resource group.
|
addPropertyChangeListener, preDeregister, removePropertyChangeListener
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
void suspend() throws ServerLifecycleException
Suspend server. Deny new requests (except by privileged users).
Allow pending requests to complete. This operation transitions the
server into ADMIN
state. Applications and resources are
fully available to administrators in ADMIN
state.
But non-admin users are denied access to applications and resources
ServerLifecycleException
ServerRuntimeMBean.suspend(int, boolean)
void suspend(int timeout, boolean ignoreSessions) throws ServerLifecycleException
Transitions the server from RUNNING
to
ADMIN
state gracefully.
Applications are in admin mode. Inflight work is completed.
Applications and resources are fully available to administrators in
ADMIN
state. But non-admin users are denied access to
applications and resources
timeout
- Seconds to wait for server to transition gracefully.
The server calls ServerRuntimeMBean.forceSuspend()
after timeout.ignoreSessions
- drop inflight HTTP sessions during graceful suspendServerLifecycleException
- server failed to suspend gracefully.
A ServerRuntimeMBean.forceSuspend()
or a ServerRuntimeMBean.forceShutdown()
operation can be
invoked.void forceSuspend() throws ServerLifecycleException
Transitions the server from RUNNING
to ADMIN
state forcefully cancelling inflight work.
Work that cannot be cancelled is dropped. Applications are
brought into the admin mode. This is the supported way of force
suspending the server and getting it into ADMIN
state.
ServerLifecycleException
- server failed to force suspend.
A ServerRuntimeMBean.forceShutdown()
operation can be invoked.void resume() throws ServerLifecycleException
Resume suspended server. Allow new requests. This operation transitions
the server into RUNNING
state.
ServerLifecycleException
- if this operation fails to complete.
The server transitions back to the previous state from which this operation
was invoked e.g. if the server was in the ADMIN
state before
this operation, it will go back to the ADMIN
state if
resume fails.void shutdown() throws ServerLifecycleException
Gracefully shuts down the server after handling inflight work.
ServerLifecycleException
ServerRuntimeMBean.shutdown(int, boolean, boolean)
void shutdown(int timeout, boolean ignoreSessions) throws ServerLifecycleException
Gracefully shuts down the server after handling inflight work.
This method is the same as calling: shutdown(timeout, ignoreSessions, false);
timeout
- ignoreSessions
- ServerLifecycleException
ServerRuntimeMBean.shutdown(int, boolean, boolean)
void shutdown(int timeout, boolean ignoreSessions, boolean waitForAllSessions) throws ServerLifecycleException
Gracefully shuts down the server after handling inflight work; optionally ignores pending HTTP sessions while handling inflight work.
The following inflight work is allowed to complete before shutdown:
Further administrative calls are accepted while the server is completing inflight work. For example a forceShutdown command can be issued to quickly shutdown the server if graceful shutdown takes a long time.
timeout
- Number of seconds to wait before aborting
inflight work and shutting down the server.ignoreSessions
- true
indicates ignore pending
HTTP sessions during inflight work handling.waitForAllSessions
- true
indicates waiting for
all HTTP sessions during inflight work handling; false
indicates
waiting for non-persisted HTTP sessions only.ServerLifecycleException
- Thrown if the server cannot
gracefully shutdown. Use the forceShutdown command to shutdown the server.void forceShutdown() throws ServerLifecycleException
Force shutdown the server. Causes the server to reject new requests and fail pending requests.
ServerLifecycleException
- Thrown when the server cannot
force shutdown due to a fatal exception. Even after this exception is
thrown indicating failure the server exits after ServerLifeCycleTimeoutVal
seconds defined in the ServerMBean.void abortStartupAfterAdminState() throws ServerLifecycleException
Stop server startup in ADMIN state and do not transition to RUNNING state. This operation takes effect only if the server startup has not progressed beyond ADMIN state.
This method is used by the deployment subsystem to stop a server in admin state if one of the deployments fail.
ServerLifecycleException
- If the server is already in RUNNING or
if an Admin channel is not available.boolean isStartupAbortedInAdminState()
Return true if the current state is ADMIN and deployment subsystem requested abort of server startup in this state due to a deployment failure.
This method is meant for use by the NodeManager within the same server process.
boolean isShuttingDownDueToFailure()
Returns true if the server is in the process of shutting down due to a critical failure. Returns false if shutdown by administrator.
@Deprecated void start()
ServerRuntimeMBean.suspend()
and ServerRuntimeMBean.resume()
operations
instead of lock/unlock.Unlocks a server and enables it to receive new requests.
Servers can be locked with the java weblogic.Admin LOCK
command. In a locked state, a server instance accepts only administrative
logins.
java.lang.String getState()
The current life cycle state of this server.
For example, a server can be in a RUNNING state in which it can receive and process requests or in an ADMIN state in which it can receive only administrative requests.
boolean isShuttingDown()
Check if the server is shutting down.
true
if the server is gracefully or force shutting
downint getStateVal()
Returns current state of the server as in integer.
ServerStates
has more information
about the available server states
long getActivationTime()
The time when the server was started.
long getServerStartupTime()
The amount of time taken for the server to transition from
STARTING
to RUNNING
state.
@Deprecated java.lang.String getListenAddress()
ServerRuntimeMBean.getURL(java.lang.String)
The address on which this server is listening for connections through the default network channel.
For example this might return the string:
santiago/172.17.9.220
.
You can configure other network channels for this server, and the other channels can use different listen addresses.
ServerRuntimeMBean.getServerChannel(String)
java.net.InetSocketAddress getServerChannel(java.lang.String protocol)
The address on which this server is listening for connections that use the specified protocol.
Note: The listen address is persisted in the domain's
config.xml
file, however when a server instance is
started, a command-line option can override the persisted listen
address. This getServerChannel
method returns the
listen address that is currently being used, not necessarily the
address that is specified in config.xml
.
The returned address will always be resolved.
protocol
- the desired protocoljava.lang.String getDefaultURL()
The URL that clients use to connect to this server's default network channel.
The returned value indicates the default protocol, listen address and listen port:
protocol://listen-address:listen-port
Note: The default protocol, listen address and listen port are
persisted in the domain's config.xml
file, however
when a server instance is started, command-line options can
override these persisted values. This getDefaultURL
method returns the URL values that are currently being used, not
necessarily the values that are specified in
config.xml
.
The returned URL will be consistent with dynamic channel updates.
java.lang.String getAdministrationURL()
The URL that the server and its clients use for administrative connections.
If no administration channel is enabled, then this method returns the URL for connections through the default channel. If the default channel is de-activated, this method returns the URL for a secure channel. If no secure channel is enabled, the method returns null.
The returned URL will be consistent with dynamic channel updates.
java.lang.String getURL(java.lang.String protocol)
The URL that clients use when connecting to this server using the specified protocol.
Note: The listen address and listen port for a given protocol are
persisted in the domain's config.xml
file, however
when a server instance is started, command-line options can
override these persisted values. This getURL
method
returns the URL values that are currently being used, not
necessarily the values that are specified in
config.xml
.
protocol
- the desired protocoljava.lang.String getIPv4URL(java.lang.String protocol)
The URL that clients use when connecting to this server using the specified protocol.
Note: The listen address and listen port for a given protocol are
persisted in the domain's config.xml
file, however
when a server instance is started, command-line options can
override these persisted values. This getURL
method
returns the URL values that are currently being used, not
necessarily the values that are specified in
config.xml
.
protocol
- the desired protocoljava.lang.String getIPv6URL(java.lang.String protocol)
The URL that clients use when connecting to this server using the specified protocol.
Note: The listen address and listen port for a given protocol are
persisted in the domain's config.xml
file, however
when a server instance is started, command-line options can
override these persisted values. This getURL
method
returns the URL values that are currently being used, not
necessarily the values that are specified in
config.xml
.
protocol
- the desired protocol@Deprecated int getListenPort()
ServerRuntimeMBean.getURL(java.lang.String)
The port on which this server is listening for connections.
int getSSLListenPort()
ServerRuntimeMBean.getURL(java.lang.String)
The port on which this server is listening for SSL connections.
@Deprecated int getAdministrationPort()
ServerRuntimeMBean.getAdministrationURL()
The port on which this server is listening for administrative requests.
@Deprecated java.lang.String getSSLListenAddress()
ServerRuntimeMBean.getURL(java.lang.String)
The address on which this server is listening for SSL connections. For example this might return the string: santiago/172.17.9.220
java.lang.String getJVMID()
An identifier that the Java Virtual Machine (JVM) in which the server is running generates.
ServerIdentity getServerIdentity()
Return the JVMID of the server.
int getOpenSocketsCurrentCount()
The current number of sockets registered for socket muxing on this server.
@Deprecated int getRestartsTotalCount()
ServerLifeCycleRuntimeMBean.getNodeManagerRestartCount()
if the
NodeManager is used to start serversThe total number of restarts for this server since the cluster was last started.
@Deprecated SocketRuntime[] getSockets()
The Sockets which are currently connected to the server.
ServerChannelRuntimeMBean[] getServerChannelRuntimes()
The network channels that are currently configured on the server.
@Deprecated long getSocketsOpenedTotalCount()
ServerRuntimeMBean.getOpenSocketsCurrentCount()
instead. Both methods
return the same value. This method is being deprecated in favor of the
other method.The total number of registrations for socket muxing on this sever.
java.lang.String getMiddlewareHome()
The Oracle Middleware installation directory.
@Deprecated java.lang.String getOracleHome()
The directory where Oracle products are installed. Deprecated since 10.3.3
java.lang.String getWeblogicHome()
The directory where the WebLogic Server instance (server) is installed, without the trailing "/server".
java.lang.String getWeblogicVersion()
The version of this WebLogic Server instance (server).
JTARuntimeMBean getJTARuntime()
The transaction RuntimeMBean for this server.
JTARuntimeMBean
void setJTARuntime(JTARuntimeMBean b)
Sets the value of the JTARuntime attribute.
JVMRuntimeMBean getJVMRuntime()
The JVMRuntimeMBean for this server.
JVMRuntimeMBean
void setJVMRuntime(JVMRuntimeMBean b)
Sets the JVMRuntimeMBean for this server.
JMSRuntimeMBean getJMSRuntime()
The JMSRuntimeMBean for this server.
void setJMSRuntime(JMSRuntimeMBean b)
Set the JMSRuntimeMBean for this server.
@Deprecated MessagingBridgeRuntimeMBean getMessagingBridgeRuntime()
ServerRuntimeMBean.getMessagingBridgeRuntimes()
The MessagingBridgeRuntimeMBean for this server
void setMessagingBridgeRuntime(MessagingBridgeRuntimeMBean b)
Set the MessagingBridgeRuntimeMBean for this server
b
- MessagingBridgeRuntimeMBean[] getMessagingBridgeRuntimes()
The MessagingBridgeRuntimeMBeans for this server
boolean addMessagingBridgeRuntime(MessagingBridgeRuntimeMBean mb)
boolean removeMessagingBridgeRuntime(MessagingBridgeRuntimeMBean mb)
MessagingBridgeRuntimeMBean lookupMessagingBridgeRuntime(java.lang.String name)
name
- JDBCServiceRuntimeMBean getJDBCServiceRuntime()
The JDBCServiceRuntimeMBean for this server.
void setJDBCServiceRuntime(JDBCServiceRuntimeMBean b)
Set the JDBCServiceRuntimeMBean for this server.
WTCRuntimeMBean getWTCRuntime()
The WTCRuntimeMBean for this server.
void setWTCRuntime(WTCRuntimeMBean b)
Set the WTCRuntimeMBean for this server.
JoltConnectionServiceRuntimeMBean getJoltRuntime()
The JoltConnectionServiceRuntimeMBean for this server.
void setJoltRuntime(JoltConnectionServiceRuntimeMBean b)
Set the JoltConnectionServiceRuntimeMBean for this server.
ServerSecurityRuntimeMBean getServerSecurityRuntime()
Return the ServerSecurityRuntimeMBean for this server.
void setServerSecurityRuntime(ServerSecurityRuntimeMBean b)
Set the ServerSecurityRuntimeMBean for this server.
ClusterRuntimeMBean getClusterRuntime()
Return an MBean which represents this server's view of its cluster, if any.
void setClusterRuntime(ClusterRuntimeMBean b)
Set an MBean which represents this server's view of its cluster, if any.
EntityCacheCurrentStateRuntimeMBean getEntityCacheCurrentStateRuntime()
Return an MBean which represents Current Status of the XML Cache.
void setEntityCacheCurrentStateRuntime(EntityCacheCurrentStateRuntimeMBean b)
Set an MBean which represents Current Status of the XML Cache.
EntityCacheCumulativeRuntimeMBean getEntityCacheCumulativeRuntime()
Return an MBean which represents Cumulative Status of the XML Cache.
void setEntityCacheCumulativeRuntime(EntityCacheCumulativeRuntimeMBean b)
Set an MBean which represents Cumulative Status of the XML Cache.
EntityCacheCumulativeRuntimeMBean getEntityCacheHistoricalRuntime()
Return an MBean which represents Historical Status of the XML Cache.
void setEntityCacheHistoricalRuntime(EntityCacheCumulativeRuntimeMBean b)
Set an MBean which represents Historical Status of the XML Cache.
ThreadPoolRuntimeMBean getThreadPoolRuntime()
Get the self-tuning thread pool's runtime information. This call
will return null
if the self-tuning implementation is
not enabled.
void setThreadPoolRuntime(ThreadPoolRuntimeMBean tprmb)
Set an MBean which exposes self-tuning runtime information.
ClassLoaderRuntimeMBean getClassLoaderRuntime()
Get statistics for system-level class loading.
void setClassLoaderRuntime(ClassLoaderRuntimeMBean r)
void setTimerRuntime(TimerRuntimeMBean timerRuntimeMBean)
Set an MBean which exposes timer runtime information.
TimerRuntimeMBean getTimerRuntime()
Get the runtime information about the WebLogic timer implementation.
void setTimeServiceRuntime(TimeServiceRuntimeMBean timerRuntimeMBean)
Set an MBean which exposes timer runtime information.
TimeServiceRuntimeMBean getTimeServiceRuntime()
Get the runtime information about the WebLogic timer implementation.
ExecuteQueueRuntimeMBean getDefaultExecuteQueueRuntime()
Return an MBean which exposes this server's default execute queue.
void setDefaultExecuteQueueRuntime(ExecuteQueueRuntimeMBean b)
Set an MBean which exposes this server's default execute queue.
ExecuteQueueRuntimeMBean[] getExecuteQueueRuntimes()
Returns an array of MBeans which exposes this server's active execute queues.
boolean addExecuteQueueRuntime(ExecuteQueueRuntimeMBean q)
boolean removeExecuteQueueRuntime(ExecuteQueueRuntimeMBean q)
WorkManagerRuntimeMBean[] getWorkManagerRuntimes()
Returns an array of MBeans which exposes this server's active internal WorkManagers.
boolean addWorkManagerRuntime(WorkManagerRuntimeMBean q)
boolean removeWorkManagerRuntime(WorkManagerRuntimeMBean q)
MinThreadsConstraintRuntimeMBean lookupMinThreadsConstraintRuntime(java.lang.String name)
RequestClassRuntimeMBean lookupRequestClassRuntime(java.lang.String name)
MaxThreadsConstraintRuntimeMBean lookupMaxThreadsConstraintRuntime(java.lang.String name)
boolean addMaxThreadsConstraintRuntime(MaxThreadsConstraintRuntimeMBean temp)
boolean addMinThreadsConstraintRuntime(MinThreadsConstraintRuntimeMBean temp)
boolean addRequestClassRuntime(RequestClassRuntimeMBean temp)
temp
- MaxThreadsConstraintRuntimeMBean[] getMaxThreadsConstraintRuntimes()
Returns an array of RuntimeMBeans which exposes this server's globally defined MaxThreadsConstraints.
MinThreadsConstraintRuntimeMBean[] getMinThreadsConstraintRuntimes()
Returns an array of RuntimeMBeans which exposes this server's globally defined MinThreadsConstraints.
RequestClassRuntimeMBean[] getRequestClassRuntimes()
Returns an array of RuntimeMBeans which exposes this server's globally defined Request Classes.
java.lang.String getAdminServerHost()
The address on which the Administration Server is listening for connections. For example, this might return the string: santiago
int getAdminServerListenPort()
The port on which the Administration Server is listening for connections.
boolean isAdminServerListenPortSecure()
Indicates whether the port that the server uses for administrative traffic is configured to use a secure protocol.
boolean isListenPortEnabled()
Indicates whether the default listen port is enabled on the server.
boolean isSSLListenPortEnabled()
Indicates whether the default SSL listen port is enabled on the server
boolean isAdministrationPortEnabled()
Indicates whether the administration port is enabled on the server
HealthState getHealthState()
The health state of the server as reported by the server's self-health monitoring.
For example, the server can report if it is overloaded by too many requests, if it needs more memory resources, or if it will soon fail for other reasons.
getHealthState
in interface HealthFeedback
HealthState
javax.management.openmbean.CompositeData getHealthStateJMX() throws javax.management.openmbean.OpenDataException
The HealthState object returned as a CompositeData type.
javax.management.openmbean.OpenDataException
ServerRuntimeMBean.getHealthState()
,
HealthState
HealthState getOverallHealthState()
Determine the overall health state of this server, taking into account the health of each of its subsystems.
HealthState
javax.management.openmbean.CompositeData getOverallHealthStateJMX() throws javax.management.openmbean.OpenDataException
The overall health state of this server returned as a CompositeData type.
javax.management.openmbean.OpenDataException
ServerRuntimeMBean.getOverallHealthState()
,
HealthState
@Deprecated void setHealthState(int state, java.lang.String reason)
For Server Health Monitoring.
state
- The new healthState valuereason
- The new healthState valuevoid setHealthState(int state, Symptom symptom)
For Server Health Monitoring.
state
- The new healthState valuesymptom
- Symptomboolean isAdminServer()
Indicates whether the server is an Administration Server.
java.lang.String getCurrentDirectory()
The absolute path of the directory from which the server was started.
This may be used in conjunction with other relative paths in ServerMBean to compute full paths.
ServerMBean
ApplicationRuntimeMBean[] getApplicationRuntimes()
Returns the list of currently running Applications
ApplicationRuntimeMBean lookupApplicationRuntime(java.lang.String name)
Returns the ApplicationRuntimeMBean asked for, by name.
name
- LibraryRuntimeMBean[] getLibraryRuntimes()
Returns all deployed Libraries
LibraryRuntimeMBean lookupLibraryRuntime(java.lang.String name)
Returns the LibraryRuntimeMBean asked for, by name.
name
- LogBroadcasterRuntimeMBean getLogBroadcasterRuntime() throws ManagementException
The object which generates notifications on behalf of the logging subystem.
ManagementException
@Deprecated LogRuntimeMBean getLogRuntime()
Return the MBean which provides access to the control interface for WLS server logging.
ServerLogRuntimeMBean getServerLogRuntime()
Return the MBean which provides access to the control interface for WLS server logging.
void setServerLogRuntime(ServerLogRuntimeMBean bean)
WLDFRuntimeMBean getWLDFRuntime()
Return the MBean which provides access to all Diagnostic runtime MBeans.
void setWLDFRuntime(WLDFRuntimeMBean bean)
MANReplicationRuntimeMBean getMANReplicationRuntime()
Return an MBean which represents this server's view of its MANReplicationRuntime, if any.
void setMANReplicationRuntime(MANReplicationRuntimeMBean mbean)
Set an MBean which represents MANReplicationRuntime if any.
WANReplicationRuntimeMBean getWANReplicationRuntime()
Return an MBean which represents this server's view of its WANReplicationRuntime, if any.
void setWANReplicationRuntime(WANReplicationRuntimeMBean mbean)
Set an MBean which represents WANReplicationRuntime if any.
@Deprecated void setCurrentMachine(java.lang.String machineName)
Return the machine on which the server is running. This will be different from the configuration if the server gets migrated automatically.
machineName
- java.lang.String getCurrentMachine()
Return the machine on which the server is running. This will be different from the configuration if the server gets migrated automatically.
void restartSSLChannels()
Restart all SSL channels on which the server is listening. This could be necessary because of some change that the server is not aware of, for instance updates to the keystore.
HealthState[] getSubsystemHealthStates()
Returns an array of health states for major subsystems in the server. Exposed only to console to display a table of health states
java.util.HashMap getServerServiceVersions()
Returns a map of ServerService names and their versions. The key is the service name and the value is the version string. This method is provided primarily for console and is not intended for remote use.
MailSessionRuntimeMBean[] getMailSessionRuntimes()
Return the runtimeMBeans for JavaMail Mail Sessions
boolean addMailSessionRuntime(MailSessionRuntimeMBean r)
boolean removeMailSessionRuntime(MailSessionRuntimeMBean r)
PersistentStoreRuntimeMBean[] getPersistentStoreRuntimes()
Returns the mbeans that provides runtime information for each PersistentStore.
PersistentStoreRuntimeMBean lookupPersistentStoreRuntime(java.lang.String name)
Returns the Runtime mbean for the persistent store with the specified short name.
name
- void addPersistentStoreRuntime(PersistentStoreRuntimeMBean r)
void removePersistentStoreRuntime(PersistentStoreRuntimeMBean r)
ConnectorServiceRuntimeMBean getConnectorServiceRuntime()
The access point for server wide control and monitoring of the Connector Container.
void setConnectorServiceRuntime(ConnectorServiceRuntimeMBean connectorService)
Establish the access point for server wide control and monitoring of the Connector Container.
connectorService
- the Service MBean for this server instance.WebServerRuntimeMBean[] getWebServerRuntimes()
Returns all the initialized webservers
boolean addWebServerRuntime(WebServerRuntimeMBean r)
Add a webserver
boolean removeWebServerRuntime(WebServerRuntimeMBean r)
Remove a webserver
java.lang.String[] getPendingRestartSystemResources()
Returns all the System Resources that need to be restarted
boolean addPendingRestartSystemResource(java.lang.String s)
Add a System Resource to the restart list
boolean removePendingRestartSystemResource(java.lang.String s)
Remove a System Resource from the resart list
boolean isRestartPendingForSystemResource(java.lang.String name)
Returns if a SystemResource has pending restart or not.
boolean isRestartRequired()
Indicates whether the server must be restarted in order to activate configuration changes.
void setRestartRequired(boolean restartRequired)
void setPartitionRestartRequired(java.lang.String partitionName, boolean restartRequired)
Marks the partition to be restarted in order to activate configuration changes.
boolean isPartitionRestartRequired(java.lang.String partitionName)
Indicates whether the partition must be restarted in order to activate configuration changes.
java.lang.String[] getPendingRestartPartitions()
Returns all the partitions that need to be restarted in order to activate configuration changes
java.lang.String getServerClasspath()
Get the classpath for this server including domain/lib contents that are automatically picked up and appended to the classpath.
@Deprecated PathServiceRuntimeMBean getPathServiceRuntime()
ServerRuntimeMBean.getPathServiceRuntimes()
Domain scoped PathServiceRuntimeMBean for this server.
@Deprecated void setPathServiceRuntime(PathServiceRuntimeMBean b)
ServerRuntimeMBean.addPathServiceRuntime(weblogic.management.runtime.PathServiceRuntimeMBean, boolean)
PathServiceRuntimeMBean[] getPathServiceRuntimes()
Array of all PathServiceRuntimeMBean instances for Domain partition.
boolean addPathServiceRuntime(PathServiceRuntimeMBean psr, boolean isDomainScope)
isDomainScope
- when isDomainScope is true, getPathServiceRuntime() returns psr.boolean removePathServiceRuntime(PathServiceRuntimeMBean psr, boolean isDomainScope)
isDomainScope
- when isDomainScope is true, getPathServiceRuntime() returns null.boolean isClusterMaster()
Indicates whether the server is the ClusterMaster of a cluster which is configured for server migration.
SAFRuntimeMBean getSAFRuntime()
The SAFRuntimeMBean for this server.
void setSAFRuntime(SAFRuntimeMBean b)
Set the SAFRuntimeMBean for this server.
SNMPAgentRuntimeMBean getSNMPAgentRuntime()
Return the MBean which provides access to the monitoring statistics for WLS SNMP Agent.
void setSNMPAgentRuntime(SNMPAgentRuntimeMBean bean)
void setSingleSignOnServicesRuntime(SingleSignOnServicesRuntimeMBean ssoRuntimeMBean)
Set an MBean which exposes single sign-on services publishing.
setSingleSignOnServicesRuntime
in interface ServerRuntimeSecurityAccess
SingleSignOnServicesRuntimeMBean getSingleSignOnServicesRuntime()
Get the runtime interface to publish single sign-on services information.
boolean isServiceAvailable(java.lang.String service)
returns true if the named service is available (configured, licensed & running)
The service String is either ServerService.EJB, ServerService.CONNECTOR, ServerService.JMS or the Bundle-SymbolicName of a service plugin
ServerService
MANAsyncReplicationRuntimeMBean getMANAsyncReplicationRuntime()
Return an MBean which represents this server's view of its MANAsyncReplicationRuntime, if any.
void setMANAsyncReplicationRuntime(MANAsyncReplicationRuntimeMBean manAsyncReplicationRuntime)
manAsyncReplicationRuntime
- AsyncReplicationRuntimeMBean getAsyncReplicationRuntime()
Return an MBean which represents this server's view of its AsyncReplicationRuntime, if any.
void setAsyncReplicationRuntime(AsyncReplicationRuntimeMBean runtime)
runtime
- AsyncReplicationRuntimeMBeanint getStableState()
It returns the end state for the server if it's transitioning or the current state if it is already in stable state
void setWseeWsrmRuntime(WseeWsrmRuntimeMBean r)
WseeWsrmRuntimeMBean getWseeWsrmRuntime()
Get statistics for web services reliable messaging across the entire server if any web service is deployed that employs reliable messaging. This MBean is null otherwise.
void setWseeClusterFrontEndRuntime(WseeClusterFrontEndRuntimeMBean r)
WseeClusterFrontEndRuntimeMBean getWseeClusterFrontEndRuntime()
This is non-null only when this server is running as a host to a front-end proxy (HttpClusterServlet) instance.
PartitionRuntimeMBean[] getPartitionRuntimes()
Returns the list of partition runtime beans
PartitionRuntimeMBean lookupPartitionRuntime(java.lang.String name)
Returns named partition runtime bean
name
- void addPartitionRuntime(PartitionRuntimeMBean r)
void removePartitionRuntime(PartitionRuntimeMBean r)
ConcurrentManagedObjectsRuntimeMBean getConcurrentManagedObjectsRuntime()
The ConcurrentManagedObjectsRuntimeMBean for this server.
ConcurrentManagedObjectsRuntimeMBean
void setConcurrentManagedObjectsRuntime(ConcurrentManagedObjectsRuntimeMBean r)
Sets the ConcurrentManagedObjectsRuntimeMBean for this server.
BatchJobRepositoryRuntimeMBean getBatchJobRepositoryRuntime()
Gets the BatchJobRepositoryRuntimeMBean for this server.
void setBatchJobRepositoryRuntime(BatchJobRepositoryRuntimeMBean mbean)
Sets the BatchJobRepositoryRuntimeMBean for this server.
void bootPartition(java.lang.String partitionName) throws PartitionLifeCycleException
Boots the partition
partitionName
- name of the partition to bootPartitionLifeCycleException
- partition failed to boot.void startPartition(java.lang.String partitionName) throws PartitionLifeCycleException
starts the partition.
partitionName
- The resource group namePartitionLifeCycleException
- partition failed to start.void startPartitionInAdmin(java.lang.String partitionName) throws PartitionLifeCycleException
starts the Partition in ADMIN state. Applications and resources are
fully available to administrators in ADMIN
state.
But non-admin users are denied access to applications and resources
partitionName
- PartitionLifeCycleException
- partition failed to start in admin mode.void startResourceGroup(java.lang.String resourceGroupName) throws ResourceGroupLifecycleException
starts the resource group.
resourceGroupName
- The resource group nameResourceGroupLifecycleException
- partition failed to start.void startResourceGroupInAdmin(java.lang.String resourceGroupName) throws ResourceGroupLifecycleException
starts the resource group in ADMIN state. Applications and resources are
fully available to administrators in ADMIN
state.
But non-admin users are denied access to applications and resources
resourceGroupName
- ResourceGroupLifecycleException
- resource group failed to start in admin mode.void suspendResourceGroup(java.lang.String resourceGroupName, int timeout, boolean ignoreSessions) throws ResourceGroupLifecycleException
Suspend resource group. Deny new requests (except by privileged users).
Allow pending requests to complete. This operation transitions the
partition into ADMIN
state. Applications and resources are
fully available to administrators in ADMIN
state.
But non-admin users are denied access to applications and resources
resourceGroupName
- timeout
- ignoreSessions
- ResourceGroupLifecycleException
void suspendResourceGroup(java.lang.String resourceGroupName) throws ResourceGroupLifecycleException
Suspend resource group. Deny new requests (except by privileged users).
Allow pending requests to complete. This operation transitions the
partition into ADMIN
state. Applications and resources are
fully available to administrators in ADMIN
state.
But non-admin users are denied access to applications and resources
resourceGroupName
- ResourceGroupLifecycleException
ServerRuntimeMBean.suspendResourceGroup(String, int, boolean)
void forceSuspendResourceGroup(java.lang.String resourceGroupName) throws ResourceGroupLifecycleException
Transitions the resource group from RUNNING
to ADMIN
state forcefully cancelling inflight work.
Work that cannot be cancelled is dropped. Applications are
brought into the admin mode. This is the supported way of force
suspending the resource group and getting it into ADMIN
state.
resourceGroupName
- ResourceGroupLifecycleException
- partition failed to force suspend.
A ServerRuntimeMBean.forceShutdown()
operation can be invoked.void resumeResourceGroup(java.lang.String resourceGroupName) throws ResourceGroupLifecycleException
Resume suspended resource group. Allow new requests. This operation transitions
the resource group into RUNNING
state.
resourceGroupName
- ResourceGroupLifecycleException
- if this operation fails to complete.
The resource group transitions back to the previous state from which this operation
was invoked e.g. if the resource group was in the ADMIN
state before
this operation, it will go back to the ADMIN
state if
resume fails.void forceShutdownResourceGroup(java.lang.String resourceGroupName) throws ResourceGroupLifecycleException
Force shutdown the resource group. Causes the resource group to reject new requests and fail pending requests.
resourceGroupName
- ResourceGroupLifecycleException
- Thrown when the resource group cannot
force shutdown due to a fatal exception. Even after this exception is
thrown indicating failure the partition exits after PartitionLifeCycleTimeoutVal
seconds defined in the PartitionMBean.void shutdownResourceGroup(java.lang.String resourceGroupName, int timeout, boolean ignoreSessions, boolean waitForAllSessions) throws ResourceGroupLifecycleException
Gracefully shuts down the resource group after handling inflight work; optionally ignores pending HTTP sessions while handling inflight work.
The following inflight work is allowed to complete before shutdown:
Pending transaction's and TLOG checkpoint
Pending HTTP sessions
Pending JMS work
Pending work in the execute queues
RMI requests with transaction context
Further administrative calls are accepted while the server is completing inflight work. For example a forceShutdown command can be issued to quickly shutdown the partition if graceful shutdown takes a long time.
resourceGroupName
- timeout
- Number of seconds to wait before aborting
inflight work and shutting down the partition.ignoreSessions
- true
indicates ignore pending
HTTP sessions during inflight work handling.waitForAllSessions
- true
indicates waiting for
all HTTP sessions during inflight work handling; false
indicates
waiting for non-persisted HTTP sessions only.PartitionLifeCycleException
- Thrown if the partition cannot
gracefully shutdown. Use the forceShutdown command to shutdown the server.ResourceGroupLifecycleException
void shutdownResourceGroup(java.lang.String resourceGroupName, int timeout, boolean ignoreSessions) throws ResourceGroupLifecycleException
Gracefully shuts down the resource group after handling inflight work.
This method is same to call: shutdown(timeout, ignoreSessions, false);
resourceGroupName
- timeout
- ignoreSessions
- ResourceGroupLifecycleException
ServerRuntimeMBean.shutdownResourceGroup(String, int, boolean, boolean)
void shutdownResourceGroup(java.lang.String resourceGroupName) throws ResourceGroupLifecycleException
Gracefully shuts down the resource group after handling inflight work.
resourceGroupName
- ResourceGroupLifecycleException
ServerRuntimeMBean.shutdownResourceGroup(String, int, boolean, boolean)
void setRgState(java.lang.String resourceGroupName, java.lang.String state) throws ResourceGroupLifecycleException
resourceGroupName
- state
- ResourceGroupLifecycleException
java.lang.String getRgState(java.lang.String resourceGroupName) throws ResourceGroupLifecycleException
resourceGroupName
- ResourceGroupLifecycleException
ResourceGroupLifecycleOperations.RGState getInternalRgState(java.lang.String resourceGroupName) throws ResourceGroupLifecycleException
resourceGroupName
- ResourceGroupLifecycleException
java.lang.String getName()
The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.
getName
in interface WebLogicMBean
boolean isResourceGroupPresent(java.lang.String resourceGroupName) throws ResourceGroupLifecycleException
resourceGroupName
- ResourceGroupLifecycleException
void forceRestartPartition(java.lang.String partitionName) throws PartitionLifeCycleException
partitionName
- PartitionLifeCycleException
void forceRestartPartition(java.lang.String partitionName, long restartDelayMillis) throws PartitionLifeCycleException
forceRestartPartition
method was invoked.partitionName
- the partition to be restartedrestartDelayMillis
- time in milliseconds to wait after halt before restartingPartitionLifeCycleException
AggregateProgressMBean getAggregateProgress()
void setAggregateProgress(AggregateProgressMBean aggregateMeter)
boolean isInSitConfigState()
void setInSitConfigState(boolean setter)
java.lang.String[] getPatchList()
BugNumber;PatchID;DateApplied;Description