We're updating the issue view to help you get more done. 

HttpWhiteboard with DS alias pattern with multiple /

Description

When registring a HttpServlet with DS like :

RestCollector.java

1 2 3 4 5 6 7 @Component( service = Servlet.class, name = "org.apache.karaf.decanter.collector.rest.servlet", immediate = true, property = { "decanter.collector.name=rest-servlet", "alias=/decanter/collector" } ) public class RestCollector extends HttpServlet {

the servlet is registred in Apache Karaf but accessing http://localhost:8181/decanter/collector return a 404.

If we change the alias from /decanter/collector to /decanter, it works well.

Tested on Apache Karaf 4.2.1 and PaxWeb 7.2.3.

I will try to fix it but I'm newer on PaxWeb, so I'm not sure I can do it quickly.

Environment

None

Status

Assignee

Jean-Baptiste Onofre

Reporter

françois papon

Labels

None

Components

Fix versions

Affects versions

7.2.3

Priority

Major