Appendix K — Setting up Proxy Server Configuration for Analyst

This appendix describes how to set up 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 or 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 the AnalystAdmin and AnalystConnect services where a proxy server is used at a customer site. This allows the proxy to be passed as a system parameter to the java process and the local machine, where spatial service has been installed and configured for no proxy use.

Follow the steps given below:
  1. At the command prompt, go to:
    C:\Program Files\PitneyBowes\SpectrumSpatialAnalyst\Tomcat7\AnalystAdmin\bin>
  2. Enter tomcat7w//ES//AnalystAdmin
  3. Add the following to the end of the java options where the values in yellow are the proxy server settings for your environment.
    -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
  4. Optionally, use https if the proxy server is https. Also (optionally) add proxy authentication if needed as follows:
    -Dhttp.proxyUser=username
    -Dhttp.proxyPassword=userspassword
  5. Repeat the same process for tomcat7w//ES//AnalystConnect.
  6. Restart the services.