Thursday, May 23, 2019

403 Access Denied when opening the Manager App

After you installed the Apache Tomcat server and successfully launched the <host>:8080 web page, you click on the Manager App button, and you get a 403 Access Denied message.

To fix it

1. Open the $CATALINA_BASE/conf/tomcat-users.xml file and add the following to the <tomcat-users> section.

          <user username="admin" password="goanywhere" roles="admin-gui,manager-gui" />

2. If you are accessing the Tomcat server from a remote computer, open or create the file: $CATALINA_BASE/conf/Catalina/localhost/manager.xml, and add the below to the file.

          <Context privileged="true" antiResourceLocking="false"
                    docBase="${catalina.home}/webapps/manager">
                    <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" />
         </Context>

3. Restart the tomcat server: sudo systemctl restart tomcat.service

-----------------------------------------------------------------------------------------------------------------
Watch the blessing and loving online channel: SupremeMasterTV live




If you have ever asked yourself these questions, this is the book for you. What is the meaning of life? Why do people suffer? What is in control of my life? Why is life the way it is? How can I stop suffering and be happy? How can I have a successful life? How can I have a life I like to have? How can I be the person I like to be? How can I be wiser and smarter? How can I have good and harmonious relations with others? Why do people meditate to achieve enlightenment? What is the true meaning of spiritual practice? Why all beings are one? Read the book for free here.

No comments:

Post a Comment