How to change value of Read time out of Eclipse Update Manager?

issue:I have slow internet connection and I cannot install any plugin, because Eclipse‘s Update manager throws me exception:

ava.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127)

at ...

solution 1:
I got the error a lot with version 3.6, but adding the following line to the eclipse.ini helped me a lot:
//-Dsun.net.client.defaultConnectTimeout=10000
-Dsun.net.client.defaultReadTimeout=30000

Add it right after the line with -vmargs

solution 2:
As Frank mentioned you can set the timeout options in the eclipse.ini, here‘s the.
‘use -DpropName=propValue as a VM argument to the Java VM, set the desired property in the config.ini file in the appropriate configuration area‘
I set the following to get round my timeout issue:

-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=3000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=3000

refer to link how-to-change-value-of-read-timeout-of-eclipses-update-manager

How to change value of Read time out of Eclipse Update Manager?

时间: 2024-12-16 15:29:01

How to change value of Read time out of Eclipse Update Manager?的相关文章

27 Best Free Eclipse Plug-ins for Java Developer to be Productive

Eclipse offers an integrated development environment having an extensible plug-in system. This enables Eclipse to provide all functionality on the top of its run-time system. It’s also different from other applications (where the functionality provid

Change Data template dynamically

1. Attached Property bound to task state. Any change will dynamically set data template.2. Visual State Manager A DataTemplateSelector does not respond to PropertyChange notifications, so it doesn't get re-evaluated when your properties change. The a

How to change 2011 x3 series F25 CIC from English to German

This is a conversation between a F25 owner and a professional technician talking about F25 CIC language change Purpose: To change 2011 x3 series F25 CIC from English to German. A: I've got a 2011 x3 series F25 and have just retrofitted a CIC into it

How to change SAPABAP1 schema password In HANA

Symptom How to change SAPABAP1 schema password Environment HANA 1.x HANA 2.x Resolution Shutdown the SAP Application server Change the password for SAPABAP1 in HANA Studio Update the hdbuserstore on SAP Application server The hdbuserstore can be upda

JPA project Change Event Handler问题解决

eclipse使用的是有经常会出现JPA project Change Event Handler(watering)很卡 网上的解决办法是 [Help > Installation Details > Installed Software] 下面找到Dali Java Persistence Tools -JPA Support   然后删掉重启 但是有个时候还是会出现JPA project Change Event Handler的问题 那么关掉eclipse然后在安装目录下plugins

浅谈java中内置的观察者模式与动态代理的实现

一.关于观察者模式 1.将观察者与被观察者分离开来,当被观察者发生变化时,将通知所有观察者,观察者会根据这些变化做出对应的处理. 2.jdk里已经提供对应的Observer接口(观察者接口)与Observable(被观察者类)用于实现观察者模式 3.关于Observer接口,该接口只有一个update方法,当被观察者发生相关变化时,会通知所有的观察者,观察者接受到通知时,调用update方法进行处理.贴出源代码: 1 /* 2 * Copyright (c) 1994, 1998, Oracle

day6:vcp考试

Q101. Refer to the Exhibit.Which tab shows the Hardware Acceleration support status?A. DevicesB. PropertiesC. PathsD. Advanced Options Q102. Which minor badge items make up the Efficiency badge score for an ESXi host in vCenter Operations Manager?A.

UMA - Unity Multipurpose Avatar

UMA version 1.0.1.0R Unity 4.3 What is UMA? UMA - Unity Multipurpose Avatar, is an open avatar creation framework, it provides both base code and example content to create avatars. Using the UMA pack, it ?s possible to customize the code and content

project03日志分析工具AWStats

++++++++++++++++++++ 日志分析工具AWStats ++++++++++++++++++++ http://www.oschina.net/project http://www.oschina.net/project/tag/147/log-analyzer --统计日志分析工具 http://www.awstats.org/ --官方网站 http://www.nltechno.com/awstats/awstats.pl?config=destailleur.fr  --官