[MarkLogic Dev General] XDMP-CANCELED
Danny.Sokolsky at marklogic.com
Wed Apr 18 10:45:05 PDT 2012
If this is wrapped in an eval or an invoke, then it is probably possible to catch this exception. But likely both requests would be canceled at the same time so it might be tricky...
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Geert Josten
Sent: Wednesday, April 18, 2012 10:31 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] XDMP-CANCELED
It is an indication that the request was terminated (canceled) from outside the request, so you cannot catch that exception from inside the request itself. It could be that the user in the browser canceled the request (by interrupting the load), or some admin killed the task on the MarkLogic host. In case the user canceled it, not sure you can catch that in your user interface. A server-side cancel should I think return a 500 with XDMP-CANCELED in the response body..
Van: general-bounces at developer.marklogic.com<mailto:general-bounces at developer.marklogic.com> [mailto:general-bounces at developer.marklogic.com<mailto:general-bounces at developer.marklogic.com>] Namens Selvakumar Murugesan
Verzonden: woensdag 18 april 2012 19:03
Aan: MarkLogic Developer Discussion
Onderwerp: [MarkLogic Dev General] XDMP-CANCELED
I am trying to load 275 mb files into marklogic. I got the below error message from my logs.
XDMP-CANCELED: cts:search(fn:doc(), cts:and-query((cts:collection-query($dictionary), cts:collection-query("Process")))) -- Canceled request "/process.xqy"
I have a interface to upload the marklogic file. Can i catch this exception in my interface?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General