This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

BPMStop command

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
This command stops the business-level application (BLA) associated with a snapshot that has already been deactivated on a workflow server. A BLA is a WebSphere® Application Server configuration artifact that is created only for a snapshot that has advanced content generated in IBM® Integration Designer.

Use the BPMStop command in connected mode to stop a deactivated snapshot on a workflow server.

Important: This command does not stop any running process and task templates that belong to the process application. Use the manageTemplates.py administrative script to stop these before you use the BPMStop command. If there are still running BPEL templates when you run the BPMStop command, it fails. For more information, about how to stop process templates and task templates, see manageTemplates.py command.
Tip: If you use the BPMStop command in a script, the business-level application (BLA) might not stop completely when the command returns. Add a wait of up to a minute before any commands can run that require the BLA to be stopped, such as the BPMUndeploy command.

The BPMStop command is run using the AdminTask object of the wsadmin scripting client.

Prerequisites

Important: In an environment with multiple security domains configured, use the PALService MBean instead of this wsadmin command. See The Process Application LifeCycle (PAL) MBean.
The following conditions must be met:
  • In a network deployment environment, you must run this command on the node containing the application cluster member that handles Workflow Server applications. Do not run this command from the deployment manager profile.
  • In a network deployment environment, make sure that all the node agents are active before you stop a BLA. If a node is inactive, the BLA enters the UNKNOWN state instead of the STOPPED state and fails to stop, although the stop command runs asynchronously and completes without an error. The failure to stop along with the UNKNOWN state prevents you from undeploying the BLA.
  • Run the command in the connected mode; that is, do not use the wsadmin -conntype none option.
  • To access the wsadmin command, the ID being used must have a WebSphere Application Server role with more privileges than the monitor role. See Administrative roles External link opens a new window or tab for information about roles.
  • To access the Business Automation Workflow API used by this command, the ID being used must belong to either the bpmAdminGroup or bpmAuthorGroup. The default name for the bpmAdminGroup is tw_admins and the default name for the bpmAuthorGroup is tw_authors. See IBM Business Automation Workflow default group types for information about groups.
    Tip: By default, only the DeAdmin user has both the WebSphere Application Server administrator role and membership in the bpmAdminGroup.
Attention: 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.

Location

Start the wsadmin scripting client from the profile_root/bin directory.

You can check the status of the command in the server SystemOut.log file.

Syntax

BPMStop 
-containerAcronym process_application_acronym
-containerSnapshotAcronym process_application_snapshot_acronym

Parameters

-containerAcronym process_application_acronym
A required parameter that identifies the process application acronym. For example, the BillingDispute process application might have an acronym of BILLDISP.
-containerSnapshotAcronym process_application_snapshot_acronym
A required parameter that identifies the process application snapshot acronym.

If you are not working with a snapshot, use Tip as the value for this parameter.

Tip: If you do not know the acronym for a required parameter, use the BPMShowProcessApplication command to list the details of a process application, including acronyms.

Example

The following example illustrates how to establish a SOAP connection to the Workflow Center server, and then stop a BLA of the BillingDispute process application.

Important: In a network deployment environment, use the port configured for the application cluster member that runs the Workflow Server or Workflow Center applications. To determine the correct port number, see the WebSphere administrative console Ports collection page (click Servers > Server Types > WebSphere application servers > server_name > Communications > Ports and find the value for SOAP_CONNECTOR_ADDRESS).
wsadmin -conntype SOAP -port 8880 -host ProcessServer01.mycompany.com -user admin -password admin -lang jython

wsadmin>AdminTask.BPMStop('[-containerAcronym BILLDISP -containerSnapshotAcronym SS2.0.1]')