What is the default username and password in Tomcat?

前端 未结 18 985
无人共我
无人共我 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 09:50

    Platform NetBeans 7.3, Apache Tomcat 7.0.34 re: Tomcat Manager

    I spent 3 days tracking this down because I thought I had a bad install.

    On Windows and Linux, NetBeans uses a separate file location for CATALINA_BASE:

    http://wiki.netbeans.org/FaqInstallationDefaultTomcatPassword

    So you can modify the tomcat_user.xml under CATALINA_HOME: until your face turns blue, to no effect.

    It appears that the IDE only requires, manager-script,admin roles under CATALINA_BASE:.

    When I tried to add a user to the manager-gui role (to the correct tomcat_user.xml file), required for access to the Tomcat Manager, Tomcat stopped presenting the login dialog and went directly to the 401 access denied splash page.

    It appears that the NetBeans package uses a locked-down version of TomCat.

    I hope this saves everyone some time.

提交回复
热议问题