Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » [Solved] P2 Repository Download failure
[Solved] P2 Repository Download failure [message #1058295] Mon, 13 May 2013 09:38 Go to next message
Scott Hull is currently offline Scott Hull
Messages: 32
Registered: July 2012
Member
Everyone,

Tycho is unable to find the EclipseLink 2.4.1 repository and our build spits out the error shown below. This just started happening on Friday after working fine for months. The link to download the zip file of the repository works fine, but could there be some other problem with the repo? The final exception claims "Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://download.eclipse.org/rt/eclipselink/updates/2.4.1.v20121003-ad44345.zip."

Our target platform is based on Juno.

Thanks for your time! The error is after my signature.

Forest


--

ERROR] Internal error: java.lang.RuntimeException: Failed to resolve target definition /home/user/research/NiCEWorkspace/gov.ornl.nice.target.juno/NiCEJunoTarget_RCP.target: Failed to load metadata repository from location http://download.eclipse.org/rt/eclipselink/updates: Unable to read repository at http://download.eclipse.org/rt/eclipselink/updates. No repository found at http://download.eclipse.org/rt/eclipselink/updates/2.4.1.v20121003-ad44345.zip. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to resolve target definition /home/user/research/NiCEWorkspace/gov.ornl.nice.target.juno/NiCEJunoTarget_RCP.target
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.RuntimeException: Failed to resolve target definition /home/user/research/NiCEWorkspace/gov.ornl.nice.target.juno/NiCEJunoTarget_RCP.target
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:338)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:207)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:94)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
... 11 more
Caused by: org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: Failed to load metadata repository from location http://download.eclipse.org/rt/eclipselink/updates
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.loadRepository(TargetDefinitionResolver.java:190)
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:109)
at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.resolveFromArguments(TargetDefinitionResolverService.java:64)
at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.getTargetDefinitionContent(TargetDefinitionResolverService.java:54)
at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addTargetDefinition(TargetPlatformBuilderImpl.java:289)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:331)
... 16 more
Caused by: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.eclipse.org/rt/eclipselink/updates.
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:186)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.<init>(CompositeMetadataRepository.java:107)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:122)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:758)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:82)
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.loadRepository(TargetDefinitionResolver.java:188)
... 21 more
Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://download.eclipse.org/rt/eclipselink/updates/2.4.1.v20121003-ad44345.zip.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:393)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:675)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:82)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:167)
... 30 more

[Updated on: Tue, 14 May 2013 08:23]

Report message to a moderator

Re: P2 Repository Download failure [message #1058379 is a reply to message #1058295] Mon, 13 May 2013 15:07 Go to previous messageGo to next message
Scott Hull is currently offline Scott Hull
Messages: 32
Registered: July 2012
Member
Temporary solution:

I have located a temporary solution to the issue. This is an alternative link to the pre 2.4.2 (2.4.1 and earlier) p2 repos for eclipselink.

http://mirror.cs.rit.edu/mirrors/eclipse/rt/eclipselink/updates




[Updated on: Mon, 13 May 2013 15:11]

Report message to a moderator

Re: P2 Repository Download failure [message #1058538 is a reply to message #1058379] Tue, 14 May 2013 08:22 Go to previous message
Scott Hull is currently offline Scott Hull
Messages: 32
Registered: July 2012
Member
Solution:

Use the following in the URL path. Make sure to uncheck the "groups" option if you are modifying an eclipse target. This will allow you to manually check all the components of the package.

http://download.eclipse.org/rt/eclipselink/updates/2.4.1.v20121003-ad44345

Previous Topic:Difficult Query to be made in Eclipselink
Next Topic: create a function via nativeQuery
Goto Forum:
  


Current Time: Sun Aug 31 02:38:20 EDT 2014

Powered by FUDForum. Page generated in 0.01618 seconds