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?