【问题标题】:Java EE 7 updatetool installation failsJava EE 7 updatetool 安装失败
【发布时间】:2014-05-13 11:26:28
【问题描述】:

我已尝试使用 updatetool 安装 Java EE 7,以便能够运行 Java EE 教程示例。

但是updatetool的安装失败了。我尝试在我的基本操作系统上从命令行开始安装 updatetool,然后我在安装 updatetool 时看到了错误。

这是一张图片:http://oi58.tinypic.com/x6iumx.jpg

错误文本示例 1:

输入/输出错误:URL http://pkg.oracle.com/javaeesdk/7/native/release/manifest/0/updatetool@2.3.5%2C0-56.2852%3A20111207T211721Z 连接失败:503:服务暂时不可用

Could not download application packages. This could be because:
  - a proxy server is needed to access the internet. Please ensure that
    the system proxy server settings are correct, or set the 'http_proxy'
    environment variable to the full URL of the proxy server.
  - the package server or network connection is slow.
    If you are getting time out errors you can try setting the
    PKG_CLIENT_CONNECT_TIMEOUT and PKG_CLIENT_READ_TIMEOUT
    environment variables and try again. For example to increase
    the timeouts to 300 seconds set them to 300
  - the package server is down or otherwise inaccessible or it is
    generating invalid data. Please contact the provider of the package
    server.

错误文本示例 2:

文件 138/564 输入/输出错误:URL http://pkg.oracle.com/javaeesdk/7/native/release/file/0/217e83782a91f09fa7f35122412cd155263b107f 连接失败:502:代理错误

Could not download application packages. This could be because:
  - a proxy server is needed to access the internet. Please ensure that
    the system proxy server settings are correct, or set the 'http_proxy'
    environment variable to the full URL of the proxy server.
  - the package server or network connection is slow.
    If you are getting time out errors you can try setting the
    PKG_CLIENT_CONNECT_TIMEOUT and PKG_CLIENT_READ_TIMEOUT
    environment variables and try again. For example to increase
    the timeouts to 300 seconds set them to 300
  - the package server is down or otherwise inaccessible or it is
    generating invalid data. Please contact the provider of the package
    server.

我不使用任何代理服务器。请帮忙!

【问题讨论】:

标签: java oracle jakarta-ee glassfish java-ee-7


【解决方案1】:

我也有同样的情况 - 这是因为他们的网站速度太慢了。

你显示的输出告诉你做什么,增加超时。

但有时它只需要再次运行,这在我的情况下有效。

【讨论】:

  • @experimenter:我知道,像甲骨文这样的公司的网站如此不可靠,这真是令人遗憾。您唯一的机会是改天再试一次,或者尝试联系教程团队并要求直接下载,但我还没有找到。
  • 是的,发生这样的事情可不是很好。感谢支持:)
【解决方案2】:

您可以从 Oracle Java EE 7 SDK download page 下载教程。

只需下载最新的 Java EE 7 SDK,然后解压缩。本教程位于 glassfish4/docs 文件夹中。

【讨论】:

  • 问问题时它不在里面。我的问题是关于更新工具的安装,而不是特别是教程。
【解决方案3】:

我终于在 3 天后安装了 updatetool。

我对所有遇到同样问题的人的建议:

在早上、下午、晚上和晚上尝试安装几次。也许一旦你有成功的尝试:)

问题不在我这边。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-09-13
    • 2010-12-26
    • 2010-11-24
    • 2013-07-20
    • 2015-12-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多