Uninstalling task-based applications

This is a placeholder for this topic. Text is copied from business process topic.
  1. Stop all process templates in the application. This action prevents the creation of process instances.
    1. Click Applications > Enterprise Applications in the administrative console navigation pane.
    2. Select the application that you want to stop.
    3. Under Related Items, click EJB Modules and select an Enterprise JavaBeans (EJB) module.
    4. Under Additional Properties, click Business Processes.
    5. Select all process templates by clicking the appropriate check box.
    6. Click Stop.
    Repeat this step for all EJB modules that contain business processes.
  2. Verify that all the stand-alone servers, the database, and the application server (or at least one application server per cluster) are running.
    • In a Network Deployment (ND) environment, the ND server, all ND-managed stand-alone application servers, and at least one application server must be running for each cluster where the application is installed.
    • If you use the wsadmin tool to uninstall applications, make sure that you are connected to a server process. In an ND environment, the process is the deployment manager; in a stand-alone environment, it is the application server.
  3. Verify that no process instances are running. If necessary, a process administrator can use the Business Process Choreographer Web client to stop any process instances that are running, as described in Terminating a process instance.
  4. To stop and uninstall the application:
    1. Click Applications > Enterprise Applications in the administrative console navigation pane.
    2. Select the application that you want to uninstall and click Stop. This step fails if any process instances still exist in the application.
    3. Select the application that you want to uninstall again.
    4. Click Uninstall.
The process application is uninstalled. If the application contains an interruptible process, the corresponding tables are deleted from the databases on the deployment targets. If the tables cannot be deleted, for example, because you do not have the database access rights to delete tables, an exception is written to the SystemOut.log file.

Parent topic: Overview: Installing and uninstalling task-based applications

Related tasks
Terminating a process instance