Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are a few ways to define the proxy settings that should be used by the application, whether OC or FSS. By default does JAVA not use the LAN system proxy settings

The easiest way is to define the JAVA system property java.net.useSystemProxies in the .JPIF. By default does JAVA not use the LAN system proxy settings for JAVA backwards compatibility reason. You should define this property to true to use the default LAN settings.

Before 2014.02 using jpif file

...

Since 2022.01 by default the Windows OS / Linux Gnome proxy settings are used by FEWS. You can add -Djava.net.useSystemProxies=

...

Since 2014.02, in the ini file

...

false as jvmOption to the clientConfig.xml to get the 2021.02 or earlier behavior.

If you have proxy settings different from LAN, you can explicitely define them in the .JPIFexplicitly define these also.
All below listed settings are optional and only required, if it differs from the default setting. For example, it is possible to define only the proxyHost.

Before 2014.02 in the jpif file:

Note that the below "http" keys should be replaced by "https" if the proxy server has an https based url.


Code Block
languagexml
in case of http and not https:
<jvmOption>-
Code Block
..\jre
-Xmx1024m
-Dhttp.proxyHost=[proxyhostURL]
proxyHostname, or IP-address]</jvmOption>
<jvmOption>-Dhttp.proxyPort=[proxyPortNumber, default 80]</jvmOption>
<jvmOption>-Dhttp.proxyUser=[someUserName]
dummy_username]</jvmOption>
<jvmOption>-Dhttp.proxyPassword=[somePassword]
-cp
....

Since 2014.02 in the ini file:

Code Block
vmarg.2=-Dhttp.proxyHost=[proxyhostURL]
vmarg.3=-Dhttpdummy_password]</jvmOption> 

or in case of https:
<jvmOption>-Dhttps.proxyHost=[proxyHostname, or IP-address]</jvmOption>
<jvmOption>-Dhttps.proxyPort=[proxyPortNumber, default 80]
vmarg.4=-Dhttp</jvmOption>
<jvmOption>-Dhttps.proxyUser=[someUserName]
vmarg.5=-Dhttpdummy_username]</jvmOption>
<jvmOption>-Dhttps.proxyPassword=[somePassword]

...

dummy_password]</jvmOption> 

when in doubt, use both

Since java 8, basic authentication is disabled by default. See also: https://www.oracle.com/java/technologies/javase/8u111-relnotes.html. This can be enabled using the following properties:

Code Block
languagexml
<jvmOption>-Djdk.http.auth.tunneling.disabledSchemes=""</jvmOption>
<jvmOption>-Djdk.http.auth.proxying.disabledSchemes=""</jvmOption>
<jvmOption>-Djdk.https.auth.tunneling.disabledSchemes=""</jvmOption>
<jvmOption>-Djdk.https.auth.proxying.disabledSchemes=""</jvmOption>