Follow-On Topics

Related Topics

# About the Oracle Trigger Agent

The Oracle Trigger agent is a service that sits between King Task Centre and an Oracle server. It can be installed onto any Oracle Server. It is responsible for both maintaining the triggers in Oracle Server, and for handling the running of a task once a trigger has been fired.

When an Oracle trigger is fired, a connection is made to the agent service which then launches the applicable task.

## Prerequisites

The Oracle Trigger Agent requires Java runtime version 1.6 or higher, 32-bit edition, installed as a minimum. Note the following:

|  | If Java is not detected on the Oracle server, the installation aborts and you are prompted to install 32-bit Java runtime

|  | If only 64-bit Java runtime is detected, the installation aborts and you are prompted to install the 32-bit version

|  | If both 32- and 64-bit Java runtimes are detected, the installation continues

## Installing the Oracle Trigger Agent

The Oracle Trigger Agent is not installed as part of the main King Task Centre installation. To install the Agent, do the following:

Installing on a Windows Machine

The Oracle Trigger Agent installer is included in the King Task Centre installation package:

1. Copy the Oracle Agent Installer folder to the Oracle server.
2. Open a command line window (Start > Run > cmd).
3. Change directory to the Oracle Agent Installer directory.
4. Run the InstallWin.bat file.

   Click the image to view full size.

5. Enter the full directory path to where the Oracle Trigger Agent will be installed. Press `ENTER`.

   Click the image to view full size.

6. Enter the hostname or IP address of the King Task Centre client that will run Oracle Trigger tasks and where the Agent will be registered to. Press `ENTER`

   Click the image to view full size.

7. Enter the port number the Agent uses to communicate with the King Task Centre client. By default, this is port `4222`. Press `ENTER` to accept the default, or enter a new port number first.

   Click the image to view full size.

8. Once the installation and setup is complete, you must reboot the Oracle server. Upon restart, the Agent service should automatically start. If it does not, manually start the King Task Centre Oracle Trigger Agent service.

Installing onto a Linux Machine

The Oracle Trigger Agent installer is included in the King Task Centre installation package:

1. Copy the Oracle Agent Installer folder to the Oracle server.
2. Change directory to the Oracle Agent Installer directory.
3. Enter `chmod+x InstallNix`. Press `ENTER`.
4. Enter `./InstallNix`. Press `ENTER`.

   Click the image to view full size.

5. Enter the full directory path to where the Oracle Trigger Agent will be installed. Press `ENTER`.
6. Enter the hostname or IP address of the King Task Centre client that will run Oracle Trigger tasks and where the Agent will be registered to. Press `ENTER`
7. Enter the port number the Agent uses to communicate with the King Task Centre client. By default, this is port `4222`. Press `ENTER` to accept the default, or enter a new port number first.

   Click the image to view full size.

8. Once the installation and setup is complete, you must reboot the Oracle server.

Copyright © 2018 Quadrant Software B.V. All rights reserved.