

I then played around with docBase and noticed that, for example, you could still access the host manager even if you put in a bogus docBase address. After I got Manager App, Server Status, and host manager working, I put the docBase argument back in the two xml context files, and this time they worked. It's possible that I accidentally deleted that folder, but I kind of doubt that. Maybe that installer is not installing the host-manager directory. I originally installed Tomcat using the windows installer rather than using the tomcat zip file.

I don't know for sure why it was missing.
Apache tomcat manager zip file#
I downloaded the tomcat zip file and was able to restore the missing directory. What I eventually discovered was the host-manager directory was missing from the webapps directory. If I deleted that argument I was able to get Manager App and Server Status work. The first unusually thing was that the solution didn't work if I included the docBase argument. Both Marc Hearling and user3559338 solutions work, but I'll add some additional insights. I had the same problem, but I was running Tomcat 9 on Windows 10. I read some articles suggesting to edit the valves in /webapps/manager/META-INF/context.xml and /webapps/host-manager/META-INF/context.xml but I think the localhost one above takes precedence. Under conf/Catalina/localhost I needed an additional file for each context:Īfter that I was prompted for username and password and it worked.
