Hi Geert,

Its just xQuery file deployment using Roxy, Following privilege has been give 
to the role deploying xquery files [app-role in Roxy properties file]

Inherited Role:
manage-user, rest-admin

Executive privilege:
unprotected-uri, unprotected-collections, xdmp-invoke, xslt-eval, xdmp-value

Looks like update permission of the xQuery file is causing locking since first 
time insert is working fine - but not sure about that.

Thanks
Abhishek

________________________________
From: [email protected] 
[[email protected]] on behalf of Geert Josten 
[[email protected]]
Sent: Thursday, March 26, 2015 4:02 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] XDMP-LOCKED Roxy Deployment

Hi Abhishek,

Bootstrap uses admin: and sec: functions. Those require a whole bunch of privs. 
I am kind of guessing that you are referring to deploying modules and content 
though. That should only require the priv to run through xcc, and permission to 
insert in the given uri/collection. The XDMP-LOCKED surprises me a bit, since I 
am unaware of Roxy acquiring locks explicitly itself.

Can you confirm whether it concerned bootstrap of deploy modules, and can you 
also give more details about the no-admin user? Did you assign privs/roles?

Kind regards,
Geert

From: 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Thursday, March 26, 2015 at 1:14 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] XDMP-LOCKED Roxy Deployment


Hi All,



I am doing Roxy deployment using no-admin user. First time deployment of XQuery 
files went well but next successive deployment is throwing XDMP-LOCKED Document 
or directory is locked exception.



Not sure If I am missing any special privilege or permission to deployer role.



Thanks

Abhishek

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to