我使用的服务器:Websphere
我正在尝试上传电子表格。java 代码逻辑使用 org.apache.poi.ss.usermodel,我从 excel 中获取一张工作表并遍历行。
Sheet sheet = wb.getSheetAt(0);
Iterator rows = sheet.rowIterator();
我在每个单元格上都有验证逻辑。然后我调用数据库来存储所有的值。
当电子表格很小时,这很有效。但是,当它很大(超过 1000 条记录)时,我会收到以下错误:
Server Error
Access Manager WebSEAL could not complete your request due to an unexpected error.
Diagnostic Information
Method: POST
URL: /acx/myApp/xlImport
Error Code: 0x38cf04d3
Error Text: DPWWA1235E Could not read the response status line sent by a third-party server. Possible causes: non-spec HTTP headers, connection timeout, no data returned. This is not a problem with the WebSEAL server.
Solution
Provide your System Administrator with the above information to assist in troubleshooting the problem.