Set the correct username and password with the "manager-script" role in the Tomcat
same problem.. fixéd it by adding:
<tomcat-users>
<role rolename="manager-script"/>
<user username="user" password="user" roles="manager-script"/>
</tomcat-users>
to C:\Program files\apache-tomcat-7.0.47\conf\tomcat-users.xml
and remember to run netbeans as administrator.
Hello the solution is the below :
- remove netbeans and tomcat
- remove the cash directory c:\users{youruser}.netbeans\
- remove the netbeans folder in : C:\Users{youruser}\AppData\Roaming\netbeans
- re-install netbeans and tomcat
- add your application i will works
tested !! :D
Short answer - don't know. Your tomcat-users.xml looks right. Things to check:
- Is the Manager app deployed?
- Has the web.xml used by the Manager (where manager-script is used) been changed?
- Use JMX to confirm that the users and roles are read correctly.
- Has the Realm been changed in server.xml?