Hi Dec, Yes it helps me a lot ! Many thanks Lanz
> ---------- Forwarded message ---------- > From: Declan Newman <[email protected]> > Date: Fri, Apr 23, 2010 at 15:41 > Subject: Re: [MarkLogic Dev General] XQSync : Authorization failed for > admin user > To: [email protected] > > > Hi Lancelot, > > I had a similar issue recently. I had digest authentication on rather > than basic in the app server settings. > > I hope this helps. > > Dec > > On 23/04/2010 14:08, Lanz wrote: >> >> I've been using XQSync to backup some databases from one ML server >> (version 4.1.3, W2003 R2 32 bits) to restore them on another ML server >> (version 4.1.3, W2008 64 bits R2). >> Backup worked fine, I obtained a bunch of zip files. But for the >> restore it doesn't work at all : XQSync throw me this error : >> >> GRAVE: fatal error >> com.marklogic.xcc.exceptions.RequestPermissionException: Authorization >> failed for user 'admin'. >> [Session: user=admin, cb=kappaV3 [ContentSource: user=admin, >> cb=kappaV3 [provider: address=localhost/127.0.0.1:9031, pool=0/64]]] >> at >> com.marklogic.xcc.impl.handlers.UnauthorizedHandler.handleResponse(UnauthorizedHandler.java:29) >> at >> com.marklogic.xcc.impl.handlers.EvalRequestController.serverDialog(EvalRequestController.java:68) >> at >> com.marklogic.xcc.impl.handlers.AbstractRequestController.runRequest(AbstractRequestController.java:72) >> at >> com.marklogic.xcc.impl.SessionImpl.submitRequest(SessionImpl.java:280) >> at >> com.marklogic.xcc.impl.CBMetaDataImpl.refreshServerVersion(CBMetaDataImpl.java:168) >> at >> com.marklogic.xcc.impl.CBMetaDataImpl.getServerVersionString(CBMetaDataImpl.java:128) >> at com.marklogic.ps.xqsync.XQSyncManager.run(XQSyncManager.java:169) >> at com.marklogic.ps.xqsync.XQSync.main(XQSync.java:81) >> >> >> Command line : java -cp "xqsync.jar;xcc.jar;xstream.jar;xpp3.jar" >> -Xms1024m -Xmx1024m -Dfile.encoding=UTF-8 >> -DOUTPUT_CONNECTION_STRING=xcc://admin:x...@localhost:9031/kappaV3 >> -DINPUT_PACKAGE=KappaV3-database-000.zip >> com.marklogic.ps.xqsync.XQSync >> >> I'm using 'admin' user which has 'admin' role and should have access >> to target database. XDBC server on target database is created and >> listen to right port... >> I don't understand why it did not work... >> Any help would be really appreciated. >> Thanks >> >> Lancelot >> _______________________________________________ >> General mailing list >> [email protected] >> http://xqzone.com/mailman/listinfo/general >> > > -- > Declan Newman, Senior Software Engineer, > Semantico, Floor 1, 21-23 Dyke Road, Brighton BN1 3FE > <http://www.semantico.com/> > <mailto:[email protected]> > <tel:+44-1273-358247> <fax:+44-1273-723232> > > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
