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

プロパティ com.liferay.portal.upload.UploadServletRequestImpl.max.size が DXP 7.1 で機能しない

written-by

Viktória Gyömbér

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

問題

  • portal-ext.properties に値を設定しようとすると:
    com.liferay.portal.upload.UploadServletRequestImpl.max.size=1048576000,
    次のエラーが表示されます:
    "ファイル content_1309-20190510167.lar はできません
    有効なファイル サイズが 100.0MB 以下のファイルを入力してください。"
  • 基本的に、設定は機能しません。

環境

  • Liferay DXP 7.1

  • Liferay DXP 7.2

  • Liferay DXP 7.3

  • Liferay DXP 7.4

解決策

  • com.liferay.portal.upload.UploadServletRequestImpl.max.size プロパティは、Liferay DXP 7.1 からポータルに既に組み込まれており、ポータルの UI から設定できます。
  • 以下の点を守れば、ファイルサイズを設定できます:
    1. コントロール パネル
    2 に移動します。 構成
    3 を選択します。 システム設定
    4 をクリックします。 インフラストラクチャ
    5 を選択します。 「サーブレット要求のアップロード」をクリックします
    6. ここで、デフォルト設定を変更できます。
did-this-article-resolve-your-issue

legacy-knowledge-base