Tomcat 7 Manager - how to authenticate?

前端 未结 5 1531
北海茫月
北海茫月 2020-12-08 05:13

I am trying to log in tomcat manager app but i cannot successfully create a login user in the tomcat-users.xml. The initial content was this:



        
5条回答
  •  独厮守ぢ
    2020-12-08 05:59

    Accepted answer is wrong in one detail but VERY imporant one - there shouldn't be ANY spaces between roles for admin, as this list should be comma separated (as pointed out here Tomcat 7 Manager can't login). I just had same problem and resolved it same way.

    So, instead of this (as suggested in some answers:

    
    

    it MUST be like this:

      
    

    So altogether it should look like this:

    
    
      
      
      
      
      
      
      
    
    

提交回复
热议问题