Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9AA3A1035C for ; Wed, 30 Oct 2013 14:52:47 +0000 (UTC) Received: (qmail 77775 invoked by uid 500); 30 Oct 2013 14:49:55 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 77597 invoked by uid 500); 30 Oct 2013 14:49:34 -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 77451 invoked by uid 99); 30 Oct 2013 14:49:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Oct 2013 14:49:27 +0000 Date: Wed, 30 Oct 2013 14:49:27 +0000 (UTC) From: "Fabien Thouny (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-5347) Request routing is broken when the URL contains both jsessionid and an extension MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-5347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809166#comment-13809166 ] Fabien Thouny commented on CXF-5347: ------------------------------------ The fix works for me. Thanks ! > Request routing is broken when the URL contains both jsessionid and an extension > -------------------------------------------------------------------------------- > > Key: CXF-5347 > URL: https://issues.apache.org/jira/browse/CXF-5347 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 2.7.7 > Reporter: Alnour Goulamhoussen > Assignee: Sergey Beryozkin > Fix For: 3.0.0, 2.7.8, 2.6.11 > > Attachments: CXF-5347.tar.gz > > > When the application receive a request with an url containing an extension and the jsessionid, like http://mycompany.com/app/service.xml;jsessionid , CXF is not able to match the path to a registered service : > {code} > WARNING: No operation matching request path "/cxf-sample/hello/jsonBean.json;jsessionid=mysession" is found, Relative Path: /jsonBean.json;jsessionid=mysession, HTTP Method: POST, ContentType: application/json, Accept: application/json,. > Oct 21, 2013 4:57:54 PM org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper toResponse > WARNING: javax.ws.rs.ClientErrorException > at org.apache.cxf.jaxrs.utils.JAXRSUtils.findTargetMethod(JAXRSUtils.java:503) > at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:227) > at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:103) > [...] > {code} > The reason is that the class org.apache.cxf.jaxrs.impl.RequestPreprocessor doesn't strip the jsessionid before trying to match extension/language mappings -- This message was sent by Atlassian JIRA (v6.1#6144)