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
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
great sir!........mayank
ReplyDeletethank you..
ReplyDeleteIt's Great !
ReplyDeleteThank You:)
Tools > Options > General
ReplyDeleteProxy Settings: No Proxy
[OK]
That will stop the Proxy Authentication (FTP/SFTP) popup. Or set your proxy settings to something that works.
thanks
ReplyDeleteworked
Thanks Sir..It worked..!!
ReplyDeleteNice 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.
ReplyDeletecan we not configure the tomcat manager gui and still get it work?
ReplyDeleteThis guide provides helpful steps for troubleshooting login issues with Tomcat.
ReplyDelete