What version of ML server are you running ?
Are you 10000% sure there are no 0 byte files (In 4.2 this consistently was 
happening to me with 0 byte files but I think is fixed in 5.0).


----------------------------------------
David A. Lee
Senior Principal Software Engineer
Epocrates, Inc.
[email protected]<mailto:[email protected]>
812-482-5224

From: [email protected] 
[mailto:[email protected]] On Behalf Of Gary Larsen
Sent: Wednesday, November 30, 2011 3:30 PM
To: 'General MarkLogic Developer Discussion'
Subject: [MarkLogic Dev General] ServerConnectionException

I have a Java XCC application which syncs the database with data from another 
application.  This has been running for many weeks now without any MarkLogic 
errors but recently ran into this:

com.marklogic.xcc.exceptions.ServerConnectionException: An established 
connection was aborted by the software in your host machine
[Session: user=Admin, cb=Netvisn [ContentSource: user=Admin, cb=Netvisn 
[provider: address=server/137.136.22.61:8023, pool=0/64]]]
[Client: XCC/4.2-2]
                at 
com.marklogic.xcc.impl.handlers.AbstractRequestController.runRequest(AbstractRequestController.java:116)
                at 
com.marklogic.xcc.impl.SessionImpl.insertContent(SessionImpl.java:198)
                at 
com.marklogic.xcc.impl.SessionImpl.insertContent(SessionImpl.java:226)
                at 
com.envisn.nv.xmldb.MarkLogicHelper.storeFile(MarkLogicHelper.java:196)
...
                at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: An established connection was aborted by the 
software in your host machine


The server did recover from this (though it blew up the sync process).  All the 
documents are loaded from files and a zero byte file should not be possible.

Does the exception suggest that the cause was a problem with the file system, 
or something else?

Thanks,
gary
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to