tomcat 下有一定时的程序收集数据库中的信息,每次收集1000条,然后将这些信息封装成数组,将数据发送给服务端,抛出异常,数据量小的时候可以,当数据量很多,每次1000条,执行几次,就会报java.net.SocketException: Software caused connection abort: socket write error异常,查看发送的xml里面的数据丢失了很多,如下<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:modifyUser soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://www.huama.com.cn/">
<ns1:arrData soapenc:arrayType="ns1:String[][100]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<ns1:arrData xsi:type="xsd:string">326,6,923,20080049,1111,11111,ExternalStudent,1,1,null,null,null,null,null,null,null,null,null,null,1</ns1:arrData>
<ns1:arrData xsi:type="xsd:string">327,6,924,20080050,1111,11111,ExternalStudent,1,1,null,null,null,null,null,null,null,null,null,null,1</ns1:arrData>
<ns1:arrData xsi:type="xsd:string">328,6,925,20080060,1111,11111,ExternalStudent,1,1,null,null,null,null,null,null,null,null,null,null,1</ns1:arrData>
<ns1: