com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Introduction to BAM Toolbox

A toolbox in BAM is an installable archive, with a .tbox extension. It contains all or some of the following artifacts that model a complete usecase. When you install a toolbox, all artifacts inside it get deployed.

For example, sample stream definitions, analyzers and dashboard components required to monitor the service statistics of service-hosting WSO2 products are available in the Service Stats toolbox. Therefore, installing the Service Stats toolbox simply installs all artifacts to the necessary locations in the server. When data from a service stats data agent reaches BAM, you will see the Service Stats dashboard populated with statistics. For more information on setting up service statistics to BAM from other service-hosting products, see Data Agents.

Installing a default or custom toolbox

WSO2 BAM comes with a set of default toolboxes. In addition, you can also create your own toolboxes with specific requirements and install them through the management console. For information on creating your own custom toolbox, see Creating a Custom Toolbox .

Follow the steps below to install.

Following steps show how to install a toolbox using the management console. Alternatively, in order to remotely deploy a BAM toolbox, copy (scp) the .tbox file to <BAM_HOME>/repository/deployment/server/bam-toolbox/ folder, to install it via BAM hot deployment. Create the bam-toolbox directory if it doesn't exist by default. Currently, it is not possible to deploy a BAM toolbox using a CAR file, and this feature would be released in a future BAM version.

  1. Log on to BAM management console and select BAM ToolBox -> Add in the Main menu.
  2. To install one of the default toolboxes, select from the Basic Toolbox list and Install. E.g., Phone Retail Store Toolbox.
  3. To install a custom toolbox, you can do either of the following:

    Select the option Toolbox From File System if the toolbox is in your system. For example,
    OR, select the ToolBox From URL if the toolbox is hosted in a location separate from your system, like an SVN. For example,
  4. Click Install. Toolbox installs and the Available BAM Tool Boxes page opens. If the toolbox status is still Installing, wait approximately a minute and refresh the page to see the status changed to Installed.

Uninstalling a toolbox

Uninstalling a toolbox removes deployed artifacts associated with it from the system. For example, if you have installed some analytic hive script via toolbox, it will be removed when unistalling the toolbox.

Note: The steps below show how to uninstall a toolbox using the management console. Alternatively, you can delete the relevant .tbox file from <BAM_HOME>/repository/deployment/server/bam-toolbox folder.

  1. Log in to BAM management console and select BAM ToolBox -> List in the Main menu.
  2. Select the toolbox and click Uninstall. Wait about a minute and refresh the page to see the toolbox(s) removed.

Editing a toolbox

After installing a toolbox, you might have to edit its contents such as a Hive script. You can do this as follows:

  1. Go to <BAM_HOME>/repository/deployment/server/bam-toolbox folder and select the .tbox file you want to edit.
  2. Open the .tbox file using any file archiving utility (e.g., 7z).
  3. Edit the files in the toolbox according to your requirements. For example, Hive scripts are in the Analytics folder.
  4. Once the edits are done, archive the folder again and simply change its extension to tbox.
  5. Save the edited .tbox file in same bam-toolbox folder mentioned above and restart the server.
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.