Solution:
When saving an analysis file to the library from the Spotfire installed client, it is useful to instantly see the URL of that analysis. It may be required to update the initial host name/directory which Spotfire uses to generate that absolute URL for the analysis file. This is most often required when there is a load balancer in front of a cluster of Spotfire Servers, but there can be multiple scenarios where this may be needed.
By default, the installed Analyst client will use the host name of the Spotfire Server when generating absolute URLs. For example:
http://<myServerHostName>/spotfire/wp/OpenAnalysis?file=/myFolder/myReport
You can also explicitly provide a public address/endpoint which will be used when generating absolute URLs. It should always be configured and enabled if Spotfire Server is accessed through a load balancer or reverse proxy by running command set-public-address:
For example:
config set-public-address --enabled=true --url="http://serverAlias"
This will result in URLs like:
http://<serverAlias>/spotfire/wp/OpenAnalysis?file=/myFolder/myReport
To update your server configuration with this new setting:
- Launch a command prompt on the Spotfire Server machine as Administrator and browse to \tomcat\spotfire-bin folder
-
Export the current configuration using the following command:
config export-config --force(this will export the configuration as configuration.xml)
-
Run the following command:
config set-public-address --enabled=true --url="http://serverAlias" -
Import the configuration using the following command:
config import-config --comment="Add a comment here" - Restart the Spotfire Server service
Comments
0 comments
Article is closed for comments.