java - Access denied (error 403) to Tomcat 8 Manager on CentOS 7 without prompting for login/password -


i have set-up centos 7 vps tomcat 8 serve applications institute, following this guide. can access tomcat server usual page not app manager. believe configured tomcat-users.xml, have no prompt login , password , keeps telling me "403 access denied". configured tomcat 8 on ubuntu server more 1 year ago, , worked out of box. there missed .... can't see is.

here copy of tomcat-users.xml :

<?xml version="1.0" encoding="utf-8"?> <tomcat-users xmlns="http://tomcat.apache.org/xml"               xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"               xsi:schemalocation="http://tomcat.apache.org/xml tomcat-users.xsd"               version="1.0">     <role rolename="manager-gui"/>     <user username="tomcat-xxxxxxx" password="xxxxxxxxxxxxxxx" roles="manager-gui"/> </tomcat-users> 

thanks !

the documentation puts both manager-gui , admin-gui roles user supposed have. try declaring admin-gui role , adding tomcat user have there.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -