BPMRemoveToolkit command
Traditional:
This command removes a toolkit and all of its snapshots from the Workflow Center server.
This command removes a toolkit and all of its snapshots from the Workflow Center server.
Use the BPMRemoveToolkit command in connected mode to remove a process application from Workflow Center. You can run this command only on Workflow Center.
The BPMRemoveToolkit command is run using the AdminTask object of the wsadmin scripting client.
Prerequisites
Note: 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 Center applications. Do not run this command from the deployment manager profile. The input file is read from the machine on which the connected server is running. If you want to access the file from another machine, establish a remote wsadmin session from the current machine to the server on the machine where the file is stored.
- The toolkit must be in an archived state before you run this command. Run the BPMArchiveToolkit command to archive the toolkit.
- Delete all snapshots that you can identify as having dependencies on this toolkit, perhaps following the steps in Cleaning up branches and snapshots if there are projects with many such snapshots.
- Try to remove the toolkit by running the BPMRemoveToolkit command, addressing any overlooked dependencies.
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.
Location
Start the wsadmin scripting client from the profile_root/bin directory.
Syntax
BPMRemoveToolkit
-containerAcronym toolkit_acronym
Parameters
- -containerAcronym String
- A required parameter that identifies the toolkit to be removed using its acronym.
Example
The following example illustrates how to establish a SOAP connection to the Workflow Server server, and then remove the My Company
Toolkit.
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 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.BPMRemoveToolkit('[-containerAcronym MYCOTK]')