cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-3357) ServletController can not handle more than one endpoint sharing the same servlet path
Date Tue, 22 Feb 2011 16:23:38 GMT
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

        

Mime
View raw message