Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 123095 - Update Manager locks up TCP/IP stack on machine
Summary: Update Manager locks up TCP/IP stack on machine
Status: RESOLVED DUPLICATE of bug 123056
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1.1   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 08:32 EST by Michael Searles CLA
Modified: 2006-01-09 09:21 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Searles CLA 2006-01-09 08:32:09 EST
After downloading the Eclipse 3.1.1 build i've tried to use the Update Manager to get the EMF components.

Help->Software Updates->Find and Install
Search for new features to install
Eclipse.org update site
Finished
Eclipse.org update site

Expand Eclipse.org update site
check EMF SDK 2.1.0

Downloads several files then stops. If I press Cancel in the Update Manager progress dialog, nothing happens. 

It totally hangs the TCP/IP stack on my XP machine. I can't ping, can't connect (browser can't connect to any sites) and existing connections (via other applications) are hung... 

the only way to get out of this state is to use Windows Task Manager and end process on Eclipse, then javaw.exe.  After killing javaw.exe, the TCP stack comes back to life.

Was using Sun java 1.4, I tried upgrading to 1.5 (latest), same problem.

I also tried upgrading to Eclipse 3.2M4, same problem.

here is log from, I believe using 3.1.1, and java 1.5


!ENTRY org.eclipse.update.core 4 0 2006-01-07 20:23:11.156
!MESSAGE Unable to retrieve remote reference "http://update.eclipse.org/updates/3.0/plugins/org.eclipse.emf.ecore.sdo_2.1.0.jar". [Connection timed out: connect]
!STACK 0
java.net.ConnectException: Connection timed out: connect
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at org.eclipse.update.internal.core.HttpResponse.getInputStream(HttpResponse.java:126)
	at org.eclipse.update.core.ContentReference.getInputStream(ContentReference.java:146)
	at org.eclipse.update.core.FeatureContentProvider.asLocalReference(FeatureContentProvider.java:250)
	at org.eclipse.update.internal.core.FeaturePackagedContentProvider.getPluginEntryArchiveReferences(FeaturePackagedContentProvider.java:165)
	at org.eclipse.update.internal.operations.UpdateUtils.downloadFeatureContent(UpdateUtils.java:627)
	at org.eclipse.update.internal.operations.UpdateUtils.downloadFeatureContent(UpdateUtils.java:653)
	at org.eclipse.update.internal.ui.wizards.InstallWizard2.download(InstallWizard2.java:405)
	at org.eclipse.update.internal.ui.wizards.InstallWizard2.access$3(InstallWizard2.java:394)
	at org.eclipse.update.internal.ui.wizards.InstallWizard2$4.run(InstallWizard2.java:350)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: java.net.ConnectException: Connection timed out: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at org.eclipse.update.internal.core.HttpResponse.getStatusCode(HttpResponse.java:188)
	at org.eclipse.update.internal.core.UpdateManagerUtils.checkConnectionResult(UpdateManagerUtils.java:520)
	at org.eclipse.update.core.ContentReference.getInputSize(ContentReference.java:193)
	at org.eclipse.update.core.FeatureContentProvider.asLocalReference(FeatureContentProvider.java:214)
	... 7 more
Comment 1 Michael Searles CLA 2006-01-09 09:21:33 EST

*** This bug has been marked as a duplicate of 123056 ***