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...
Add below lines in tomcat-users.xml
.
<user username="admin" password="password" roles="tomcat,role1,manager-script,manager-gui"/
Restart tomcat/service.