Java EE 7更新工具安装失败 [英] Java EE 7 updatetool installation fails

查看:130
本文介绍了Java EE 7更新工具安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图安装带有updatetool的Java EE 7,以便能够运行Java EE Tutorial示例。



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



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



错误文本示例1:



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

 无法下载应用程序包。这可能是因为:
- 访问互联网需要代理服务器。请确保
系统代理服务器设置正确,或者将'http_proxy'
环境变量设置为代理服务器的完整URL。
- 软件包服务器或网络连接速度慢。
如果您发现超时错误,您可以尝试设置
PKG_CLIENT_CONNECT_TIMEOUT和PKG_CLIENT_READ_TIMEOUT
环境变量,然后重试。例如,要增加
,超时到300秒将它们设置为300
- 软件包服务器已关闭或以其他方式无法访问,或者
生成无效数据。请联系包
服务器的提供商。

错误文本示例2:

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

 无法下载应用程序包。这可能是因为:
- 访问互联网需要代理服务器。请确保
系统代理服务器设置正确,或者将'http_proxy'
环境变量设置为代理服务器的完整URL。
- 软件包服务器或网络连接速度慢。
如果您发现超时错误,您可以尝试设置
PKG_CLIENT_CONNECT_TIMEOUT和PKG_CLIENT_READ_TIMEOUT
环境变量,然后重试。例如,要增加
,超时到300秒将它们设置为300
- 软件包服务器已关闭或以其他方式无法访问,或者
生成无效数据。请联系包
服务器的提供商。

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

解决方案

我拥有相同的功能 - 这是因为他们的网站速度非常慢。

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



但是有时它只是需要再次运行,这在我的工作中情况。


I have tried to install Java EE 7 with updatetool to be able to run Java EE Tutorial examples.

But the installation of updatetool fails. I have tried to start updatetool installation from the command line on my elementary os, then I saw the error when installing updatetool.

Here is an image: http://oi58.tinypic.com/x6iumx.jpg

Error text example 1:

Input/output error: Connection failed for URL http://pkg.oracle.com/javaeesdk/7/native/release/manifest/0/updatetool@2.3.5%2C0-56.2852%3A20111207T211721Z: 503: Service Temporarily Unavailable

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.

Error text example 2:

File 138/564 Input/output error: Connection failed for URL http: //pkg.oracle.com/javaeesdk/7/native/release/file/0/217e83782a91f09fa7f35122412cd155263b107f: 502: Proxy Error

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.

I don't use any proxy server. Help please!

解决方案

I had the same - it's because their site is so unbelievably slow.

The output you showed tells you what to do, increase the timeout.

But sometimes it just needs to be run again, which worked in my case.

这篇关于Java EE 7更新工具安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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