Problem
App ignores proxy setting -Dhttp.nonProxyHosts
Cause:
Oracle JDK ignores apostrophes in the host declaration, but OpenJDK does not:
JVM_SUPPORT_RECOMMENDED_ARGS="-Dhttp.nonProxyHosts='<host_1_ip_addr>|<host_2_ip_addr>|*.example.com'"
Solution
If you use OpenJDK, get rid of the apostrophes in the host declaration:
JVM_SUPPORT_RECOMMENDED_ARGS="-Dhttp.nonProxyHosts=<host_1_ip_addr>|<host_2_ip_addr>|*.example.com"
Related articles