This topic applies only to the IBM Business Process Manager Advanced configuration.

bpcTemplates.jacl administrative script (deprecated)

Use the bpcTemplates.jacl administrative script to start, stop, undeploy, or list all process and task templates that belong to an application is deprecated. Use the manageTemplates.py command or the listTemplates.py administrative script instead.

Prerequisites

The following conditions must be met:
  • Run the script in connected mode, that is, do not use the wsadmin -conntype none option.
  • At least one cluster member must be running.
  • Include the wsadmin -user and -password options to specify a user ID that has administrator authority.
  • If you are not working with the default profile, use the wsadmin -profileName profile option to specify the profile.

Location

The bpcTemplates.jacl administrative script is in the Business Process Choreographer admin directory.
For Windows operating systeminstall_root\ProcessChoreographer\admin
For Linux operating systemFor UNIX operating systeminstall_root/ProcessChoreographer/admin

Syntax

-f bpcTemplates.jacl
  -stop application_name
  -start application_name
  -list [application_name]
  -uninstall application_name
  [-force]

Parameters

-f
This parameter specifies the script file to run.
-stop application_name
Stops all templates that belong to the named application.
-start application_name
Starts all templates that belong to the named application.
-list application_name
If you specify the optional application name, application_name, only templates that belong to that application are listed. Otherwise, the default is to list all templates that belong to all applications.
-uninstall application_name
This specifies the name of the application to be undeployed. Do not use this option for applications that were deployed using Process Center.
-force
This option causes any running instances to be stopped and deleted before the application is undeployed. Use this option with care because it also deletes all of the data that is associated with the running instances.

Examples

When listing templates, the list includes the time from when each template is valid:

Found 5 template(s):
JavaSnippetsApp: Process template Process_A, valid from 2008-12-17T11:36:00 (UTC)
JavaSnippetsApp: Process template Process_B, valid from 2008-12-17T11:36:00 (UTC)
OrderProcessingApp: Process template ChargingProcess, valid from 2009-04-03T19:52:54 (UTC)
OrderProcessingApp: Process template OrderProcess, valid from 2009-04-03T19:52:54 (UTC)
OrderProcessingApp: Process template ShippingProcess, valid from 2009-04-03T19:52:54 (UTC)
Done.