legacy-knowledge-base
公開されました Jul. 2, 2025

リモートマシンからWebサービスを通じてドキュメントライブラリに3MB以上のドキュメントをアップロードできない

written-by

Christopher Lui

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Liferayが作成した以外の製品に関する情報は、情報提供のみを目的としており、Liferay Supportの推奨や推薦を意味するものではありません。 また、Liferayは、これらの製品に関する本書または参照される指示について、いかなる責任も負わないものとします。

3MB以上のドキュメントをWebコールでアップロードすると、エラーが発生する:

java.rmi.RemoteException: Akira_Functional_Requirements_v_1_6.1.docx.null
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)

解像度

Liferayの正しいバージョンの依存関係を使用し、portal-ext.propertiesでアップロードしようとしているドキュメントよりも高いドキュメントのアップロード上限が設定されていることを確認してください。

ここでは、ドキュメントライブラリのアップロードサイズだけを大きくするためのプロパティを紹介します:
dl.file.max.size=3072000
ポータル全体の文書制限をさらに増やす必要がある場合は、このプロパティを使用します:
com.liferay.portal.upload.UploadServletRequestImpl.max.size=104857600
数値はバイト単位で設定されているので、適宜計算してください。
did-this-article-resolve-your-issue

legacy-knowledge-base