Page tree
Skip to end of metadata
Go to start of metadata

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

..\jre
-Xmx1024m
-Djava.net.useSystemProxies=true
-cp
....

Since 2014.02, in the ini file

vmarg.2=-Djava.net.useSystemProxies=true

If you have proxy settings different from LAN, you can explicitely define them in the .JPIF
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:

..\jre
-Xmx1024m
-Dhttp.proxyHost=[proxyhostURL]
-Dhttp.proxyPort=[proxyPortNumber, default 80]
-Dhttp.proxyUser=[someUserName]
-Dhttp.proxyPassword=[somePassword]
-cp
....

Since 2014.02 in the ini file:

vmarg.2=-Dhttp.proxyHost=[proxyhostURL]
vmarg.3=-Dhttp.proxyPort=[proxyPortNumber, default 80]
vmarg.4=-Dhttp.proxyUser=[someUserName]
vmarg.5=-Dhttp.proxyPassword=[somePassword]

 

In a server-client setup you need to adjust the fews.master.mcproxy.conf file and include these arguments in the jvm block. Note that you should specify this for both http and https seperately (also in the ini and or jpif file following the example mentioned above).

<arg id="3" value="-Dhttp.proxyHost=[proxyhostURL]"/>
<arg id="4" value="-Dhttp.proxyPort=[proxyPortNumber, default 80]"/>
<arg id="5" value="-Dhttps.proxyHost=[proxyhostURL]"/>
<arg id="6" value="-Dhttps.proxyPort=[proxyPortNumber, default 80]"/>


Since 2018.02 all -D options should be added to the clientConfig.xml. 

<jvmOption>-Djava.net.useSystemProxies=true</jvmOption>


or


<jvmOption>-Dhttp.proxyHost=[proxyhostURL]</jvmOption>
<jvmOption>-Dhttp.proxyPort=[proxyPortNumber, default 80]</jvmOption>
<jvmOption>-Dhttp.proxyUser=[someUserName]</jvmOption>
<jvmOption>-Dhttp.proxyPassword=[somePassword]</jvmOption>
for all details on the JAVA options this link
  • No labels