Appendix D - Setting up Proxy Server Configuration for Analyst

This appendix describes how to setup proxy server configuration for analyst.

In some cases Analyst needs to make calls to external services from the server. This may include-
  • Printing base maps from Bing, OSM Europa
  • Making calls to Bing Location Services
  • Making calls to test tile and WMS maps
  • Authenticated WMS maps

The proxy server needs to be added to the java options of both AnalystConnect services where a proxy server is used at a customer site. This allows the proxy to be passed as a system parameter to java process, and the local machine, where spatial service is installed is configured for no proxy use.

Follow the steps given below:
  1. At the command prompt go to -
    C:\Program Files\Precisely\SpectrumSpatialAnalyst\Tomcat9\AnalystConnect>
  2. Add the following to the end of the java options where the values in yellow are the proxy server settings for your environment. Please note that the proxy server name is case sensitive.
    -Dhttp.proxyHost=bcproxy  e.g. Proxy server host name
    -Dhttp.proxyPort=3128     e.g. Proxy server port
    -Dhttp.nonProxyHosts=BC-SSAAPP-L001  e.g. Server where Analyst is deployed
  3. Optionally, use https if the proxy server is https. Also (optionally) add proxy authentication if needed as follows:
    -Dhttp.proxyUser=username
    -Dhttp.proxyPassword=userspassword
  4. Repeat the same for tomcat9w//ES//AnalystConnect.
  5. Restart the services.