Can't login to Tomcat 6 getting 401 Unauthorized error.

Solution Unverified - Updated -

Issue

  • We're installing Tomcat 6 on Redhat 6. We ran the yum install tomcat6-webapps tomcat6-admin-webapps, and then configured the user admin in tomcat-users.xml. So while accessing the url : http://ip:8080, we get the Tomcat 6 portal.Clicking on Status or Tomcat Manager it ask for login prompt. But after entering the username and password correctly, it result into 401 Unauthorized.

Environment

  • Red Hat Enterprise Linux
    • 6.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.