Administrative commands provide an alternative to the administrative
console for uninstalling applications that contain business processes or human
tasks.
Before you begin
If global security is enabled, verify that your user
ID has operator authorization.
Ensure that the server process to which
the administration client connects is running.
- In an ND environment, the server process is the deployment manager.
- In a stand-alone environment, the server process is the application server.
To ensure that the administrative client automatically connects to the
server process, do not use the
-conntype NONE option as a
command option.
Why and when to perform this task
The following steps describe how to use the bpcTemplates.jacl
script to uninstall applications that contain business process templates or
human task templates. You must stop a template before you can uninstall the
application to which it belongs. You can use the bpcTemplates.jacl script
to stop and uninstall templates in one step.
Before you uninstall applications,
you can delete process instances or task instances associated with the templates
in the applications, for example, using Business Process Choreographer Explorer.
You can also use the -force option with the bpcTemplates.jacl
script to delete any instances associated with the templates, stop the templates,
and uninstall them in one step.
CAUTION:
Because this option
deletes all process instance and task instance data, you should use this option
with care.
Steps for this task
- Change to the Business Process Choreographer samples directory.
On Windows® systems, enter:
cd install_root\ProcessChoreographer\admin
On UNIX® and Linux® systems,
enter:
cd install_root/ProcessChoreographer/admin
- Stop the templates and uninstall the corresponding application.
On Windows systems, enter:
install_root\bin\wsadmin -f bpcTemplates.jacl
[-user user_name]
[-password user password]
-uninstall application_name
[-force]
On UNIX and Linux systems, enter:
install_root/bin/wsadmin -f bpcTemplates.jacl
[-user user_name]
[-password user password]
-uninstall application_name
[-force]
Where:
- user_name
- If global security is enabled, provide the user ID for authentication.
- user_password
- If global security is enabled, provide the user password for authentication.
- application_name
- If global security is enabled, provide the user password for authentication.
Result
The application is uninstalled.