Setup and Login to the Tomcat Manager URL without 401 or 403 errors

preview_player
Показать описание
Need to configure Tomcat Manager and login to the Tomcat Manager URL? In this quick Apache Tomcat Manager tutorial, we'll provide an example of how to add users to the Tomcat Manager and Tomcat Host Manager, and then login to the application through the Tomcat Manager URL. If you have encountered Tomcat Manager 401 or 403 authentication errors, then these edits to the users file will help you avoid any future Tomcat Manager authentication problems.
Рекомендации по теме
Комментарии
Автор

works wonders thank you! would you be able to explain why does it have to go under opt directory. New to linux

gcfranco
Автор

I am on tomcat 9 and this did not work. should I just update to 10?

earwormaudio
Автор

Worked like a charm. Thanks. My problem is that I was trying to find the RemoteAddrValue in the main context.xml, also there are two places for webapps context.xml, one in host-manager and the other in manager. Thanks again.

walsayer
Автор

Bom dia! Obrigado por este ajudou muito. Tenho mesmo problema para acessar o Manager APP. como procedo. Obrigado!

eliasrossoni
Автор

for other idiots (like me...) don't accidentally delete the </tomcat-users> that must be at the end after you add the new login credentials! What an idiot I feel after spending an entire morning fixing this....

michaelgreatorex
Автор

I had the same issue, but according to my Tomcat setup, the tomcat-users.xml was under /etc/tomcat9/ not opt/....

ninsiimawilber