BPM Application Deployment Undeployment Issues

Deployment and undeployment of an application can be done from the Administrator UI, Administrator CLI scripts, or from TIBCO Business Studio. TIBCO Business Studio generates CLI scripts and runs them, so in some circumstances has the same effect as using Administrator CLI. The scripts report errors in case of failures.

Warning: Make sure that you have successfully undeployed a BPM application before trying to Delete it.

Do not use Force Delete Application to remove a BPM application, except in the situations described in Cleaning Up Undeployed BPM Applications. Doing so removes artifacts only from Administrator, and leaves Process Manager and other TIBCO ActiveMatrix BPM components out of sync, which can cause problems on restart.

To diagnose problems from the Administrator UI:

  • Administrator should show the application in a failed running state. The wordings varies depending on whether the command was to deploy, deploy with start, or undeploy, and where the failure occurred.
  • Under column Action History, click the link to display a detailed view of all of the steps that are associated with the command. Since Administrator stops at the first failure, the last action should show the cause of the failure.
  • Click on a failed-action link to brings up a view of the full exception stack trace. The last “caused by” exception usually is the best indicator of where the source of the problem is. If it shows stack traces that include “com.tibco.bx” and/or “com.tibco.pvm”, the problem is most likely with process engine.
  • For more info, it is necessary to peruse the log files, looking for ERROR entries. If DEBUG logging is enabled, there may be more useful info that can help pinpoint the problem. For more information on logging, see BPM Logging.