Advertisement

Udemy WW Udemy WW

Monday 12 December 2011

Netbeans Problem: For apache Tomcat server Authentication required dialog box requesting user name and password

This dialog box appear If a user role and his credentials are not set or is incorrect for Tomcat startup via NetBeans IDE,
 OR  when user/pass set in IDE is not matches with user/pass in "canf/tomcat-user.xml" file

1..Need to check user name and password set in IDE   tools-->server
2..Check \CATALINA_BASE\conf\tomcat-users.xml. whether user and his role is defined or not. If not add these lines
<user username="ide" password="EiWnNlBG" roles="manager-script,admin"/>
</tomcat-users>
3.. set the same user/pass in IDE tools->server
4. restart your server to get effect of changes

8 comments:

  1. great sir!........mayank

    ReplyDelete
  2. Tools > Options > General
    Proxy Settings: No Proxy
    [OK]

    That will stop the Proxy Authentication (FTP/SFTP) popup. Or set your proxy settings to something that works.

    ReplyDelete
  3. Nice resolve for the problem "canf/tomcat-user.xml".the code providing here is useful for practice in my Apache tomcat training in Hyderabad and I look forward for future posts from you sir.Thanks.

    ReplyDelete
  4. can we not configure the tomcat manager gui and still get it work?

    ReplyDelete

Advertisement

Udemy WW