BPMShowServer command
This command lists information for a federated Process Server instance in a Process Center.
Purpose
Note: In an environment with multiple security domains
configured, use the PALService MBean instead of this wsadmin command.
See Scripting tools for managing process applications.
Use the BPMShowServer command in connected mode from either a Process Center server or a Process Server to return detailed information about a server instance. In a network deployment environment, you must run this command on the node containing the application cluster member that handles Process Server or Process Center applications. Do not run this command from the deployment manager profile.
Note: If you are using a SOAP
connection, the command can take longer to complete than the specified
SOAP timeout value. Although the command continues to run until it
is finished, you might see the exception java.net.SocketTimeoutException:
Read timed out. To prevent this exception, set a higher
value for the com.ibm.SOAP.requestTimeout property in the profile_root/properties/soap.client.props
file.
Parameter
- -serverName serverName
- A required parameter that specifies the name of the server instance.
Example
The following example illustrates how establish a SOAP connection to the Process Center server and then return detailed information about Server01.
Important: In a network deployment environment, use the port
configured for the application cluster member that runs the Process
Server or Process Center applications. To determine the correct port
number, see the WebSphere administrative console Ports collection
page (click and find the value for
SOAP_CONNECTOR_ADDRESS).
- Jython example
wsadmin -conntype SOAP -port 8880 -host ProcessCenterServer01.mycompany.com -user admin -password admin -lang jython AdminTask.BPMShowServer('[-serverName Server01]')
Tip: Add the jython print statement before the command when you want to see formatted output. - Jacl example
wsadmin -conntype SOAP -port 8880 -host ProcessCenterServer01.mycompany.com -user admin -password admin $AdminTask BPMShowServer {-serverName Server01}
The output is similar to the following example.
Name:Server01
URL:corbaname:iiop:server1.mycompany.com:2816
Address: server1.mycompany.com
Port: 9085
Availability: true
Username: User1