Hi, Eric! I suspect that the problem resides in Tomcat. I think that the connection server-client times out.
What happens if you submit the 9th batch first? I'm wondering if the > 9th batch is just mal-formed and has nothing to do with the > previous batches..... The 9th batch is ok, like the other batches. It is filled up with random data. I received that error in many executions (normally in 7th, 8th or 9th batch) when batches have more than 10Mb approximately. > As to the time, what merge factor are you using? And how are you > committing? Via autocommit parameters or explicitly or not at all? > The merge factor is 25. I done the commit explicitly: for (int k = 0;k < nregisters; k++) { ... docs.add( doc ); } server.add(docs); server.commit(); André