Legacy Knowledge Base
公開されました Jul. 2, 2025

100MBを超えるインポートができません

Written By

Shimada Taro

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • インポートで100MBを超えるサイズのlarファイルを指定すると、エラーになります。

環境

  • Liferay Portal 6.2, Liferay DXP 7.0, Liferay DXP 7.1, Liferay DXP 7.2, Liferay DXP 7.3

解決

portal-ext.propertiesの値か、コントロールパネル上から関連箇所の値を調整します。

DXP7.1とそれ以前のバージョンでは、調整方法が異なります。
DXP7.1以降では、コントロールパネル上でのみ設定が調整できます。

DXP7.1より古いバージョンの場合(7.0、6.2等)
portal-ext.propertiesからの設定:
以下のプロパティの値を調整します。
com.liferay.portal.upload.UploadServletRequestImpl.max.size

コントロールパネルからの設定:
以下のページから値を調整します。
コントロールパネル>設定>サーバ管理>ファイルアップロード>共通>合計最大アップロードリクエストサイズ
注:コントロールパネルから設定を変更した場合、コントロールパネル側の設定が優先されます。

DXP7.1以降の場合
以下のページから値を調整します。
コントロールパネル>設定>システム設定>プラットフォーム>インフラストラクチャー>アップロードサーブレットリクエスト:合計最大アップロードリクエストサイズ

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base