Access to Tomcat server has not been authorized

netbeans-7, tomcat

Solution

Add below lines in `tomcat-users.xml`.

 <user username="admin" password="password" roles="tomcat,role1,manager-script,manager-gui"/

Restart tomcat/service.

Problem

I have used glassfish server in netbeans, now I changed to tomcat and when I run my web application that I have created in glassfish gives me the error : ``` Deployment error: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager-script" role in the Tomcat customizer in the Server Manager. ``` I have added a role with name "manager-script" in conf/tomcat-user.xml but where is my Server Manager? I did'nt find it. Please help me. thanks...

Original source

Related problems