Undeploying BPEL process and human task applications, using an administrative command
Using the manageTemplates.py script provides an alternative to the administrative console for undeploying applications that contain BPEL processes or human tasks.
Before you begin
To undeploy an application that contains BPEL processes or human
tasks, the following conditions must apply:
- If the application is deployed on a stand-alone server, the server must be running and have access to the Business Process Choreographer database.
- If the application is deployed on a cluster, the deployment manager and at least one cluster member must be running. The cluster member must have access to the Business Process Choreographer database.
- If the application is deployed on a managed server, the deployment manager and the managed server must be running. The server must have access to the Business Process Choreographer database.
- Ensure that the server process to which the administrative client connects is running. To ensure that the administrative client automatically connects to the server process, do not use the -conntype NONE option as a command option.
- If your user ID does not have operator or administrator authority, include the wsadmin -user and -password options to specify a user ID that has operator or administrator authority. The -uninstall option requires operator authority and the -force option requires administrator authority.
- One or more of the following is true:
- There are no instances of BPEL process or human task templates present in any state.
- You intend to use the -force option.
- You have a stand-alone server that is running in development mode.
- If a process instance was migrated to a newer version of the process but it is waiting for a service invocation to reply, the application that contains the previous version cannot be undeployed until the reply is received. In all other cases, instances that have been migrated are considered to be instances of the new version, and the application that contains the older version of the process can be undeployed.
- Make sure that no other modules depend on the services exported by the application that you want to undeploy.
About this task
The following steps describe how to use the manageTemplates.py script to undeploy applications that contain BPEL process templates or human task templates.