Connecting through proxy server
Setting JVM properties for Recommender
Connecting to the Recommender service requires setting several JVM properties after you complete the Activity Engine installation. To set the required properties:
- Use
jive set eae.custom_jvm_args
to add the required java args to the service invocation:jive set eae.custom_jvm_args -Dhttp.proxyHost=webproxy_address -Dhttp.proxyPort=webproxy_port -Dhttp.proxyUser=webproxy_user -Dhttp.proxyPassword=webproxy_pwd
For example, add:
-Dhttp.proxyHost=webproxy.eng.jiveland.com -Dhttp.proxyPort=3128 -Dhttp.proxyUser=jive -Dhttp.proxyPassword=jive
The
proxyUser
andproxyPassword
properties are required. If your proxy server does not require a user name and password, include these options with blank values.Warning: If you have already seteae.custom_jvm_args
, you need to append the existing setting to the string above, or it will be overwritten. - If the system is NOT the production instance, go to
jive.eae.instance.type
to the value2
.
and set the system property - Restart the Activity Engine instance and the application servers.
Advanced proxy configurations
If you have DNS proxying enabled, you also need to set the
jive.apps.proxy.whitelist.cidrs
system property to include the IP address
(single node) or CIDR addresses of your proxy server. Domain names are not supported. You
can separate multiple addresses with spaces.
If your site uses client certificate validation, you should contact Support for assistance.
Reverse proxying can modify data in ways that are not compatible with running Jive. Reverse proxies are often configured to reject GETs with special characters in the query string, strip the bodies from PUT commands, and add prefixes to cookie names. For example, Jive Apps require the colon (:) character to be supported in URLs. If you use IIS-based reverse proxying with .NET 4.5 or earlier, colons are blocked by default. In this case, upgrading to .NET 5.0 resolves the problem.