Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » [p2] Director install accessing ganymede download site using local repository
[p2] Director install accessing ganymede download site using local repository [message #114003] Fri, 11 July 2008 14:09 Go to next message
Rich Scott is currently offline Rich ScottFriend
Messages: 63
Registered: July 2009
Member
I am using p2 director to install my RCP appication specifying a file:...
URL for both -metadataRepository and -artifactRepository. My assumption
has been that all access to locate file to install has been from the
provided local directory. However, today I got the stack trace shown below
which indicates that the connection to
http://download.eclipse.org/releases/ganymede timed out.

Why is the install going to http://download.eclipse.org/releases/ganymede?
What do I need to do to limit access to only the repository provided?

Thanks

Rich Scott


!ENTRY org.eclipse.equinox.p2.artifact.repository 4 0 2008-07-11
09:46:50.250
!MESSAGE Unable to load repository:
http://download.eclipse.org/releases/ganymede
!STACK 1
org.eclipse.equinox.internal.provisional.p2.core.ProvisionEx ception: Error
reading update site http://download.eclipse.org/release
s/ganymede.
at
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadSi teFile(UpdateSite.java:172)
at
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.load(U pdateSite.java:105)
at
org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepository. <init>(UpdateSiteArtifactRepository.ja
va:45)
at
org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepositoryFactory.load(UpdateSiteArtifactReposito
ryFactory.java:33)
at
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
java:439)
at
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
java:415)
at
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
java:402)
at
org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch (DownloadManager.java:103)
at
org.eclipse.equinox.internal.p2.engine.DownloadManager.start (DownloadManager.java:93)
at
org.eclipse.equinox.internal.provisional.p2.engine.phases.Co llect.completeInstallableUnitPhase(Collect.java:56)
at
org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.completePhase(InstallableUnitPhase.java:79)
at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.pos tPerform(Phase.java:143)
at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:85)
at
org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.perform(InstallableUnitPhase.java:53)
at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:46)
at
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:38)
at
org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:53)
at
org.eclipse.equinox.internal.p2.director.app.Application.pla nAndExecute(Application.java:213)
at
org.eclipse.equinox.internal.p2.director.app.Application.run (Application.java:365)
at
org.eclipse.equinox.internal.p2.director.app.Application.sta rt(Application.java:423)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
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(Unk nown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
Source)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(U nknown Source)
at
org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnection RetrieveFileTransfer.openStreams(UrlConnectionRetrieveFileT
ransfer.java:237)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
nsfer.java:639)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
nsfer.java:381)
at
org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocol RetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAd
apter.java:95)
at
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.tran sfer(ECFTransport.java:284)
at
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.perf ormDownload(ECFTransport.java:193)
at
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.down load(ECFTransport.java:167)
at
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadSi teFile(UpdateSite.java:156)
... 31 more
!SUBENTRY 1 org.eclipse.equinox.p2.updatesite 4 1002 2008-07-11
09:46:50.516
!MESSAGE Error reading update site
http://download.eclipse.org/releases/ganymede.
!STACK 0
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(Unk nown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
Source)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(U nknown Source)
at
org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnection RetrieveFileTransfer.openStreams(UrlConnectionRetrieveFileT
ransfer.java:237)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
nsfer.java:639)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
nsfer.java:381)
at
org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocol RetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAd
apter.java:95)
at
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.tran sfer(ECFTransport.java:284)
at
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.perf ormDownload(ECFTransport.java:193)
at
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.down load(ECFTransport.java:167)
at
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadSi teFile(UpdateSite.java:156)
at
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.load(U pdateSite.java:105)
at
org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepository. <init>(UpdateSiteArtifactRepository.ja
va:45)
at
org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepositoryFactory.load(UpdateSiteArtifactReposito
ryFactory.java:33)
at
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
java:439)
at
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
java:415)
at
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
java:402)
at
org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch (DownloadManager.java:103)
at
org.eclipse.equinox.internal.p2.engine.DownloadManager.start (DownloadManager.java:93)
at
org.eclipse.equinox.internal.provisional.p2.engine.phases.Co llect.completeInstallableUnitPhase(Collect.java:56)
at
org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.completePhase(InstallableUnitPhase.java:79)
at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.pos tPerform(Phase.java:143)
at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:85)
at
org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.perform(InstallableUnitPhase.java:53)
at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:46)
at
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:38)
at
org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:53)
at
org.eclipse.equinox.internal.p2.director.app.Application.pla nAndExecute(Application.java:213)
at
org.eclipse.equinox.internal.p2.director.app.Application.run (Application.java:365)
at
org.eclipse.equinox.internal.p2.director.app.Application.sta rt(Application.java:423)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Installation failed.
Re: [p2] Director install accessing ganymede download site using local repository [message #114516 is a reply to message #114003] Fri, 18 July 2008 18:32 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
There are two ways around this:
- hack the director.app code to pass in the provisioning context the repos
that are specified on the command line
- delete the two p2 prefs files (configuration/.settings) in the install of
eclipse that you are using to run the director

Also please open an enhancement request against Equinox / p2.

Thx

"Rich Scott" <rscott@cas.org> wrote in message
news:b3407959bf7d7f5615edc355eaf08bab$1@www.eclipse.org...
>I am using p2 director to install my RCP appication specifying a file:...
>URL for both -metadataRepository and -artifactRepository. My assumption
>has been that all access to locate file to install has been from the
>provided local directory. However, today I got the stack trace shown below
>which indicates that the connection to
>http://download.eclipse.org/releases/ganymede timed out.
>
> Why is the install going to http://download.eclipse.org/releases/ganymede?
> What do I need to do to limit access to only the repository provided?
>
> Thanks
>
> Rich Scott
>
>
> !ENTRY org.eclipse.equinox.p2.artifact.repository 4 0 2008-07-11
> 09:46:50.250
> !MESSAGE Unable to load repository:
> http://download.eclipse.org/releases/ganymede
> !STACK 1
> org.eclipse.equinox.internal.provisional.p2.core.ProvisionEx ception: Error
> reading update site http://download.eclipse.org/release
> s/ganymede.
> at
> org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadSi teFile(UpdateSite.java:172)
> at
> org.eclipse.equinox.internal.p2.updatesite.UpdateSite.load(U pdateSite.java:105)
> at
> org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepository. <init>(UpdateSiteArtifactRepository.ja
> va:45)
> at
> org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepositoryFactory.load(UpdateSiteArtifactReposito
> ryFactory.java:33)
> at
> org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
> java:439)
> at
> org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
> java:415)
> at
> org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
> java:402)
> at
> org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch (DownloadManager.java:103)
> at
> org.eclipse.equinox.internal.p2.engine.DownloadManager.start (DownloadManager.java:93)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.phases.Co llect.completeInstallableUnitPhase(Collect.java:56)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.completePhase(InstallableUnitPhase.java:79)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Phase.pos tPerform(Phase.java:143)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:85)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.perform(InstallableUnitPhase.java:53)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:46)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:38)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:53)
> at
> org.eclipse.equinox.internal.p2.director.app.Application.pla nAndExecute(Application.java:213)
> at
> org.eclipse.equinox.internal.p2.director.app.Application.run (Application.java:365)
> at
> org.eclipse.equinox.internal.p2.director.app.Application.sta rt(Application.java:423)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 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(Unk nown
> Source)
> at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
> Source)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(U nknown Source)
> at
> org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnection RetrieveFileTransfer.openStreams(UrlConnectionRetrieveFileT
> ransfer.java:237)
> at
> org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
> nsfer.java:639)
> at
> org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
> nsfer.java:381)
> at
> org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocol RetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAd
> apter.java:95)
> at
> org.eclipse.equinox.internal.p2.updatesite.ECFTransport.tran sfer(ECFTransport.java:284)
> at
> org.eclipse.equinox.internal.p2.updatesite.ECFTransport.perf ormDownload(ECFTransport.java:193)
> at
> org.eclipse.equinox.internal.p2.updatesite.ECFTransport.down load(ECFTransport.java:167)
> at
> org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadSi teFile(UpdateSite.java:156)
> ... 31 more
> !SUBENTRY 1 org.eclipse.equinox.p2.updatesite 4 1002 2008-07-11
> 09:46:50.516
> !MESSAGE Error reading update site
> http://download.eclipse.org/releases/ganymede.
> !STACK 0
> 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(Unk nown
> Source)
> at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
> Source)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(U nknown Source)
> at
> org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnection RetrieveFileTransfer.openStreams(UrlConnectionRetrieveFileT
> ransfer.java:237)
> at
> org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
> nsfer.java:639)
> at
> org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
> nsfer.java:381)
> at
> org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocol RetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAd
> apter.java:95)
> at
> org.eclipse.equinox.internal.p2.updatesite.ECFTransport.tran sfer(ECFTransport.java:284)
> at
> org.eclipse.equinox.internal.p2.updatesite.ECFTransport.perf ormDownload(ECFTransport.java:193)
> at
> org.eclipse.equinox.internal.p2.updatesite.ECFTransport.down load(ECFTransport.java:167)
> at
> org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadSi teFile(UpdateSite.java:156)
> at
> org.eclipse.equinox.internal.p2.updatesite.UpdateSite.load(U pdateSite.java:105)
> at
> org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepository. <init>(UpdateSiteArtifactRepository.ja
> va:45)
> at
> org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepositoryFactory.load(UpdateSiteArtifactReposito
> ryFactory.java:33)
> at
> org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
> java:439)
> at
> org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
> java:415)
> at
> org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
> java:402)
> at
> org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch (DownloadManager.java:103)
> at
> org.eclipse.equinox.internal.p2.engine.DownloadManager.start (DownloadManager.java:93)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.phases.Co llect.completeInstallableUnitPhase(Collect.java:56)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.completePhase(InstallableUnitPhase.java:79)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Phase.pos tPerform(Phase.java:143)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:85)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.perform(InstallableUnitPhase.java:53)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:46)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:38)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:53)
> at
> org.eclipse.equinox.internal.p2.director.app.Application.pla nAndExecute(Application.java:213)
> at
> org.eclipse.equinox.internal.p2.director.app.Application.run (Application.java:365)
> at
> org.eclipse.equinox.internal.p2.director.app.Application.sta rt(Application.java:423)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> Installation failed.
>
Re: [p2] Director install accessing ganymede download site using local repositor [message #114616 is a reply to message #114516] Fri, 18 July 2008 19:06 Go to previous message
Rich Scott is currently offline Rich ScottFriend
Messages: 63
Registered: July 2009
Member
Pascal,

Thanks for the reply, I can work with those for now. I did open an
enhancement request, #241430.

Thanks
Rich Scott

Pascal Rapicault wrote:

> There are two ways around this:
> - hack the director.app code to pass in the provisioning context the repos
> that are specified on the command line
> - delete the two p2 prefs files (configuration/.settings) in the install of
> eclipse that you are using to run the director

> Also please open an enhancement request against Equinox / p2.

> Thx

> "Rich Scott" <rscott@cas.org> wrote in message
> news:b3407959bf7d7f5615edc355eaf08bab$1@www.eclipse.org...
>>I am using p2 director to install my RCP appication specifying a file:...
>>URL for both -metadataRepository and -artifactRepository. My assumption
>>has been that all access to locate file to install has been from the
>>provided local directory. However, today I got the stack trace shown below
>>which indicates that the connection to
>>http://download.eclipse.org/releases/ganymede timed out.
>>
>> Why is the install going to http://download.eclipse.org/releases/ganymede?
>> What do I need to do to limit access to only the repository provided?
>>
>> Thanks
>>
>> Rich Scott
>>
>>
>> !ENTRY org.eclipse.equinox.p2.artifact.repository 4 0 2008-07-11
>> 09:46:50.250
>> !MESSAGE Unable to load repository:
>> http://download.eclipse.org/releases/ganymede
>> !STACK 1
>> org.eclipse.equinox.internal.provisional.p2.core.ProvisionEx ception: Error
>> reading update site http://download.eclipse.org/release
>> s/ganymede.
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadSi teFile(UpdateSite.java:172)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.load(U pdateSite.java:105)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepository. <init>(UpdateSiteArtifactRepository.ja
>> va:45)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepositoryFactory.load(UpdateSiteArtifactReposito
>> ryFactory.java:33)
>> at
>>
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
>> java:439)
>> at
>>
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
>> java:415)
>> at
>>
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
>> java:402)
>> at
>>
org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch (DownloadManager.java:103)
>> at
>>
org.eclipse.equinox.internal.p2.engine.DownloadManager.start (DownloadManager.java:93)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.phases.Co llect.completeInstallableUnitPhase(Collect.java:56)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.completePhase(InstallableUnitPhase.java:79)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Phase.pos tPerform(Phase.java:143)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:85)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.perform(InstallableUnitPhase.java:53)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:46)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:38)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:53)
>> at
>>
org.eclipse.equinox.internal.p2.director.app.Application.pla nAndExecute(Application.java:213)
>> at
>>
org.eclipse.equinox.internal.p2.director.app.Application.run (Application.java:365)
>> at
>>
org.eclipse.equinox.internal.p2.director.app.Application.sta rt(Application.java:423)
>> at
>>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>> 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(Unk nown
>> Source)
>> at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
>> Source)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(U nknown Source)
>> at
>>
org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnection RetrieveFileTransfer.openStreams(UrlConnectionRetrieveFileT
>> ransfer.java:237)
>> at
>>
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
>> nsfer.java:639)
>> at
>>
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
>> nsfer.java:381)
>> at
>>
org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocol RetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAd
>> apter.java:95)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.tran sfer(ECFTransport.java:284)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.perf ormDownload(ECFTransport.java:193)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.down load(ECFTransport.java:167)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadSi teFile(UpdateSite.java:156)
>> ... 31 more
>> !SUBENTRY 1 org.eclipse.equinox.p2.updatesite 4 1002 2008-07-11
>> 09:46:50.516
>> !MESSAGE Error reading update site
>> http://download.eclipse.org/releases/ganymede.
>> !STACK 0
>> 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(Unk nown
>> Source)
>> at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
>> Source)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(U nknown Source)
>> at
>>
org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnection RetrieveFileTransfer.openStreams(UrlConnectionRetrieveFileT
>> ransfer.java:237)
>> at
>>
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
>> nsfer.java:639)
>> at
>>
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetri eveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTra
>> nsfer.java:381)
>> at
>>
org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocol RetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAd
>> apter.java:95)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.tran sfer(ECFTransport.java:284)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.perf ormDownload(ECFTransport.java:193)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.ECFTransport.down load(ECFTransport.java:167)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadSi teFile(UpdateSite.java:156)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.UpdateSite.load(U pdateSite.java:105)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepository. <init>(UpdateSiteArtifactRepository.ja
>> va:45)
>> at
>>
org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSi teArtifactRepositoryFactory.load(UpdateSiteArtifactReposito
>> ryFactory.java:33)
>> at
>>
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
>> java:439)
>> at
>>
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
>> java:415)
>> at
>>
org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.
>> java:402)
>> at
>>
org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch (DownloadManager.java:103)
>> at
>>
org.eclipse.equinox.internal.p2.engine.DownloadManager.start (DownloadManager.java:93)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.phases.Co llect.completeInstallableUnitPhase(Collect.java:56)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.completePhase(InstallableUnitPhase.java:79)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Phase.pos tPerform(Phase.java:143)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:85)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.perform(InstallableUnitPhase.java:53)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:46)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:38)
>> at
>>
org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:53)
>> at
>>
org.eclipse.equinox.internal.p2.director.app.Application.pla nAndExecute(Application.java:213)
>> at
>>
org.eclipse.equinox.internal.p2.director.app.Application.run (Application.java:365)
>> at
>>
org.eclipse.equinox.internal.p2.director.app.Application.sta rt(Application.java:423)
>> at
>>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>> Installation failed.
>>
Previous Topic:[p2] Director install: artifact file for com.ibm.icu noot found
Next Topic:p2/pde testing p2 software update in rcp application using IDE (not running deployed build)
Goto Forum:
  


Current Time: Fri Dec 27 14:09:13 GMT 2024

Powered by FUDForum. Page generated in 0.03250 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top