The root error comes from an old copy of RecordLoader. From the log you attached....
RecordLoader starting, version 2008-07-11.1 on 1.6.0_25 Aug 9, 2012 7:08:20 PM com.marklogic.ps.RecordLoader configureFiles INFO: processing: abc.properties ... Aug 9, 2012 7:08:20 PM com.marklogic.recordloader.Configuration getContentFactor yConstructor INFO: client = 5.0-3, server = 5.0-3.3 Aug 9, 2012 7:08:20 PM com.marklogic.recordloader.Loader processRecords WARNING: error in India_Manmohan_Singh at E:\documents\marklogic\xyz\India_Manmo han_Singh.xml Aug 9, 2012 7:08:20 PM com.marklogic.recordloader.Loader processRecords WARNING: current URI = India_Manmohan_Singh/1 Aug 9, 2012 7:08:20 PM com.marklogic.recordloader.Loader processRecords WARNING: 0 in empty byteBuffer Aug 9, 2012 7:08:20 PM com.marklogic.recordloader.Loader processRecords WARNING: buffer = <name xmlns="http://marklogic.com/mlu/world-leaders"> Aug 9, 2012 7:08:20 PM com.marklogic.recordloader.Loader processRecords WARNING: pos = START_TAG seen ...ms of the \r\n GNU Free Documentation L icense.-->\r\n <name>... @10:11 Aug 9, 2012 7:08:20 PM com.marklogic.recordloader.Loader processRecords WARNING: text = <name> Aug 9, 2012 7:08:20 PM com.marklogic.ps.SimpleLogger logException SEVERE: exception com.marklogic.xcc.exceptions.XQueryException: XDMP-USEDECLARE: (err:XPST0003) Us e 'declare' rather than 'define' (declare variable) [Session: user=admin, cb={default} [ContentSource: user=admin, cb={none} [provi der: address=localhost/127.0.0.1:9000, pool=1/64]]] [Client: XCC/5.0-3, Server: XDBC/5.0-3.3] on line 1 ... Looks clear to me: an XQuery version error because the old version of RecordLoader (2008!) doesn't have version declarations. You could hack this by setting your XCC server to default to 0.9-ml, but it is better to upgrade RecordLoader. I can't recall the details, but I believe AutoLoader was a wrapper around RecordLoader or a fork of it. But the current RecordLoader release might do much of what AL did: take a look at the LOOP_FOREVER and DELETE_INPUT_FILES options. -- Mike On 9 Aug 2012, at 07:02 , himanshu kapsime wrote: > Hi, > I am not using the record loader directly. My record loader is working fine > but I want is using Autoloader and for this I have included all the latest > jars (AutoLoader.jar,xcc.jar, xpp3.jar and RecordLoaderMod.jar ). I dont > think I have to do anything with recordloader.jar here. > > Regards > Himanshu > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
