Can't access Manager-app in Tomcat 8

只愿长相守 提交于 2019-12-04 20:13:15

Make sure you're editing the correct file. NetBeans will create it's own copy of the configuration files, so you may have two or more tomcat-users.xml files. In my case on my windows machine, the Tomcat launched by NB uses C:\Users\DevServer\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf

Also, try simplifying and create a user with just the manager-script role. Then tell NB about that user and pw in the Services/Servers/Connection credentials. Example:

<user username="tomcat_m_script" password="pwhere" roles="manager-script"/>

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!