Installing the ActiveSpaces Proxy as a Windows Service

Prerequisites

Perform the following tasks:
  1. Before using TIBCO ActiveSpaces processes as Windows services, ensure that both Java and the TIBCO FTL Windows package and the TIBCO ActiveSpaces Windows package are installed on a local disk of the host computer (not on a mapped network drive).
  2. Complete the steps listed in Preparing for Installation.
  3. Complete the steps listed in Installing TIBCO FTL Server as a Windows Service.
  4. Complete the steps listed in Creating the ActiveSpaces Grid.

Procedure

  1. To install both the proxies, use the following commands:
    TIBCO_HOME\as\<as_version>\bin\prunsrv.exe //IS/tibdgproxy_default_p_01 
    --DisplayName="TIBCO ActiveSpaces Proxy p_01 (_default)" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe 
    --StartMode=exe --StartImage=TIBCO_HOME\as\<as_version>\bin\tibdgproxy.exe 
    --LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_version>\bin 
    --StartParams=-r;"http://localhost:8085|http://localhost:8185|http://localhost:8285";-n;p_01;--logfile;C:\activespacesdata\logs\_default-p_01-log.txt 
    --StopMode=exe --StopTimeout=30 --StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe 
    --StopParams=-r;"http://localhost:8085|http://localhost:8185|http://localhost:8285";proxy;stop;p_01
    TIBCO_HOME\as\<as_version>\bin\prunsrv.exe //IS/tibdgproxy_default_p_02 
    --DisplayName="TIBCO ActiveSpaces Proxy p_02 (_default)" --Install=TIBCO_HOME\as\<as_version>\bin\prunsrv.exe 
    --StartMode=exe --StartImage=TIBCO_HOME\as\<as_version>\bin\tibdgproxy.exe 
    --LibraryPath=TIBCO_HOME\as\<as_version>\bin;TIBCO_HOME\ftl\<ftl_version>\bin 
    --StartParams=-r;"http://localhost:8085|http://localhost:8185|http://localhost:8285";-n;p_02;--logfile;C:\activespacesdata\logs\_default-p_02-log.txt 
    --StopMode=exe --StopTimeout=30 --StopImage=TIBCO_HOME\as\<as_version>\bin\tibdg.exe 
    --StopParams=-r;"http://localhost:8085|http://localhost:8185|http://localhost:8285";proxy;stop;p_02
    Tip: If you plan to copy the code snippet, remember to remove line breaks for all the sample commands that are associated with prunsrv.exe.
  2. On Windows, open the Windows Services panel in Windows and manually start each of the proxies.
    The logs are written to C:\activespacesdata\logs.