felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-4415) Cannot associate HttpService instance with ServletContext
Date Wed, 05 Feb 2014 10:16:10 GMT
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

        tracker = new ServiceTracker<HttpService, HttpService>(context, HttpService.class,
null) {
            public HttpService addingService(ServiceReference<HttpService> sref) {
                httpService = super.addingService(sref);
                return httpService;

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

View raw message