Pages

Thursday, April 3, 2014

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.

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.

While attempting to run a servlet web application from Netbeans, I got the following 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.

While searching, I came across the following link,

http://stackoverflow.com/questions/10241539/access-to-tomcat-server-has-not-been-authorized

Add the following entry in the tomcat-users.xml located under conf directory

<user username="admin" password="password" roles="tomcat,role1,manager-script,manager-gui"/>
 
Now restart Tomcat Server, enter the

User name  as admin
Password as password

  

No comments:

Post a Comment