Configuring a Database for On-premises TIBCO BusinessWorks™ App Execution History

When enabling Execution History for on-premises TIBCO BusinessWorks Apps, you must configure a local database to store the data generated by the TIBCO BusinessWorks App. The following databases are supported for storing execution statistics: 

Once you have chosen a database and that database is running, you must create the following tables using the scripts provided in our GitHub repository.

The scripts to create the database tables are located at the following URLs depending on the database you selected.

Configuring Proxy Mode to Use Oracle Database for Execution History

Using an Oracle Database to store the data generated by the TIBCO BusinessWorks App requires a BWCE Mon container that acts as a proxy.

  1. Configure BWCE Mon to use Oracle Database as described Setting Up TIBCO BusinessWorks Container Edition Application Monitoring on Docker.
  2. Use the following command to start BWCE Mon container:
    docker run -p 8089:8080 -e PERSISTENCE_TYPE="oracle" -e DB_URL="oracle://ehagent:Tibco321@10.97.110.206:1521/orclpdb1" -e DEPLOYMENT="tci" monoracle
  3. Configure and start the Hybrid Agent as described in Downloading, Configuring, and Running the Hybrid Agent. Use the --spec command when starting the agent to pass one or more connection specs, such as the port and IP address of the local BWCE Mon you configured in the previous step. For example:
    ./tibagent start agent --spec 8089:10.97.90.49:8089 hybridagent
Note: If you have configured an agent for a proxy connection using the --spec option, you cannot use the same agent to manage remote apps. You must configure a separate agent for app management.

Using Oracle Database with Increased Column Limits

By default, Oracle Database supports only 4,000 bytes for the varchar2 data type. If you expect the input/output data for your app Execution History to be greater than 4,000 bytes, increase this limit to 32767 bytes as follows:

Related Topics

Enabling Execution History for TIBCO BusinessWorks™ Apps Running On-premises

Pushing TIBCO BusinessWorks™ App Execution History to a Local Database

Downloading, Configuring, and Running the Hybrid Agent

Hybrid Agent Command Reference

Configuring a TIBCO BusinessWorks™ App for Execution History

Viewing Execution History for a TIBCO BusinessWorks™ App