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

インスタンスのホーム URL が機能しない: 404 エラー

Written By

Jose Jimenez

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.

問題

  • DXP のログ ファイルに、デフォルトの ホーム URL に関連するエラーまたは警告が見つかります。トレースは次のようになります。
    2021-08-20 07:55:59.166 WARN [http-nio-8080-exec-8][code_jsp:161] {code="404", msg="The requested resource [/home] is not available", uri=/}
  • サーバーが IDE (Liferay Developer Studio) から起動されるローカル環境では、このエラーにより、サーバーが Start Timeoutに達するまで「開始中...」ステータスのままになる可能性があり、その結果、サーバーは停止。

Environment

  • ライフレイ DXP +7.1 (7.2.10、7.3.10、7.4.10)

解決策

  • コントロール パネル > インスタンス設定 > インスタンス構成 - 一般: ホーム URL でデフォルトの ホーム URL 構成を確認し、ポータル インスタンスのデフォルト URL になるページの完全なフレンドリ URL を含めます (フレンドリ URL を含む)。ページが配置されている Web サイトの URL)。この例では、 /homeではなく /web/guest/home である必要があります。
  • ローカル環境を使用している場合は、 TOMCAT/bin/startup.sh スクリプトからローカル サーバーを起動してこの構成を変更するか、この Web サーバーのランタイム構成で 開始タイムアウト を増やすことができます。 IDE。 これにより、 http://localhost:8080/ または http://localhost:8080/web/guest でブラウザーを開き、ホーム URL 設定を変更できるはずです。 (このエラーはブラウザ経由でポータルを使用することを回避していないため、機能するはずです)。
Did this article resolve your issue ?

Legacy Knowledge Base