Release access permission to the tomcat management screen

0

I have installed Netbeans 8.1, in this installation, I took advantage of installing Tomcat 8.0.27. But I am not able to access the management screen, as it asks for the password. I have already tried several user settings, password and roles but with no success, I tried with usuario: tomcat and password : tomcat and it will not.

<tomcat-users>

<user password="admin" roles="manager-script,admin" username="admin"/>
<user username="ide" password="IHyVhSsB" roles="manager-script,admin"/>
<role rolename="admin"/>
<role rolename="admin-gui"/>
<role rolename="manager-gui"/>
<role rolename="manager"/>
<user username="tomcat" password="tomcat" roles="admin,admin-gui,manager-gui"/>
<user username="tomcat" password="tomcat" roles="manager"/>
</tomcat-users>
    
asked by anonymous 18.10.2016 / 13:44

1 answer

1

I suggest that you try reinstalling your tomcat or deleting all of the entries you added as there are many changes to your unnecessary tomcat-users.xml file. Then, with the file with default settings, add only the lines below:

  <role rolename="manager-gui"/>    
  <role rolename="admin-gui"/>
  <role roleusername="manager-script"/>
  <user username="admin" password="admin" roles="admin-gui,manager-gui,manager-script"/>

More information can be found at tomcat's documentation . p>     

18.10.2016 / 16:27