I'm not able to log in Tomcat Manager App

后端 未结 8 1906
温柔的废话
温柔的废话 2021-02-13 14:57

I have read a lot of topics in stackoverflow for solve my problem, but none was useful.

When I tried to log in Manager App ([http://localhost:8080/manager/html][1]) usin

相关标签:
8条回答
  • 2021-02-13 15:52

    If you are using XAMPP follow the below steps

    1. Go to XAMPP and Click on Config infront of Tomcat

    2. Then select tomcat-users.xml in the popup

    3. And when it opens on an editor paste the following inside tomcat-users tags with your preferred password. Which will be as follows

    <tomcat-users>
    <role rolename="manager-gui"/>
    <user username="tomcat" password="password" roles="manager-gui"/>
    </tomcat-users>
    
    1. Then restart the tomcat server from XAMPP.

    2. And open the tomcat using the browser and you can give the user name and password as you given in the config file above, In my case, username = tomcat and password = password

    0 讨论(0)
  • 2021-02-13 16:00

    From tailing [tomcat-root]/logs/catalina.out, I observed that you are using a locked username "admin"

    06-May-2014 16:47:41.828 WARNING [http-nio-192.168.0.51-8080-exec-6] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "admin"
    

    You should try with a better(non guessable) username.

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

    This should definitely work for you.

    0 讨论(0)
提交回复
热议问题