Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB54F10993 for ; Wed, 5 Feb 2014 10:16:29 +0000 (UTC) Received: (qmail 36887 invoked by uid 500); 5 Feb 2014 10:16:28 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 36567 invoked by uid 500); 5 Feb 2014 10:16:26 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 36316 invoked by uid 99); 5 Feb 2014 10:16:10 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 10:16:10 +0000 Date: Wed, 5 Feb 2014 10:16:10 +0000 (UTC) From: "Thomas Diesler (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FELIX-4415) Cannot associate HttpService instance with ServletContext MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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(context, HttpService.class, null) { @Override public HttpService addingService(ServiceReference 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)