Can't login to Manager App in Tomcat 6.0.18

Posted by Rafael Almeida on Server Fault See other posts from Server Fault or by Rafael Almeida
Published on 2009-10-08T18:55:02Z Indexed on 2010/03/30 19:03 UTC
Read the original article Hit count: 695

Filed under:
|
|

Folks,

I can't login to the manager app (localhost:8080/manager/html) in my Tomcat. More specifically, it asks for my username and password, and the ones supposed to be correct aren't accepted. Here's what I already checked:

  • I tried editing my conf/tomcat-users.xml to add my user/role. Here's the current content of this file:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
    <role rolename="manager"/>
    <user username="tomcat" password="s3cret" roles="manager"/>
</tomcat-users>
  • I thought that maybe it wasn't looking up on this XML, but elsewhere. So, I came to know about Realms. The Realm part of my configuration is now:

< Realm className="org.apache.catalina.realm.MemoryRealm" />

( please ignore the space before Realm, for some reason this site isn't accepting the literal tag )

What am I missing?

© Server Fault or respective owner

Related posts about tomcat

Related posts about tomcat6