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!

Troubleshooting Java not receiving Proxy information

BrianPCMar 31 2014

Hello,

I work in an environment where we have Microsoft TMG installed, with the TMG client on every computer.  The TMG configuration with Java 1.6 worked properly on computer previously to an upgrade of Windows 7 & Java 1.7

Here is the config of an average computer

Win7 64 bit

Java 7.51

TMG client

IE 8

The symptom we are experiencing is Java doesn't use the proxy settings that are issued using the TMG's default auto-discovery script found at http://TMGserver:8080/array.dll?Get.Routing.Script

When we have the "internet settings" under the control panel set to "Automatically detect settings", then Java doesn't seem to detect the proxy settings and use them.  I can verify this by looking in the Java console as I run an app, as I constantly see "proxy=direct" in the trace. 

I can fix this by

1. forcing a manual proxy server (with FQDN - simple name doesn't work) in the Java client settings on each user through the control panel applet

2. putting the manual proxy information in a deployment.properties file on each user, or through the "central admin" method of c:\windows\system32\sun\java\deployment\deployment.config & deployment.properties

3. Uncheck the "auto detect settings' and "auto config script" check boxes on the TMG server, so they don't propogate to each TMG client, and aren't put in the "internet settings" of the computer

3. upgrading client to Java 8

Unfortunately Java 8 isn't supported by another application, so upgrading to Java 8 is not a possible fix.  Neither is having to manually add (even by script) the Java proxy settings for thousands of users.  I've read all about how Java pulls proxy info from the registry, but have proven that Java seems to check multiple places to get proxy info, even if not found in registry.  This seems to be a very distinct problem where Java is not accessing the "automatically detect settings" or "use automatic configuration script" settings as set in the "internet settings."  It may be that something needs to change with the TMG server, but difficult to understand what and why.

Can anyone point me to useful links or other ideas on how to fix this?  The script being issued by the TMG server is the one created by default.  I have been troubleshooting this a lot, but I'm not getting any traction on understanding why Java 7.51 doesn't grab proxy information.  I would reapply appreciate any assistance that is offered.

thanks,

Brian

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 28 2014
Added on Mar 31 2014
0 comments
1,535 views