You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Swapnil Bagul (JIRA)" <ji...@apache.org> on 2015/08/03 11:48:05 UTC

[jira] [Commented] (SLING-4920) ontent.query.json gives 404

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

Swapnil Bagul commented on SLING-4920:
--------------------------------------

Hi Robart

Thanks for your reply I am new to sling can you please tell  how to
deploy the `org.apache.sling.servlets.compat` bundle into Launchpad
instance. I have deployed war in tomcat which I have downloaded from sling
site



On Mon, Aug 3, 2015 at 2:44 PM, Robert Munteanu (JIRA) <ji...@apache.org>




-- 
Thanks and Regards
Swapnil Bagul
9665337110 and 7588734167


> 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)