How to change TIBCO Spotfire Statistics Service (TSSS) main service port?

How to change TIBCO Spotfire Statistics Service (TSSS) main service port?

book

Article ID: KB0072354

calendar_today

Updated On:

Products Versions
Spotfire Statistics Services All

Description

The default TIBCO Spotfire Statistics Service (TSSS) main service port is 8080. This is the HTTP port that is used by clients or APIs to access the service.

TSSS service URL is "http://servername:port/service_name", for example, http://MyServer:8080/TERRServer
    This TSSS main service port can be changed after the installation is completed.

    Issue/Introduction

    You can change TSSS main service port by modifying the port value in TSSS configuration files: spserver.properties; server.xml; cluster.properties (if TSSS cluster is installed).

    Environment

    All Supported OS

    Resolution

    Here are the necessary changes to be made in order to use a new service port for TSSS service:

    For a standalone TSSS installation: 
    (1) In the TSSS configuration file "custom.properties" (SPSERVER_HOME/conf/spserver.properties), modify the service.url to use the new port value, for example, 8081
    service.url=http://servername:8081/service_name
    See: https://docs.tibco.com/pub/sf_statsvcs/11.8.1/doc/html/TIB_sf_statsvcs_11.8.1_installation/installation/topics/service.url.html

    (2) In the TSSS tomcat configuration file "server.xml" (SPSERVER_HOME/tomcat/conf/server.xml), modify the "Connector port" to use the new port value, for example, 8081
    Connector port = 8081

    For a TSSS cluster installation:
    (a)  make change (1) in custom.properties in TSSS cluster share folder (SPSERVER_SHARE/conf/spserver.properties)
    (b)  make change (2) in server.xml in TSSS cluster manager node (SPSERVER_HOME/tomcat/conf/server.xml) and worker node if installed (SPSERVER_HOME/worker/conf/server.xml)
    (c)  Additionally, find the configuration file "cluster.properties" in the TSSS cluster share folder (SPSERVER_SHARE/conf/cluster.properties), modify the "tomcat.port" to use the new port value, for example, 8081
    tomcat.port=8081

    (3) Restart TSSS service to make above changes take effect. 
    For TSSS Cluster installation, restart TSSS service in both Manager Node and Worker node. 

    Additional Information

    TSSS installation guide: TSSS service configuration: