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...
-Danny From: [email protected] [mailto:[email protected]] On Behalf Of Geert Josten Sent: Wednesday, April 18, 2012 10:31 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] XDMP-CANCELED Hi Selva, 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.. Kind regards, Geert Van: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] 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? Best Regards, Selva
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
