How do I set Tomcat Manager Application User Name and Password for NetBeans?

后端 未结 11 1937
旧时难觅i
旧时难觅i 2020-12-04 09:46

I\'m trying to follow a tutorial to make an extremely basic Java web application in NetBeans.

When I try to run it, a dialogue box appears title \"Authentication Req

11条回答
  •  盖世英雄少女心
    2020-12-04 10:28

    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

    
    
    

    3.. set the same user/pass in IDE tools->server

    1. restart your server to get effect of changes

    Source: http://ohmjavaclasses.blogspot.com/2011/12/netbeans-problem-for-apache-tomcat.html

提交回复
热议问题