Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 37457 invoked from network); 22 Feb 2011 16:24:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2011 16:24:04 -0000 Received: (qmail 47289 invoked by uid 500); 22 Feb 2011 16:24:04 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 46763 invoked by uid 500); 22 Feb 2011 16:24:00 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 46731 invoked by uid 99); 22 Feb 2011 16:23:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 16:23:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 16:23:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 808B51B212E for ; Tue, 22 Feb 2011 16:23:38 +0000 (UTC) Date: Tue, 22 Feb 2011 16:23:38 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: <222475851.8518.1298391818523.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (CXF-3357) ServletController can not handle more than one endpoint sharing the same servlet path MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 ServletController can not handle more than one endpoint sharing the same servlet path ------------------------------------------------------------------------------------- Key: CXF-3357 URL: https://issues.apache.org/jira/browse/CXF-3357 Project: CXF Issue Type: Bug Components: Transports Affects Versions: 2.3.2 Reporter: Sergey Beryozkin Assignee: Sergey Beryozkin Fix For: 2.4 ServletController and its updateDests method causes problems with the basic deployment, where we have at least 2 endpoints, say with "/1" and "/2" addresses and a single CXFServlet (ex, with the uri pattern "/services/*"). If the first URI is http://localhost:8080/services/1 then the subsequent request to http://localhost:8080/services/2 fails because updateDests has the lastBase (http://localhost:8080/services) matching the current one and thus the correct destination does not have its address overridden. Overriding addresses is an issue on its own but at the very least the ServletController should not override *all* the destinations but only the one which will handle the current request. The OSGI controller actually does not even has this lastBase optimization and minimizing the number of the overrides will compensate. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira