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] [Commented] (CXF-3573) CXF/JAX-RS can not handle encoded urls that contain a jsessionid
Date Wed, 08 Jun 2011 09:57:58 GMT

    [ https://issues.apache.org/jira/browse/CXF-3573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045876#comment-13045876
] 

Sergey Beryozkin commented on CXF-3573:
---------------------------------------

I need to know how reviewHistoryResource is annotated.
Are you saying it looks like this:
// no @Path defaults to @Path("/")
public class ReviewHistoryResource {
  @GET
  public void getHistory() {...}

}

In other words, a request URI ends with something like

/ReviewHistory;jSessionId=somevalue?query1=value&query2=value

?

> CXF/JAX-RS can not handle encoded urls that contain a jsessionid
> ----------------------------------------------------------------
>
>                 Key: CXF-3573
>                 URL: https://issues.apache.org/jira/browse/CXF-3573
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.12
>            Reporter: Xi Zhang
>
> CXF/JAX-RS stack can not handle encoded urls that contain a jsessionid, 
> I get the warning in the logger after ich try to get data thru REST URL that contains
a session cookie lsited below
> http://localhost:8099/workplace/service;jsessionid=ctjy3rhkbyya1j73rceiw2rup?patientId=1109&responseTimeZone=America%2FLos_Angeles&noCache=1307087541416
> Jun 7, 2011 4:58:40 PM org.apache.cxf.jaxrs.utils.JAXRSUtils findTargetMethod
> WARNING: No operation matching request path /;jsessionid=ctjy3rhkbyya1j73rceiw2rup is
found, HTTP Method : GET, ContentType : */*, Accept : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,.
> Jun 7, 2011 4:58:40 PM org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper toResponse
> WARNING: WebApplicationException has been caught : no cause is available
> 2011-06-07 16:58:40,457 WARN  o.a.cxf.jaxrs.utils.JAXRSUtils[]: No operation matching
request path /;jsessionid=ctjy3rhkbyya1j73rceiw2rup is found, HTTP Method : GET, ContentType
: */*, Accept : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,.
> 2011-06-07 16:58:40,473 WARN  o.a.c.j.i.WebApplicationExceptionMapper[]: WebApplicationException
has been caught : no cause is available

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message