[
https://jira.nuxeo.org/browse/NXP-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anahide Tchertchian resolved NXP-3808.
--------------------------------------
Resolution: Cannot Reproduce
cannot reproduce, may be due to use of jersey instead of resteasy
> Bad error logging when a webengine page is not found for a given url
> --------------------------------------------------------------------
>
> Key: NXP-3808
> URL: https://jira.nuxeo.org/browse/NXP-3808
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: WebEngine
> Affects Versions: 5.2 GA
> Reporter: Anahide Tchertchian
> Assignee: Anahide Tchertchian
> Fix For: 5.4
>
>
> When playing with the @Path annotation, sometimes the target page is not
> found.
> There is no error in the logs (=> not visible in console), but the log file
> shows an error output like for instance:
> org.jboss.resteasy.spi.NoResourceFoundFailure: Could not find resource for
> relative : /mysite/mymodule/%40switchLocale of full path:
> http://localhost:8080/nuxeo
> /site/mysite/mymodule/%40switchLocale?lang=en
> at
> org.jboss.resteasy.core.registry.PathParamSegment.matchPattern(PathParamSegment.java:216)
> at
> org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:349)
> at
> org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:371)
> at
> org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:251)
> at
> org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:138)
> at
> org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:110)
> at
> org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:146)
> at
> org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:110)
> at
> org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:146)
> at
> org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:95)
> at
> org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
> at
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
> at
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
> at
> org.nuxeo.ecm.webengine.server.resteasy.WebEngineServlet.service(WebEngineServlet.java:153)
> => this should be an error log, visible in the console
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets