[MarkLogic Dev General] FATAL_ERRORS not working in record loader

Cathy Bernardone CBERNARD at aip.org
Thu Oct 30 12:44:42 PST 2008


FATAL_ERRORS=FALSE doesn't seem to work with the record loader, as it  
stops processing and does not move on to the next file.  Error and  
code are below.  Help would be greatly appreciated.

Thank you,

Cathy

java -cp $CLASSPATH -DID_NAME=#FILENAME \
-DCONNECTION_STRING=$URL -DOUTPUT_URI_SUFFIX=$URI_SUFFIX \
-DINPUT_PATH=$SRC/$coden \
-DINPUT_STRIP_PREFIX="/scratch1/spin_files/" \
-DURI_PREFIX=$URI_PREFIX com.marklogic.ps.RecordLoader   \
-DFATAL_ERRORS=FALSE

Oct 30, 2008 4:42:32 PM com.marklogic.ps.SimpleLogger logException
SEVERE: fatal - halting monitor
com.marklogic.xcc.exceptions.XQueryException: XDMP-UNENDTAG:  
Unexpected end tag </span> at /archive/POCGEP/vol_11/ 
iss_2/217_1_raw.xml line 35
in /insert
         at  
com 
marklogic 
xcc 
impl 
handlers 
ServerExceptionHandler.handleResponse(ServerExceptionHandler.java:31)
         at  
com 
marklogic 
xcc 
impl 
handlers 
ContentInsertController.serverDialog(ContentInsertController.java:120)
         at  
com 
marklogic 
xcc 
impl 
handlers 
AbstractRequestController.runRequest(AbstractRequestController.java:72)
         at  
com.marklogic.xcc.impl.SessionImpl.insertContent(SessionImpl.java:204)
         at  
com.marklogic.xcc.impl.SessionImpl.insertContent(SessionImpl.java:235)
         at  
com.marklogic.recordloader.xcc.XccContent.insert(XccContent.java:49)
         at  
com.marklogic.recordloader.AbstractLoader.insert(AbstractLoader.java: 
223)
         at  
com.marklogic.recordloader.FileLoader.process(FileLoader.java:45)
         at  
com.marklogic.recordloader.AbstractLoader.call(AbstractLoader.java:69)
         at java.util.concurrent.FutureTask 
$Sync.innerRun(FutureTask.java:269)
         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
         at java.util.concurrent.ThreadPoolExecutor 
$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor 
$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
Oct 30, 2008 4:42:32 PM com.marklogic.recordloader.Monitor halt
INFO: halting
Oct 30, 2008 4:42:32 PM com.marklogic.ps.SimpleLogger logException
SEVERE: sleep was interrupted: continuing
java.lang.InterruptedException: sleep interrupted
         at java.lang.Thread.sleep(Native Method)
         at com.marklogic.recordloader.Monitor.monitor(Monitor.java:141)
         at com.marklogic.recordloader.Monitor.run(Monitor.java:85)
Oct 30, 2008 4:42:32 PM com.marklogic.recordloader.Monitor run
INFO: loaded 16 records ok (48829 B in 0.45593018 s, 35 tps, 105 kB/ 
s), with 0 error(s)
Oct 30, 2008 4:42:32 PM com.marklogic.ps.RecordLoader handleFiles
INFO: queuing contents of /scratch1/spin_files/POCGEP/vol_14/iss_2: 17





More information about the General mailing list