Install Tomcat Manager to a Liferay Bundle

Issue

  • Tomcat Manager is a native application in the default Tomcat bundle but is not included in the Liferay Bundle
  • You need to add Tomcat Manager

 

Environment

  • DXP 7.3

 

Resolution

Follow this steps to install Tomcat manager in the existent Liferay Bundle.

  1. Download a Tomcat server from https://tomcat.apache.org/download-90.cgi
  2. Unzip the file and copy the folder webapps/manager to [LIFERAY_HOME]/tomcat-9.x.x/webapps
  3. Edit file [LIFERAY_HOME]/tomcat-9.x.x/conf/tomcat-users.xml and add the following lines in the tag 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.  Start Liferay
  5. Open the URL http[s]://<server>:<port>/manager/html/ and try to login using default 'tomcat' credentials as user/password

 

Additional Information

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0