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 name as admin
Password as password
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 theUser name as admin
Password as password
No comments:
Post a Comment