Jump to content

Spotfire 7.6: Where to configure proxy settings

Ron Liu

Recommended Posts

Previously, Spotfire 7.0 Web Player was on Microsoft IIS. My Spotfire Server server is setting behind a corporate proxy server to have access to the Internet. Consequently, built-in map charts cannot load because they attempt to connect to the Internet where TIBCO geoanalytics is to retrieve the base map data. I had to configure the proxy settings according to the following documentation:


Page 39/129of https://docs.tibco.com/pub/spotfire_web_player/7.0.1/doc/pdf/TIB_sfire_w...


Relevant parts of the web.config file are shown here. The following works for my Spotfire 7.0 Web Player setup and the map charts can load the map data properly.



















Problem arises when I upgrade to Spotfire Server 7.6 where the overall system architecture has changed. IIS is no longer necessary and from what I understand, it is replaced byTomcat for Spotfire Server, and is it Jetty + prunsrv for the Node Manager services Since the above proxy configuration method is specific to IIS, I have no idea how to achieve the same results of allowing Spotfire Server to get Internet access through my corporate proxy server. I can't find anything related to this in the documentation:




I tried to tinker with thesetenv.bat (my setup is Windows-based) in the Tomcat bin folder by editing the following line but it doesn't work.


set JAVA_OPTS=-server -XX:+DisableExplicitGC -Xms512M -Xmx4096M -Dhttp.proxyHost=proxy.company.com -Dhttp.proxyPort=port-Dhttp.proxyUser=myusername-Dhttp.proxyPassword=mypassword


I also tried looking into the Node Manager configuration files:


config.json and nodemanager.properties in nmconfig folder, or

Spotfire.Dxp.Worker.Automation.config,Spotfire.Dxp.Worker.Core.config,Spotfire.Dxp.Worker.Host.exe.config,Spotfire.Dxp.Worker.Web.config files in nmservicesWebWorker-... folder, but I don't find anything related to proxy servers

Also considered the mappings of the old IIS web.config to the new config files https://docs.tibco.com/pub/spotfire_server/7.6.0/doc/html/TIB_sfire_serv...


I'm out of ideas without specific documentation on this. Can anyone please provide some pointers

Link to comment
Share on other sites

The proxy settings needs to be added to the "Spotfire.Dxp.Worker.Host.exe.config" file. There's no proxy section by default so you need to add it manually.

Export the configuration then try adding the same section from the previous version to 7.5/7.6 Spotfire.Dxp.Worker.Host.exe.config, then import the configuration

Export command

tomcatbin>config.batexport-service-config --capability=WEB_PLAYER --deployment-area=Production

Import command

tomcatbinconfig import-service-config --config-name="Proxy"

Link to comment
Share on other sites

Thanks sekrishn for the answer above. These are the actions I've taken to finally get the proxy settings right, and my map charts are working!

P.S. I think that these instructions should be properly detailed in the official product documentation as configuring proxy settings is a rather common administrative task for enterprise setups

Step 1: Export out the default web player configuration settings into a file for editing

Open up command prompt, change directory to Spotfire Server installation directory then to Tomcat's bin folder. Run config.bat with the following arguments.


cd C:tibcotss7.6.0tomcatbin

config.bat export-service-config --tool-password=myConfigToolPassword --capability=WEB_PLAYER --deployment-area=myDeploymentAreaName --forceThis will export out the default config files.

Step 2: Insert the proxy settings into the exportedSpotfire.Dxp.Worker.Host.exe.config file

Browse toC:tibcotss7.6.0tomcatbinconfigroot and open theSpotfire.Dxp.Worker.Host.exe.config file. Insert the following and save the file:





















Step 3: Import the edited Spotfire.Dxp.Worker.Host.exe.config file back into Spotfire Server

Run this in the command prompt.


config.bat import-service-config --tool-password=myConfigToolPassword --config-name=myConfigNameBy doing this, we have enabled a new configuration setting that can be selected when administering the Web Player service through the Spotfire Server web UI.

Step 4: Restart the Web Player service

Change the Web Player service configuration from Default to your newly created configuration.



Save it andmanually restart the service instances if needed.

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...