Server MBean

All Parent MBeans:
Stateful, EventProvider, J2EEManagedObject

Partial ObjectName:
WebSphere:*,type=Server,j2eeType=J2EEServer


MBean Server

Managed object for overall server process.


Attribute Summary
java.lang.Stringname
           The name of the server.
java.lang.StringshortName
           The short name of the server.
intthreadMonitorInterval
           Specifies the frequency (in seconds) at which threads will be checked to determine if they are hung.
intthreadMonitorThreshold
           Specifies the latency (in seconds) after which a thread is considered to be hung.
intthreadMonitorAdjustmentThreshold
           Specifies the number of falsely reported hangs that will be allowed before the threadMonitorThreshold is automatically increased.
java.lang.Stringpid
           Process id for the server process.
java.lang.StringcellName
           The name of the cell in which this server is running.
java.lang.StringcellShortName
           The short name of the cell in which this server is running.
java.lang.String[]deployedObjects
           The applications and modules deployed on this Server
java.lang.String[]javaVMs
           The java VMs of this Server which have running threads
java.lang.StringnodeName
           The name of the node on which this server is running.
java.lang.StringnodeShortName
           The short name of the node on which this server is running.
java.lang.StringprocessType
           The type of process in which this server is running.
java.lang.String[]resources
           The resources deployed on this Server
java.lang.StringserverVersion
           serverVersion
java.lang.StringserverVendor
           serverVendor
java.lang.Stringstate
           The state of the process in which this server is running.
java.lang.StringplatformName
           WebSphere Platform Name
java.lang.StringplatformVersion
           WebSphere Platform Version
java.lang.StringinternalClassAccessMode
           Internal Class Access Mode

Attributes inherited from MBean J2EEManagedObject
objectName, stateManageable, statisticsProvider, eventProvider

Attributes inherited from MBean EventProvider
eventTypes

Operation Summary
StringdumpThreadMonitorHungThreads()
           Determine the list of worker threads that have been active longer than the thread monitor threshold.
java.lang.StringgetProductVersion(java.lang.String productID)
           Gets the XML Version data for the specified product.
java.lang.StringgetComponentVersion(java.lang.String componentID)
           Gets the XML Version data for the specified component.
java.lang.StringgetEFixVersion(java.lang.String efixID)
           Gets the XML Version data for the specified ifix.
java.lang.StringgetPTFVersion(java.lang.String ptfID)
           Gets the XML Version data for the specified PTF.
java.lang.StringgetExtensionVersion(java.lang.String extensionID)
           Gets the XML Version data for the specified extension.
java.lang.String[]getVersionsForAllProducts()
           Gets the XML Version data for the all installed products.
java.lang.String[]getVersionsForAllComponents()
           Gets the XML Version data for the all installed components.
java.lang.String[]getVersionsForAllEFixes()
           Gets the XML Version data for the all installed ifixes.
java.lang.String[]getVersionsForAllPTFs()
           Gets the XML Version data for the all installed PTFs.
java.lang.String[]getVersionsForAllExtensions()
           Gets the XML Version data for the all installed extension.
voidstop()
           Stop the server process.
voidstopImmediate()
           Stop the server process without going through application shutdown.
voidstop(java.lang.Boolean callback, java.lang.Integer port)
           Stop the server process and callback.
voidstop(java.lang.String host, java.lang.Integer port)
           Stop the server process and callback to a host and port.
voidrestart()
           Restart the server process.

Notifications inherited from MBean Stateful
j2ee.state.starting, j2ee.state.running, j2ee.state.stopping, j2ee.state.stopped, j2ee.state.failed

Attributes inherited from MBean EventProvider
j2ee.attribute.changed

Attribute Detail

name

public java.lang.String name
The name of the server.
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

shortName

public java.lang.String shortName
The short name of the server.
Since:
6.0
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

threadMonitorInterval

public int threadMonitorInterval
Specifies the frequency (in seconds) at which threads will be checked to determine if they are hung. A non-positive value disables checking.
Since:
5.0.3
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
Setter:
administrator
operator

threadMonitorThreshold

public int threadMonitorThreshold
Specifies the latency (in seconds) after which a thread is considered to be hung.
Since:
5.0.3
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
Setter:
administrator
operator

threadMonitorAdjustmentThreshold

public int threadMonitorAdjustmentThreshold
Specifies the number of falsely reported hangs that will be allowed before the threadMonitorThreshold is automatically increased. A non-positive value disables automatic adjustment.
Since:
5.0.3
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
Setter:
administrator
operator

pid

public java.lang.String pid
Process id for the server process.
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

cellName

public java.lang.String cellName
The name of the cell in which this server is running.
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

cellShortName

public java.lang.String cellShortName
The short name of the cell in which this server is running.
Since:
6.0
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

deployedObjects

public java.lang.String[] deployedObjects
The applications and modules deployed on this Server
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

javaVMs

public java.lang.String[] javaVMs
The java VMs of this Server which have running threads
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

nodeName

public java.lang.String nodeName
The name of the node on which this server is running.
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

nodeShortName

public java.lang.String nodeShortName
The short name of the node on which this server is running.
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

processType

public java.lang.String processType
The type of process in which this server is running.
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

resources

public java.lang.String[] resources
The resources deployed on this Server
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

serverVersion

public java.lang.String serverVersion
serverVersion
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

serverVendor

public java.lang.String serverVendor
serverVendor
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

state

public java.lang.String state
The state of the process in which this server is running.
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

platformName

public java.lang.String platformName
WebSphere Platform Name
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

platformVersion

public java.lang.String platformVersion
WebSphere Platform Version
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

internalClassAccessMode

public java.lang.String internalClassAccessMode
Internal Class Access Mode
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

Operation Detail

dumpThreadMonitorHungThreads

public String dumpThreadMonitorHungThreads()
Determine the list of worker threads that have been active longer than the thread monitor threshold.
Since:
8.5.5
Security Roles:
administrator
operator

getProductVersion

public java.lang.String getProductVersion(java.lang.String productID)
Gets the XML Version data for the specified product.
Parameters:
productID - ID String for the desired product.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

getComponentVersion

public java.lang.String getComponentVersion(java.lang.String componentID)
Gets the XML Version data for the specified component.
Parameters:
componentID - ID String for the desired component.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

getEFixVersion

public java.lang.String getEFixVersion(java.lang.String efixID)
Gets the XML Version data for the specified ifix.
Parameters:
efixID - ID String for the desired ifix.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

getPTFVersion

public java.lang.String getPTFVersion(java.lang.String ptfID)
Gets the XML Version data for the specified PTF.
Parameters:
ptfID - ID String for the desired PTF.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

getExtensionVersion

public java.lang.String getExtensionVersion(java.lang.String extensionID)
Gets the XML Version data for the specified extension.
Parameters:
extensionID - ID String for the desired extension.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

getVersionsForAllProducts

public java.lang.String[] getVersionsForAllProducts()
Gets the XML Version data for the all installed products.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

getVersionsForAllComponents

public java.lang.String[] getVersionsForAllComponents()
Gets the XML Version data for the all installed components.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

getVersionsForAllEFixes

public java.lang.String[] getVersionsForAllEFixes()
Gets the XML Version data for the all installed ifixes.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

getVersionsForAllPTFs

public java.lang.String[] getVersionsForAllPTFs()
Gets the XML Version data for the all installed PTFs.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

getVersionsForAllExtensions

public java.lang.String[] getVersionsForAllExtensions()
Gets the XML Version data for the all installed extension.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

stop

public void stop()
Stop the server process.
Security Roles:
administrator
operator

stopImmediate

public void stopImmediate()
Stop the server process without going through application shutdown.
Security Roles:
administrator
operator

stop

public void stop(java.lang.Boolean callback, java.lang.Integer port)
Stop the server process and callback.
Parameters:
callback - perform callback to requester.
port - port number for callback.
Security Roles:
administrator
operator

stop

public void stop(java.lang.String host, java.lang.Integer port)
Stop the server process and callback to a host and port.
Parameters:
host - host for callback.
port - port number for callback.
Since:
7.0
Security Roles:
administrator
operator

restart

public void restart()
Restart the server process.
Since:
6.0
Security Roles:
administrator
operator

Copyright IBM Corp. 1996-2005