Jean-Baptiste Onofré created KARAF-3803:
-------------------------------------------

             Summary: Cave is not able to "proxy" two backend repositories with 
the same artifact
                 Key: KARAF-3803
                 URL: https://issues.apache.org/jira/browse/KARAF-3803
             Project: Karaf
          Issue Type: Bug
          Components: cave-server
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: cave-2.3.1, cave-3.0.1, cave-4.0.0


Cave is not able to "proxy" two repositories hosting the same artifact.

For instance, we have multiple projects served by 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:

{code}
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)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to