WebServer MBean

Partial ObjectName:
WebSphere:*,type=WebServer


MBean WebServer

Managed object for Web Server functions


Operation Summary
java.lang.Stringstatus(java.lang.String serverName)
           Get the WebServer status.
java.lang.Stringstatus(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName)
           Get the WebServer status.
java.lang.Stringstart(java.lang.String serverName)
           Start the WebServer.
java.lang.Stringstart(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName)
           Start the WebServer.
java.lang.Stringstop(java.lang.String serverName)
           Stop the WebServer.
java.lang.Stringstop(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName)
           Stop the WebServer.
java.lang.Stringupload(java.lang.String serverName, java.io.File sourceFile, java.lang.String destPath)
           Upload from WAS repository to the WebServer machine.
java.lang.Stringupload(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName, java.io.File sourceFile, java.lang.String destPath)
           Upload from WAS repository to the WebServer machine.
java.lang.Stringdownload(java.lang.String serverName, java.lang.String sourcePath, java.io.File destFile)
           Download from WAS repository to target WebServer machine.
java.lang.Stringdownload(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName, java.lang.String sourcePath, java.io.File destFile)
           Download from WAS repository to target WebServer machine.
java.lang.Stringdownload(java.lang.String serverName, java.lang.String sourcePath, java.io.File destFile, long beginIndex, long endIndex)
           Download from WAS repository to target WebServer machine.
java.lang.Stringdownload(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName, java.lang.String sourcePath, java.io.File destFile, long beginIndex, long endIndex)
           Download from WAS repository to target WebServer machine.
longlinecount(java.lang.String serverName, java.lang.String destPath)
           Obtain number of lines for specified file on target WebServer machine.
longlinecount(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName, java.lang.String destPath)
           Obtain number of lines for specified file on target WebServer machine.
java.lang.Stringping(java.lang.String serverName)
           Ping the WebServer.
java.lang.Stringping(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName)
           Ping the WebServer.

Operation Detail

status

public java.lang.String status(java.lang.String serverName)
Get the WebServer status.
Parameters:
serverName - The name of the server.
Security Roles:
administrator
operator

status

public java.lang.String status(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName)
Get the WebServer status.
Parameters:
cellName - The cell where the server is located.
nodeName - The node where the server is located.
serverName - The name of the server.
Security Roles:
administrator
operator

start

public java.lang.String start(java.lang.String serverName)
Start the WebServer.
Parameters:
serverName - The name of the server.
ResourceInstanceIdentifier
The resource being modified for the MBean is of type Server
The instance is identified by the value of the parameter

Security Roles:
administrator
operator

start

public java.lang.String start(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName)
Start the WebServer.
Parameters:
cellName - The cell where the server is located.
nodeName - The node where the server is located.
ResourceInstanceIdentifier
The resource being modified for the MBean is of type Node
The instance is identified by the value of the parameter

serverName - The name of the server.
ResourceInstanceIdentifier
The resource being modified for the MBean is of type Server
The instance is identified by the value of the parameter

Security Roles:
administrator
operator

stop

public java.lang.String stop(java.lang.String serverName)
Stop the WebServer.
Parameters:
serverName - The name of the server.
ResourceInstanceIdentifier
The resource being modified for the MBean is of type Server
The instance is identified by the value of the parameter

Security Roles:
administrator
operator

stop

public java.lang.String stop(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName)
Stop the WebServer.
Parameters:
cellName - The cell where the server is located.
nodeName - The node where the server is located.
ResourceInstanceIdentifier
The resource being modified for the MBean is of type Node
The instance is identified by the value of the parameter

serverName - The name of the server.
ResourceInstanceIdentifier
The resource being modified for the MBean is of type Server
The instance is identified by the value of the parameter

Security Roles:
administrator
operator

upload

public java.lang.String upload(java.lang.String serverName, java.io.File sourceFile, java.lang.String destPath)
Upload from WAS repository to the WebServer machine.
Parameters:
serverName - The name of the server.
sourceFile - The file to upload.
destPath - The destination path for the file at the cell manager.
Security Roles:
administrator
operator

upload

public java.lang.String upload(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName, java.io.File sourceFile, java.lang.String destPath)
Upload from WAS repository to the WebServer machine.
Parameters:
cellName - The cell where the server is located.
nodeName - The node where the server is located.
serverName - The name of the server.
sourceFile - The file to upload.
destPath - The destination path for the file at the cell manager.
Security Roles:
administrator
operator

download

public java.lang.String download(java.lang.String serverName, java.lang.String sourcePath, java.io.File destFile)
Download from WAS repository to target WebServer machine.
Parameters:
serverName - The name of the server.
sourcePath - The source location of the file to download from the cell manager.
destFile - The target file to create.
Security Roles:
administrator
operator

download

public java.lang.String download(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName, java.lang.String sourcePath, java.io.File destFile)
Download from WAS repository to target WebServer machine.
Parameters:
cellName - The cell where the server is located.
nodeName - The node where the server is located.
serverName - The name of the server.
sourcePath - The source location of the file to download from the cell manager.
destFile - The target file to create.
Security Roles:
administrator
operator

download

public java.lang.String download(java.lang.String serverName, java.lang.String sourcePath, java.io.File destFile, long beginIndex, long endIndex)
Download from WAS repository to target WebServer machine.
Parameters:
serverName - The name of the server.
sourcePath - The source location of the file to download from the cell manager.
destFile - The target file to create.
beginIndex - The index to begin the partial file transfer.
endIndex - The index to end the partial file transfer.
Security Roles:
administrator
operator

download

public java.lang.String download(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName, java.lang.String sourcePath, java.io.File destFile, long beginIndex, long endIndex)
Download from WAS repository to target WebServer machine.
Parameters:
cellName - The cell where the server is located.
nodeName - The node where the server is located.
serverName - The name of the server.
sourcePath - The source location of the file to download from the cell manager.
destFile - The target file to create.
beginIndex - The index to begin the partial file transfer.
endIndex - The index to end the partial file transfer.
Security Roles:
administrator
operator

linecount

public long linecount(java.lang.String serverName, java.lang.String destPath)
Obtain number of lines for specified file on target WebServer machine.
Parameters:
serverName - The name of the server.
destPath - The target file to get the line count from.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

linecount

public long linecount(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName, java.lang.String destPath)
Obtain number of lines for specified file on target WebServer machine.
Parameters:
cellName - The cell where the server is located.
nodeName - The node where the server is located.
serverName - The name of the server.
destPath - The target file to get the line count from.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

ping

public java.lang.String ping(java.lang.String serverName)
Ping the WebServer.
Parameters:
serverName - The name of the server.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

ping

public java.lang.String ping(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName)
Ping the WebServer.
Parameters:
cellName - The cell where the server is located.
nodeName - The node where the server is located.
serverName - The name of the server.
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

Copyright IBM Corp. 1996-2005