Hi Jagannath,

You could intervene in the Security database using for instance CQ, but I would 
be very careful with that. I recommend contacting 
[email protected]<mailto:[email protected]>, and ask them to guide you 
through. They can also file this as a bug..

Kind regards,
Geert

Van: [email protected] 
[mailto:[email protected]] Namens Jagannath Saha
Verzonden: vrijdag 11 maart 2011 0:39
Aan: General Mark Logic Developer Discussion
Onderwerp: [MarkLogic Dev General] Can't delete security collection(s) with 
same URI

Hi,

Our CPF code in a "race-condition" created two collections with same URI. Now, 
we are not able to access security/collections from Admin console. It's giving 
the following error.

500: Internal Server Error
XDMP-AS: (err:XPTY0004) get-collection($uri) -- Invalid coercion: 
(fn:doc("http://marklogic.com/xdmp/collections/1530537999769757152";)/sec:collection,
 
fn:doc("http://marklogic.com/xdmp/collections/17635603970608174244";)/sec:collection)
 as element(sec:collection)
In /MarkLogic/security.xqy on line 4189

IDs of the two collections are 1530537999769757152, 17635603970608174244

We are trying to delete the collection by the collection IDs using the Admin 
console URL /drop-collection.xqy?section=security&collection=ID but it's not of 
any help. It's displaying the same "Invalid coercion:" error again.

Please let us know, is there any workaround for this issue.

Thanks
Jagannath.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to