僵尸http.proxyHost设置为OSX上的JVM [英] Zombie http.proxyHost settings for JVM on OSX

查看:124
本文介绍了僵尸http.proxyHost设置为OSX上的JVM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近更改了网络,并从OSX(Leopard)上的系统偏好设置/网络面板中删除了所有的HTTP代理设置。然而,现在每当我使用Eclipse时,Java HTTP代理系统的属性似乎都是自动设置为使用我现在停止的HTTP代理。

I recently changed network and removed all my HTTP proxy settings from the System Preferences / Networking panel on OSX (Leopard). However, now whenever I use Eclipse the Java HTTP proxy system properties seem to be 'automagically' set to use my now defunct HTTP proxy.

我可以找到直接参考到我的系统上的这个代理任何地方,已经删除并重新安装了Eclipse,已经监视网络流量以排除任何代理自动配置,但是该代理配置仍然存在于Mac OSX JVM。

I can find no direct reference to this proxy anywhere on my system, have deleted and reinstalled Eclipse, have monitored the network traffic to rule out any proxy auto configuration, and yet this proxy configuration persists on the Mac OSX JVM.

这是我在Eclipse配置详细信息中看到的:

This is what I see in the Eclipse configuration details:

http.proxyHost=zombie
http.proxyPort=8080
https.proxyHost=zombie
https.proxyPort=8080

我可以通过在Eclipse首选项中手动配置没有主机名或端口的代理来解决这个问题,但这似乎并没有阻止,僵尸系统代理最终从死亡。

I can work around this by manually configuring a proxy with no host name or port in the Eclipse preferences, but this doesn't seem to stick and the zombie system proxy eventually rises from the dead.

我个人认为这是一种苹果JVM的错误 - 但是任何人都可以告诉我如何杀死e僵尸HTTP代理设置好,不需要重新安装我的操作系统?

Personally I think that this is some kind of Apple JVM bug - but can anyone tell me how I can kill these zombie HTTP proxy settings for good without reinstalling my operating system?

推荐答案

检查

/System/Library/Frameworks/JavaVM.framework/Home/lib/net.properties

该文件中有意见说,如果系统偏好设置中没有代理设置,代理设置(来自net.properties)仅使用。我想知道如果有更新您的net.properties文件,设置代理信息。现在您没有代理设置(在系统偏好设置中),实际上正在使用net.properties中的值。

There are comments in that file saying proxy settings (from net.properties) are used only if there are no proxy settings in System Preferences. I'm wondering if something updated your net.properties file, setting proxy info. Now that you have no proxy settings (in System Preferences), the values in net.properties are actually being used.

这篇关于僵尸http.proxyHost设置为OSX上的JVM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆