Tuesday, March 22, 2016


Net beans Build Failed When 

" 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. See the server log for details. "


This happens when you change your username and password in your netbeans, as your netbeans tomcat will have tomcat-user.xml which have default value, either change that or else maintain that record..

to check and rectify mistake go to:

C:\Documents and Settings\{User}\.netbeans\7.1\apache-tomcat-7.0.22.0_base\conf

you can find tomcat-user.xml
open that with notepad and see the last line
it must be

<user username="ide" password="Agt7ViLa" roles="manager-script,admin"/></tomcat-users>

again go back to netbeans
  • click on tools
  • select servers.
  • set Username: "ide" & password: "Agt7ViLa".

or else change it. but you have to edit the file as well as in netbeans.
then go to netbeans and run the project.

For more info subscribe us or follow us at aksoftdeveloper.blogspot.in or contact us at softdevelopr007@gmail.com

Bye Have a nice day

No comments:

Post a Comment