Installing the ActiveSpaces Proxy as a Windows Service
Before you begin
Perform the following tasks:
- Before using ActiveSpaces processes as Windows services, ensure that both Java and the TIBCO FTL Windows package and the ActiveSpaces Windows package are installed on a local disk of the host computer (not on a mapped network drive).
- Complete the steps listed in Preparing for Installation.
- Complete the steps listed in Installing TIBCO FTL Server as a Windows Service.
- Complete the steps listed in Creating the ActiveSpaces Data Grid.
- Procedure
- 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_01TIBCO_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_02Tip: If you plan to copy the code snippet, remember to remove line breaks for all the sample commands that are associated with prunsrv.exe. - On Windows, open the Windows Services panel in Windows and manually start each of the proxies.
The logs are written to
C:\activespacesdata\logs.