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

Поділитися
Вставка
  • Опубліковано 27 тра 2022
  • 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.

КОМЕНТАРІ • 28

  • @jeannm1000
    @jeannm1000 2 роки тому +1

    Very good, thank you 🤜🤛

  • @yusufst
    @yusufst Рік тому

    Worked. Perfectly

  • @earwormaudio82
    @earwormaudio82 Рік тому

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

  • @walsayer
    @walsayer Рік тому

    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.

  • @waijian1201
    @waijian1201 6 місяців тому +1

    very good, man !!!

    • @cameronmcnz
      @cameronmcnz  6 місяців тому

      For some reason setting up the Tomcat Manager is a lot more problem sought than it should be. Thanks for watching!

  • @oliverviniciobosarreyesuri8635

    thank you

  • @veerajay5507
    @veerajay5507 3 місяці тому +1

    Excellent Perfect..

    • @cameronmcnz
      @cameronmcnz  3 місяці тому

      You have no idea how much time I spent trying to figure this out. Makes me happy to know I may have saved some people the frustration I went through.

  • @martinezjav
    @martinezjav Рік тому

    thanks...!!

  • @gcfranco17
    @gcfranco17 Рік тому +1

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

    • @cameronmcnz
      @cameronmcnz  6 місяців тому

      I'd need someone to explain that tome!

  • @himanshudwivedi9466
    @himanshudwivedi9466 3 місяці тому +1

    tysm...^

  • @eliasrossoni406
    @eliasrossoni406 Рік тому

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

  • @celg98
    @celg98 Рік тому +1

    CANNOT ACCESS MANAGER APP :(

    • @cameronmcnz
      @cameronmcnz  Рік тому

      Which version of Tomcat are you using? What's your OS/environment?
      I had a horrible time trying to access it with older versions. This process with Tomcat 10 has always worked for me.
      Maybe we can troubleshoot?

  • @paulbisbing3576
    @paulbisbing3576 2 роки тому +1

    this doesn´'t work

    • @cameronmcnz
      @cameronmcnz  2 роки тому

      What error are you getting? Which version of Tomcat are you using?

    • @paulbisbing3576
      @paulbisbing3576 2 роки тому

      @@cameronmcnz tomcat 10 ranking in Windows 10

    • @paulbisbing3576
      @paulbisbing3576 2 роки тому

      @@cameronmcnz I canto access app mánager regardless of the tomcat users.xml

  • @michaelgreatorex2340
    @michaelgreatorex2340 4 місяці тому +1

    for other idiots (like me...) don't accidentally delete the 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....

    • @cameronmcnz
      @cameronmcnz  4 місяці тому +1

      Which part was that? Honestly, a lot of people are having a hard time setting this up, and I know this video doesn't fix everyone's issue. What was the part that wasn't clear?

    • @michaelgreatorex2340
      @michaelgreatorex2340 4 місяці тому +1

      @@cameronmcnz whole video was spot on 👌 I just deleted the at the end of the xml file when I was inputting the credentials without realising. This then meant that none of the new credentials we added were recognised until I went back into the xml and put back in! Oh the amount of times I’ve got stuck on stupid things like this…. What a great video however 🌟

    • @cameronmcnz
      @cameronmcnz  4 місяці тому +1

      @@michaelgreatorex2340 Oh, that's painful. I've done much worse in my time, as has every developer, so I feel your pain. Glad the video helped!

    • @michaelgreatorex2340
      @michaelgreatorex2340 4 місяці тому +1

      @@cameronmcnz thanks for the assurance!! 😁😁

  • @ninsiimawilber
    @ninsiimawilber 9 місяців тому +2

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

    • @cameronmcnz
      @cameronmcnz  9 місяців тому

      Imma go in and double check myself. Thanks for the insights! Hopefully that'll help someone else!