[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-build-dev] ConnectionRefused in the update manager
|
Hi,
I've made some more research.
As it turns out, everything is downloaded just fine. The error has
nothing in common with the URL that it displays... I get the same error
when I install using URL's with the file protocol. Some monitoring with
lsof -p <pid> revealed that the update manager, after downloading all
features and plugins, makes an attempt to establish a connection with
localhost:80. As far as I can see, that's the only possible cause of the
error that I get.
Now the question is, why would the update manager attempt to establish a
http connection to localhost? And why does it fail with a "500 Server
Error" when I run it on dev.eclipse.org?
Regards,
Thomas Hallgren
Thomas Hallgren wrote:
Hi,
I'm trying to use the standalone update manager to install a feature.
It works perfectly well on my machine but whenever I try the exact
same code dev.eclipse.org I run into a ConnectionRefusedException. I
know for sure that the URL that I'm trying to access is accessible
since using ant 'get' on the same URL works just fine. Apparently, the
error occurs somewhere in the update-manager when it attempts an
HttpResponse.getStatus(). See stacktract below.
I'm a bit lost as to what could be causing this and what I can do to
make it work. Any advice would be greatly appreciated.
Regards,
Thomas Hallgren
An exception occured while downloading feature from
"http://download.eclipse.org/technology/buckminster/3.3/updates/features/org.eclipse.buckminster.core.headless.feature_1.0.0.v20070212.jar".
[java]
org.eclipse.update.internal.core.FeatureDownloadException[0]:
java.net.ConnectException: Connection refused
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[java] at
sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1206)
[java] at
sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1200)
[java] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:889)
[java] at
org.eclipse.update.internal.core.connection.HttpResponse.getInputStream(HttpResponse.java:127)
[java] at
org.eclipse.update.core.ContentReference.getInputStream(ContentReference.java:155)
[java] at
org.eclipse.update.core.FeatureContentProvider.asLocalReference(FeatureContentProvider.java:268)
[java] at
org.eclipse.update.internal.core.FeaturePackagedContentProvider.retrieveLocalJar(FeaturePackagedContentProvider.java:191)
[java] at
org.eclipse.update.internal.core.FeaturePackagedContentProvider.getPluginEntryArchiveReferences(FeaturePackagedContentProvider.java:179)
[java] at
org.eclipse.update.core.Feature.install(Feature.java:375)
[java] at
org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:96)
[java] at
org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:155)
[java] at
org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:119)
[java] at
org.eclipse.update.internal.operations.InstallOperation.execute(InstallOperation.java:92)
[java] at
org.eclipse.update.internal.operations.BatchInstallOperation.execute(BatchInstallOperation.java:84)
[java] at
org.eclipse.update.standalone.InstallCommand.run(InstallCommand.java:183)
[java] at
org.eclipse.update.standalone.ScriptedCommand.run(ScriptedCommand.java:64)
[java] at
org.eclipse.update.standalone.StandaloneUpdateApplication.run(StandaloneUpdateApplication.java:47)
_______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev