You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2011/05/11 16:05:47 UTC
[jira] [Created] (CXF-3509) Unhelpful / misleading JAX-RS log
message
Unhelpful / misleading JAX-RS log message
-----------------------------------------
Key: CXF-3509
URL: https://issues.apache.org/jira/browse/CXF-3509
Project: CXF
Issue Type: Bug
Components: JAX-RS
Affects Versions: 2.4
Reporter: Benson Margulies
2011-05-11 10:01:52,277 [http-9167-2] WARN org.apache.cxf.jaxrs.utils.JAXRSUtils - No operation matching request path / is found, HTTP Method : POST, ContentType : application/json, Accept : application/xml,.
2011-05-11 10:01:52,277 [http-9167-2] WARN org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper - WebApplicationException has been caught : no cause is available
The request path here is very unhelpful. That is '/' relative to a particular jaxrs:service, which is nowhere named. The message should somehow 'name that service'.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CXF-3509) Unhelpful / misleading JAX-RS log
message
Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-3509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-3509.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.3.5
2.4.1
Assignee: Sergey Beryozkin
Benson, I've added a template var for capturing Absolute URI as well and reworded the messages a bit. Enabling FINE level will tell you which root resource class and which methods have been tried.
It's difficult to 'name' the endpoint - it could be a non spring endpoint, it could be a subresource which fails to provide a resource method.
> Unhelpful / misleading JAX-RS log message
> -----------------------------------------
>
> Key: CXF-3509
> URL: https://issues.apache.org/jira/browse/CXF-3509
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.4
> Reporter: Benson Margulies
> Assignee: Sergey Beryozkin
> Fix For: 2.4.1, 2.3.5
>
>
> 2011-05-11 10:01:52,277 [http-9167-2] WARN org.apache.cxf.jaxrs.utils.JAXRSUtils - No operation matching request path / is found, HTTP Method : POST, ContentType : application/json, Accept : application/xml,.
> 2011-05-11 10:01:52,277 [http-9167-2] WARN org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper - WebApplicationException has been caught : no cause is available
> The request path here is very unhelpful. That is '/' relative to a particular jaxrs:service, which is nowhere named. The message should somehow 'name that service'.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira