Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Proxy error after installing 8u25 or 7u71

KK 20Oct 21 2014 — edited Jan 28 2016

Updated from java 7r67 to 8r25 and noticed that java is ignoring all my proxy settings. 7r67 works just fine, 8r25 does not. I can uninstall 8r25 and reinstall 7r67 and things start to work again. This is the error in the java console (just connecting to the "verify java" on java.com):

network: Connecting https://www.java.com/applet/JavaRemovalTool/launch.jnlp with proxy=DIRECT

network: Cache entry not found [url: file:/C:/Program%20Files%20(x86)/Java/jre1.8.0_25/lib/ext/sunec.jar, version: null]

network: Cache entry not found [url: file:/C:/Program%20Files%20(x86)/Java/jre1.8.0_25/lib/ext/sunjce_provider.jar, version: null]

network: Connecting http://www.java.com:443/ with proxy=DIRECT

as you can see, proxy=DIRECT is bad. I.E. uses "auto" as we have a PAC file available. Again, this hasn't changed from as long as I can remember with java.  There is no overriding <Windows Directory>\Sun\Java\Deployment\deployment.config and the deployment.properties within only contains the security setting=HIGH (same as 7r67). The users deployment.config is as follows:

#deployment.properties

#Tue Oct 21 11:57:40 BST 2014

deployment.security.revocation.check=NO_CHECK

deployment.trace=true

install.disable.sponsor.offers=false

deployment.version=8

deployment.browser.path=C\:\\Program Files\\Internet Explorer\\iexplore.exe

deployment.modified.timestamp=1413889060883

deployment.security.TLSv1.2=false

deployment.log=true

deployment.console.startup.mode=SHOW

deployment.security.TLSv1.1=false

#Java Deployment jre's

#Tue Oct 21 11:57:40 BST 2014

deployment.javaws.jre.0.product=1.8.0_25

deployment.javaws.jre.0.registered=true

deployment.javaws.jre.0.osname=Windows

deployment.javaws.jre.0.platform=1.8

deployment.javaws.jre.0.path=C\:\\Program Files (x86)\\Java\\jre1.8.0_25\\bin\\javaw.exe

deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se

deployment.javaws.jre.0.enabled=true

deployment.javaws.jre.0.osarch=x86

this mirrors the working deployment.config for 7r67 - same proxy settings (i.e. none so it defaults to "browser settings").

#deployment.properties

#Tue Oct 21 12:15:47 BST 2014

deployment.expiration.decision.timestamp.10.67.2=1413889571

deployment.security.revocation.check=NO_CHECK

deployment.trace=true

install.disable.sponsor.offers=false

deployment.javaws.splash.index=C\:\\Users\\administrator\\AppData\\LocalLow\\Sun\\Java\\Deployment\\cache\\6.0\\splash\\splash.xml

deployment.version=7.21

deployment.expiration.decision.suppression.10.67.2=false

deployment.javaws.appicon.index=C\:\\Users\\administrator\\AppData\\LocalLow\\Sun\\Java\\Deployment\\cache\\6.0\\appIcon\\appIcon.xml

deployment.browser.path=C\:\\Program Files (x86)\\Internet Explorer\\iexplore.exe

deployment.modified.timestamp=1413890147995

deployment.expiration.decision.10.67.2=later

deployment.log=true

deployment.console.startup.mode=SHOW

#Java Deployment jre's

#Tue Oct 21 12:15:47 BST 2014

deployment.javaws.jre.0.registered=true

deployment.javaws.jre.0.platform=1.7

deployment.javaws.jre.0.osname=Windows

deployment.javaws.jre.0.path=C\:\\Program Files (x86)\\Java\\jre7\\bin\\javaw.exe

deployment.javaws.jre.0.product=1.7.0_67

deployment.javaws.jre.0.osarch=x86

deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se

deployment.javaws.jre.0.enabled=true

deployment.javaws.jre.0.args=

resulting java console for 7r67 shows that the proxy is being grabbed successfully:

network: Connecting https://www.java.com/applet/JavaRemovalTool/launch.jnlp with proxy=HTTP @ /10.1.1.236:8180

as indeed our proxy is 10.1.1.236:8180

The same happens (proxy=direct) in 7u71 and 7u72.  I even tried regressing back to 7u60 which worked fine (proxy=http@/10.1.1.236:8180) I am at a complete loss as to why it refuses to accept the proxy settings in 8r25 especially as I can remove reinstall 7r67/60 without issue. Still baffled, ive tried manually setting the proxy within java control panel but to no effect - still proxy=direct in the console. The changed in control panel are reflected in the deployment.properties file so I know the settings are saving. I can edit the deployment.properties to enable/disable the console so again java is reading this file - simply ignoring the proxy settings

Any ideas?

This post has been answered by 2779806 on Oct 24 2014
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 25 2016
Added on Oct 21 2014
25 comments
27,012 views