Netbeans: Authentication required dialog box requesting user name and password

If a user role and his credentials are not set or is incorrect for Tomcat startup via NetBeans IDE you will get this dialog box opened

i) First check the Netbeans configuration settings Open Tools > Server

ii) Base path for Catalina will be set in the General tab andn it will be of the form \CATALINA_BASE\conf\tomcat-users.xml. Check if a user and his role is defined as stated in the below syntax. If not add these lines

<role rolename=”manager”/>
<user username=”tomcat” password=”secured” roles=”manager”/>

iii) In Tools > Server > General tab enter the username and password stated in the tomcat-users.xml file and this will stop the Netbeans IDE from asking you the name and password


Written by kurinchilamp

Website: http://

Leave a Reply

Your email address will not be published. Required fields are marked *