Configure service proxy installation package

Feedback


After you successfully configured the iPortal package, perform the following steps to complete configurations in the independent proxy package.

  1. Configure iportal-proxy.xml (Required)

Open iportal-proxy.xml in %SuperMap iPortal_Proxy_HOME%/webapps/ROOT/WEB-INF directory to configure portal database, security database and Redis cache for sharing session. Configuration method, refer to: Configure iPortal installation package.

  1. Configure catalina file (Optional)

If the service access statistics function is enabled in the iportal-proxy.xml file of the above configuration, you must perform this configuration.

Add the environment variable iportalRootUrl to the %SuperMap iPortal_Proxy_HOME%/bin/catalina.bat (catalina.sh for Linux) file to specify the actual root address of the iPortal service, as shown below:

set iportalRootUrl=http://<server>:<port>/iportal

  1. Start proxy service with HTTPS protocol (Optional)

Proxy service defaults to use http protocol, which means no matter the original registered service uses http or https, the proxied address uses http protocol. To configure supporting https, you need to configure the independent proxy package which uses Tomcat as the Web container. Tomcat has two kinds of SSL implementation, for detailed configurations, see: Using HTTPS to encrypt communication.