Starting the FTL Server and Realm Service

The FTL server needs to be running before you can run applications. It provides services including the FTL realm service. The realm configuration defines the applications and connectivity parameters used to connect FTL-based applications for message flow. All cooperating FTL applications are part of a specific FTL realm.

To run the sample applications in this guide, the FTL software download includes pre-defined configurations for the FTL server and the FTL realm. As you gain more experience with TIBCO FTL, you can modify the configuration to try other settings and options (such as using different transports to connect applications).

Important: The configuration provided is not appropriate for a production environment.

Start the FTL Server

The command starts a single, non-redundant FTL server running (ftls_1) on the local system at a specific port (localhost port 8080). The supplied ftlstart script supports either one or three servers (ftls_1, ftls_2, and ftls_3), so be sure to use ftls_1 for this example.

The ftlstart script also initializes the FTL realm configuring using tibrealm.json from the samples/scripts directory. This realm configuration is used with the performance samples later.

  1. Load the configuration. You can use any port available for the host and the sample applications. From samples/scripts run:

    • Linux and macOS:

      $ ./ftlstart ftls_1@localhost:8080
    • Windows:

      >ftlstart ftls_1@localhost: 8080
  2. Confirm a message like this is returned:
    FTL Server configuration file has been saved as <filename>.yaml.

You can see the FTL UI by going to http://localhost:8080. If you see the FTL log in screen, accept the User ID anyone and click SIGN IN.


Important: If you do not see a log in screen, check the log file ftls_1.log at $HOME/ftl-server/ftls_1. If the port is not available to you, you see the message: Address already in use.