技术文章 - CS350514

Windchill PDMLink 中无法下载大文件

已修改: 11-Dec-2024   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 11.1 to 13.1

说明

  • 下载大文件失败
  • 当文件主内容大于1G时下载中断
  • 下载失败时方法服务器日志中出现以下错误消息:
 ERROR [ajp-nio-127.0.0.1-8012-exec-41] wt.fv.master - Error in doDirectDownload
org.apache.catalina.connector.ClientAbortException: java.io.IOException: An established connection was aborted by the software in your host machine
    at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:372)
    at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:841)
    at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:746)
    at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:407)
    at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:385)
....
Caused by: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
    at sun.nio.ch.IOUtil.write(IOUtil.java:65)
...
ERROR [ajp-nio-127.0.0.1-8012-exec-41] wt.method.server.httpgw  - Exception when attempting to set response status of 500 [java.io.IOException: An established connection was aborted by the software in your host machine]
java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
    at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:456)
    at wt.servlet.ServletRequestMonitor$BaseHttpResponseWrapper.sendError(ServletRequestMonitor.java:2679)...
  • 下载小文件需要很长时间
    • 例如:下载 4MB 的 pdf 文件大约需要 40 秒
  • 尝试打开讨论主题中的附件时,UI 中出现以下错误消息
 HTTP Status 500 - Internal Server Error
这是文章 350514 的 PDF 版本,可能已过期。最新版本 CS350514