I successfully install Apache Tomcat 9 and I access at servername:8080.
I follow documentation in order to access the manager web app and :
<role rolename="manager-gui"/>
<user username="tomcat" password="s3cret" roles="manager-gui"/>
I can't find what config I am missing and will be greateful for any kind of help or suggestion.
Using the Web. Let's open http://localhost:8080/manager/html/ to view the Tomcat Manager App webpage.
By default the Host Manager is only accessible from a browser running on the same machine as Tomcat. If you wish to modify this restriction, you'll need to edit tomcat/webapps/manager/META-INF/context. xml to allow all ips or just yours.
Configuring Manager Application Access It is the directory in which you installed Tomcat, for example C:\tomcat9 , or /usr/share/tomcat9 . The Host Manager application requires a user with one of the following roles: admin-gui - use this role for the graphical web interface.
I wanto to share the solution I found here not in the marked answer but in the fade's answer.
Commenting the Valve attribute in CATALINA_HOME/webapps/manager/META-INF/context.xml and restarting Tomcat solve the problem and I can now assess the web manager
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With