Search code examples
javaweb-servicestomcatnetbeans-7

Default username password for Tomcat Application Manager


Starting web services in Netbeans just Hello World Program , but this Application Manager makes hectic on this to start ,

Facing this alert message in NetBeans also Tomcat Application Manager Message with user name and password I gave the admin and password as credentials it returns invalid username

Enter password to unlock your login keyring

The password you use to log in to your computer no longer matches that of your login keyring.

What should be default values for user name password in Tomcat Application Manager ?


Solution

  • First navigate to below location and open it in a text editor

    <TOMCAT_HOME>/conf/tomcat-users.xml
    

    For tomcat 7, Add the following xml code somewhere between <tomcat-users> I find the following solution.

      <role rolename="manager-gui"/>
      <user username="username" password="password" roles="manager-gui"/>
    

    Now restart the tomcat server.