LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   java console work for window not from cent os(net.properties question) (https://www.linuxquestions.org/questions/linux-newbie-8/java-console-work-for-window-not-from-cent-os-net-properties-question-4175668760/)

PoleStar 01-31-2020 10:25 AM

java console work for window not from cent os(net.properties question)
 
Hi,

I am trying to configure remote console on centos 7 serve.

For testing
When I use windows server with jre8 console works fine.. I notices it adds
https://<address>:443
to the popup windows before it connect to https://<address>

When I use on centOS it adds
https://<address>:8022
Then it say it could not download files.
Please note 8822 is the port where proxy listens.

I checked /usr/java/jre1.8.0_241-amd64/lib/net.properties

Code:

[centos@ndbterm3 Downloads]$ grep =  /usr/java/jre1.8.0_241-amd64/lib/net.properties
java.net.useSystemProxies=true <---- I checked with both true and false
#java.net.useSystemProxies=false
# http.proxyHost=
# http.proxyPort=80
http.nonProxyHosts=localhost|127.*|[::1]
# https.proxyHost=
# https.proxyPort=443
# ftp.proxyHost=
# ftp.proxyPort=80
ftp.nonProxyHosts=localhost|127.*|[::1]
# gopher.proxyHost=
# gopher.proxyPort=80
# socksProxyHost=
# socksProxyPort=1080
# http.KeepAlive.remainingData=512
# http.KeepAlive.queuedConnections=10
#jdk.http.auth.proxying.disabledSchemes=
jdk.http.auth.tunneling.disabledSchemes=Basic
#jdk.http.ntlm.transparentAuth=disabled
#jdk.http.ntlm.transparentAuth=allHosts
#jdk.http.ntlm.transparentAuth=trustedHosts
jdk.http.ntlm.transparentAuth=disabled
[centos@ndbterm3 Downloads]$

any ideas ?

PoleStar 02-04-2020 10:13 AM

I used ControlPanel utility in oracle jave installation.. and configured proxy.
Now its working fine.


All times are GMT -5. The time now is 04:47 PM.