[RTFACT-9461] CLONE - Cannot have two P2 virtual repositories with the same remote repo Created: 01/Mar/16  Updated: 14/Nov/17  Resolved: 07/Mar/16

Status: Resolved
Project: Artifactory Binary Repository
Component/s: P2
Affects Version/s: 3.9.2, 4.0.2
Fix Version/s: 4.4.0

Type: Bug Priority: Normal
Reporter: Aaron Rhodes Assignee: Roy Zanbel (Inactive)
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
duplicates RTFACT-7696 Cannot have two P2 virtual repositori... Resolved


Steps to reproduce:
1. Create two vitual repositories with p2 enabled
2. add a url to the remote repository of one, such as http://goclipse.github.io/releases/
3. Try adding the same remote url to the other virtual, gives error same as

No way to work around, including editing config descriptor or not creating remote during configuration until last repository.

Comment by Daniel Holmes [ 01/Mar/16 ]

Hitting the same issue with this repo http://www.nodeclipse.org/updates/ using 4.5.2 version where this original bug was supposedly fixed

Comment by Daniel Holmes [ 01/Mar/16 ]

Oriiginal issue reported under https://www.jfrog.com/jira/browse/RTFACT-7696

Comment by Daniel Holmes [ 01/Mar/16 ]

Also with 4.5.2 the original URL for which this issue was to have been fixed also still fails. http://goclipse.github.io/releases/

There is nothing of value available in the logs to indicate what the error/issue is for this problem

Comment by Daniel Holmes [ 01/Mar/16 ]

Ok, trying nodeclipse again with closer watching of the logs. I see this occur on the second virtual p2 repository I attempt to add to (I have a virtual repo for each eclipse release)

2016-03-01 09:33:59,510 [http-nio-8081-exec-8] [INFO ] (o.a.u.r.s.a.c.r.UpdateRepositoryConfigService:43) - Updating repository eclipse-luna-plugins
2016-03-01 09:33:59,582 [http-nio-8081-exec-8] [ERROR] (o.a.u.r.s.a.c.r.UpdateRepositoryConfigService:48) - Failed to update repository eclipse-luna-plugins: Expected a file but found a folder, at: dl.google.com:eclipse/plugin/4.4/compositeContent.jar

Trying to hit the URL for that jar redirects to some google object store at https://commondatastorage.googleapis.com/eclipse_toolreleases/products/gpe/main/4.4/compositeContent.jar and returns an invalid key page. That is probably the error. Maybe this is an underlying issue for the google eclipse plugin (https://developers.google.com/eclipse/docs/install-eclipse-4.4)? I don't know if they have changed how this update site is deployed or not, it was already in my list of remote repositories and I don't think is really related to nodeclipse and goclipse at all.

If it matters I have the same dl.google.com/eclipse/plugin/4.4 configured in both my luna and mars virtual repos (there is not a 4.5 version of this released to match with Mars)

Generated at Fri Jun 05 22:47:13 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.