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

Liferay BundleにTomcat Managerをインストールする。

written-by

Giulianna Munoa

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

問題

  • Tomcat Managerは、デフォルトのTomcatバンドルに含まれるネイティブアプリケーションですが、Liferayバンドルには含まれていません
  • Tomcat Managerを追加する必要があります。

環境

  • DXP 7.3

解像度

以下の手順で、既存のLiferay BundleにTomcat managerをインストールします。

  1. https://tomcat.apache.org/download-90.cgiからTomcatサーバーをダウンロードします。
  2. ファイルを解凍し、フォルダ webapps/manager[LIFERAY_HOME]/tomcat-9.x.x/webappsにコピーしてください。
  3. ファイル [LIFERAY_HOME]/tomcat-9.x.x/conf/tomcat-users.xml を編集し、タグ tomcat-users
    に次の行を追加します。
    <role rolename="manager-gui"/>
    <role rolename="manager-jmx"/>
    <role rolename="manager-script"/>
    <role rolename="manager-status"/>
    <role rolename="tomcat"/>
    <user password="tomcat" roles="tomcat,manager-gui,manager-script,manager-jmx,manager-status" username="tomcat"/>
  4. Liferayの開始
  5. URL http[s]://<server>:<port>/manager/html/ を開き、デフォルトの「tomcat」認証情報を使用して、ユーザー/パスワードでログインを試みます。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base