Thomas Diesler created FELIX-4415:
-------------------------------------
Summary: Cannot associate HttpService instance with ServletContext
Key: FELIX-4415
URL: https://issues.apache.org/jira/browse/FELIX-4415
Project: Felix
Issue Type: Bug
Components: HTTP Service
Affects Versions: http-2.2.1
Reporter: Thomas Diesler
A tracker like this
{code}
tracker = new ServiceTracker<HttpService, HttpService>(context,
HttpService.class, null) {
@Override
public HttpService addingService(ServiceReference<HttpService>
sref) {
httpService = super.addingService(sref);
registerHttpServiceServlet();
return httpService;
}
};
tracker.open();
{code}
cannot associate an HttpService instance with the servlet context that
registered it. Adding the contextPath as service property would be a possible
solution.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)