What is the default username and password in Tomcat?

前端 未结 18 1007
无人共我
无人共我 2020-12-04 09:18

I installed Netbeans and tryed to access the server\'s manager using: (id/pass)manager/manager, admin/admin, system/password... None of them worked.

18条回答
  •  青春惊慌失措
    2020-12-04 10:12

    In Tomcat 7 you have to add this to tomcat-users.xml (On windows 7 it is located by default installation here: c:\Program Files\Apache Software Foundation\Tomcat 7.0\conf\ )

    
    
      
      
      
      
      
      
      
    
    

    NOTE that there shouldn't be ANY spaces between roles for admin, as this list should be comma separated.

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

    
    

    it MUST be like this:

      
    

提交回复
热议问题