Installing the Realm Server as a Windows Service

One command installs the realm server as Windows service.

Model your command line on this template:

prunsrv.exe //IS/tibrealmserver
 --DisplayName="TIBCO FTL Realm Server"
 --Install=TIBCO_HOME\ftl\version\bin\prunsrv.exe
 --StartMode=exe
 --StartImage=TIBCO_HOME\ftl\version\bin\tibrs.exe
 --LibraryPath=TIBCO_HOME\ftl\version\bin
 --StartParams=--http;localhost:port
 --StopImage=TIBCO_HOME\ftl\version\bin\tibrealmadmin.exe
 --StopParams=-rs;http://localhost:port;-x

Notice these aspects of this command line template:

  • --Install is the file path of the prunsrv executable.
  • --LibraryPath is the directory containing TIBCO FTL DLL files.
  • --StartParams contains the command line parameters for the realm server executable (tibrs). This template illustrates only the minimum required parameter set. Semicolon (;) is the separator character, as prunsrv does not allow spaces.
  • --StopParams contains the command line parameters for the realm server administration utility (tibrealmadmin). This template illustrates the command to shut down the realm server. Semicolon (;) is the separator character, as prunsrv does not allow spaces.