Hi, I'd say this is an up to now un-expected scenario :-) Therefore could you open an issue for this?
regards, Achim 2015-06-23 5:01 GMT+02:00 Stephen Kahmann <[email protected]>: > Hi everyone, > > I just had a question about Karaf Cave provisioning for OBR. Why is it > not okay to have two repositories that host the same artifact? We have > multiple project being served from the same cave server and have a need to > separate repositories to limit resolution of certain bundles. > Unfortunately, that means the shared bundles have to be in a shared > repository instead of having them in duplicated in the project specific > repositories. When you do this, you get a 500 Server Error: > > HTTP ERROR 500 > > Problem accessing /cave/gson-2.2.4.jar. Reason: > > Server Error > > Caused by: > > javax.servlet.ServletException: Multiple resources found with URI > gson-2.2.4.jar > at > org.apache.karaf.cave.server.http.WrapperServlet.doIt(WrapperServlet.java:124) > > > Thanks, > > Stephen > > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
