[MarkLogic Dev General] XCC Connection

Gnana Arasan gnanaarasanm at gmail.com
Wed Jun 18 08:14:20 PDT 2008


Hi everyone,
1) XCC/J
           invoke.setModuleUri("fileName.xqy");
           ResultSequence rs = session.submitRequest(invoke);

           Invalid user can be found only at this point (or) any possibility
while creating session object.

2) I am connecting to MarkLogic XDBC Server with XCC  from Java.When i am
trying to Login with adminuser and adminpass its working fine for test.xqy
file

let $a := 1
return $a

for other user(role:applicationRole) applicationRole with
applicationPrivileage(executivePriv)

{while creating XDBC Server when  privilage field is blank]

ERROR:
               com.marklogic.xcc.exceptions.XQueryException: SEC-PRIV:
Insufficient privileges
in /invoke


{while creating XDBC Server  privilage field is applicationRole]

ERROR:
com.marklogic.xcc.exceptions.RequestPermissionException: Authorization
failed for user 'Franklin'.

MarkLogic Version:3.2-5

            please guide me ...
                                                    Regards,
                                                                Gnana Arasan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20080618/e0be7970/attachment.html


More information about the General mailing list