Swapnil Bagul created SLING-4920:
------------------------------------
Summary: ontent.query.json gives 404
Key: SLING-4920
URL: https://issues.apache.org/jira/browse/SLING-4920
Project: Sling
Issue Type: Bug
Environment: JDK 1.7
Reporter: Swapnil Bagul
I am using sling and trying to execute xpath query with //* using get request
http://localhost:8089/content.query.tidy.json?queryType=xpath&statement=//*
but getting 404 error as follows
No resource found (404)
The requested URL /content.query.tidy.json resulted in an error in
org.apache.sling.servlets.resolver.internal.defaults.DefaultErrorHandlerServlet.
Request Progress:
0 (2015-08-03 14:16:05) TIMER_START{Request Processing}
0 (2015-08-03 14:16:05) COMMENT timer_end format is {<elapsed
msec>,<timer name>} <optional message>
0 (2015-08-03 14:16:05) LOG Method=GET, PathInfo=/content.query.tidy.json
0 (2015-08-03 14:16:05) TIMER_START{ResourceResolution}
0 (2015-08-03 14:16:05) TIMER_END{0,ResourceResolution}
URI=/content.query.tidy.json resolves to Resource=NonExistingResource,
path=/content.query.tidy.json
0 (2015-08-03 14:16:05) LOG Resource Path Info: SlingRequestPathInfo:
path='/content.query.tidy.json', selectorString='query.tidy', extension='json',
suffix='null'
0 (2015-08-03 14:16:05) TIMER_START{ServletResolution}
0 (2015-08-03 14:16:05) TIMER_START{resolveServlet(NonExistingResource,
path=/content.query.tidy.json)}
0 (2015-08-03 14:16:05) TIMER_END{0,resolveServlet(NonExistingResource,
path=/content.query.tidy.json)} Using servlet
org.apache.sling.servlets.get.DefaultGetServlet
0 (2015-08-03 14:16:05) TIMER_END{0,ServletResolution}
URI=/content.query.tidy.json handled by
Servlet=org.apache.sling.servlets.get.DefaultGetServlet
0 (2015-08-03 14:16:05) LOG Applying Requestfilters
0 (2015-08-03 14:16:05) LOG Calling filter:
org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
0 (2015-08-03 14:16:05) LOG Applying Componentfilters
0 (2015-08-03 14:16:05)
TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}
0 (2015-08-03 14:16:05)
TIMER_END{0,org.apache.sling.servlets.get.DefaultGetServlet#0}
0 (2015-08-03 14:16:05) TIMER_START{handleError:status=404}
0 (2015-08-03 14:16:05) TIMER_END{0,handleError:status=404} Using handler
org.apache.sling.servlets.resolver.internal.defaults.DefaultErrorHandlerServlet
0 (2015-08-03 14:16:05) TIMER_END{0,Request Processing} Dumping
SlingRequestProgressTracker Entries
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)