[ https://issues.apache.org/jira/browse/CXF-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-3090. ----------------------------------- Resolution: Fixed Fix Version/s: 2.4 2.3.1 2.2.12 Assignee: Sergey Beryozkin > JAX-RS Trailing slashes required for first access > ------------------------------------------------- > > Key: CXF-3090 > URL: https://issues.apache.org/jira/browse/CXF-3090 > Project: CXF > Issue Type: Bug > Affects Versions: 2.2.10 > Environment: Running in tomcat via cargo > Reporter: Patrick Leamon > Assignee: Sergey Beryozkin > Fix For: 2.2.12, 2.3.1, 2.4 > > > I have a CXFServlet configured with a url pattern of /service/* > In my beans definition I have a <jaxrs:server address="/description">... > The service bean mapped to this has no @Path annotation, just a method with > an @GET. > This leads to some odd behaviour. If the first attempt to access the servlet > goes to the url "/service/description", a 404 is returned. If a trailing > slash is added so the url becomes "/service/description/", the service works > fine. Once any access to the servlet has matched a url correctly, then > "/service/description" (no trailing slash) works fine. > It would be great if this could be accessed consistently. Either require a > traliing slash or allow the request without it. Preferably the latter. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.