The bpm-db-cleanup Utility
The bpm-db-cleanup utility uses scripts that you can run to clean up your deployed and undeployed applications.
You can find these scripts the directory where you installed TIBCO ActiveMatrix BPM. For example, on Windows platforms,
C:\Program Files\tibco\amx-bpm\bpm\n.n\SupportTools\bpm-db-cleanup\database where:
This script requires the following in order to run:
- Version 1.7.1, or higher, of ant. This can be downloaded from http://ant.apache.org/.
- The ant-contrib package. This can be found under http://ant-contrib.sourceforge.net/. Add the downloaded jar file to the ant lib folder, for example apache-ant-1.7.1\lib.
- The XmlTask package for ant. This can be found under http://www.oopsconsultancy.com/software/xmltask/. Add the downloaded jar file to the ant lib folder, for example apache-ant-1.7.1\lib.
No installation steps are required for bpm-db-cleanup. You can run the script, using ant, from any folder that it and any related files are located in.
The utility is configured by specifying the following properties, either within the build.xml file or on the command line using the '-D' option. These properties control what deployed application is processed and what database the scripts are to be generated for. These properties are:
- tibco.config.home. The location of the config folder under the ActiveMatrix BPM installations folder.
- admin.repo. The location of the ActiveMatrix administrator folder that holds the deployed DAA information.
- template.name. The name of the application template from which the application was created.
- application.name. The name of the deployed DAA. Make sure that the application.name is correct for the deployed application as an incorrect value can leave rows in the WP tables. Check the
wp_managed_archive
table to verify the application name to use. The bundle name used in the
wp_managed_archive table is generated using
${application.name}WorkPresentation${application.version}
- application.version. The fully qualified version of the deployed DAA, for example 1.0.0.201108301316.
- db.type. The type of database: mssql or oracle or db2.
- table.owner. The owner of the BPM database tables, for example amxbpm.
- batch.size. The size of a batch of rows being processed before a COMMIT is performed.
Next topic: Troubleshooting Failed Deployments After Upgrade
Previous topic: Cleaning Up Undeployed BPM Applications
Copyright © Cloud Software Group, Inc. All rights reserved.