legacy-knowledge-base
公開されました Sep. 10, 2025

LAR インポートがエラー UT000020 で失敗する

written-by

Gustavo Vasconcelos

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

問題

10MB以上のLARファイル(またはその他のファイルタイプ)をインポートしようとすると、ログに以下のメッセージが表示されて失敗します。

Unable to parse upload request: UT000020: Connection terminated as request was larger than 10485760

環境への配慮

  • JBossかWildfly。
  • Liferay DXP(任意のバージョン)。

決議

JBoss/Wildfly の HTTP リクエストで許可される最大サイズは、指定されていない場合は 10MB です。 より大きなファイルをアップロードできるようにするには、HTTP リクエストで許可される最大サイズを明示的に設定する必要があります。

  1. 開く JBoss/Wildfly コンソールマネージャーを開く
  2. 構成に移動します。サブシステム > サブシステム。Web/HTTP - Undertow > 設定。HTTP.
  3. HTTPリスナーの下に , オプション 最大投稿サイズを見つけます .
  4. この値を、サーバーが受け入れることを期待する最大サイズ のバイト数 (1GBの場合は1073741824) に増やしてください。
  5. JBoss/Wildflyを保存して再起動します。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base