Installing on Linux

Use the platform-native installer to install the product on Linux platforms. The installer provides a collection of RPM, DEB, and TAR packages.

Prerequisites

On SUSE Linux, ensure that libjvm library is already installed.

Procedure

  1. Download the installation package.
    Download the package for either the community edition or the enterprise edition.
    Edition Command
    Community Edition
    TIB_msg-ap2as-ce_1.0.x_linux_x86_64.zip
    Enterprise Edition
    TIB_msg-ap2as_1.0.x_linux_x86_64.zip
  2. Navigate to the download directory or move the file to a preferred extraction location.
  3. Extract the TIBCO ActiveSpaces Connector for Apache Pulsar archive files.
    Edition Command
    Community Edition
    unzip TIB_msg-ap2as-ce_1.0.x_linux_x86_64.zip
    Enterprise Edition
    unzip TIB_msg-ap2as_1.0.x_linux_x86_64.zip
    This command creates a directory, TIB_msg-ap2as_1.0.x, and places installation RPM, DEB, and tar archives in that directory.
  4. Install using one of these commands, depending on the Linux platform variant.
    Linux Variant Command
    Red Hat, Centos
    yum install -y rpm/*.rpm
    Debian, Ubuntu, Fedora
    dpkg -i deb/*.deb
    SUSE
    zypper install -y --allow-unsigned-rpm rpm/*.rpm
    Note: If you encounter issues with dependencies, you can safely ignore those dependencies and proceed with the installation.
    Other Linux variants If your Linux variant does not include yum, dpkg, or zypper, you can use tar.
    for f in tar/*; do tar zxfv $f; done
    The installation utilities yum, dpkg, or zypper install TIBCO ActiveSpaces Connector for Apache Pulsar software under /opt/tibco/.

    The archive utility tar installs TIBCO ActiveSpaces Connector for Apache Pulsar software under .../TIB_msg-ap2as_1.0.0/.

  5. Copy the AS Connector for Apache Pulsar to the connectors/ directory of your Pulsar installation.
    cp /opt/tibco/apd/as-bridge/1.0/lib/pulsar-io-activespaces-1.0.nar \
    /opt/tibco/apd/core/2.6/connectors
  6. In a text editor, open the configuration file /opt/tibco/apd/core/2.6/conf/functions_worker.yml and change line
    extraFunctionDependenciesDir: 

    to

    extraFunctionDependenciesDir: "/opt/tibco/ftl/current-version/lib/tibftl.jar:/opt/tibco/as/current-version/lib/tibdg.jar:lib"
    Note: Version 2.6 is shown above, but your Pulsar version might be different.