Stopping and starting task templates with the administrative commands

Administrative commands provide an alternative to the administrative console for stopping and starting task templates.

Before you begin

Verify that you have task administrator authorization.

Why and when to perform this task

Task templates define Service Component Architecture (SCA) services that are represented as stand-alone tasks within an enterprise application. When an enterprise application that contains task templates is installed, deployed, and started, the task templates are put into the start state.

Steps for this task

  1. Change to the Business Process Choreographer samples directory.

    On Windows® systems, enter:

    cd install_root\ProcessChoreographer\sample

    On UNIX® and Linux® systems, enter:

    cd install_root/ProcessChoreographer/sample
  2. Stop the task template.

    On Windows systems, enter:

    install_root\bin\wsadmin -f bpcTemplates.jacl 
                                  -stop application_name 
                                 

    On UNIX and Linux systems, enter:

    install_root/bin/wsadmin -f bpcTemplates.jacl 
                                  -stop application_name 
                                 

    Where application_name is the name of the application to which the template belongs.

    Existing instances of the task template continue to run until they end normally.
  3. Start the task template.

    On Windows systems, enter:

    install_root\bin\wsadmin -f bpcTemplates.jacl 
                                  -start application_name
                                  

    On UNIX and Linux systems, enter:

    install_root/bin/wsadmin -f bpcTemplates.jacl 
                                  -start application_name 
                                 
    The task template starts. You can use Business Process Choreographer Explorer to work with task instances associated with the task template.

Terms of use | | Broken links

Last updated: Tue Dec 06 04:14:41 2005

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)