Unable to login Tomcat Manager?

2005-09-21 Thread 梁炳場
I have enabled JDBCRealm with MD5 in server.xml Tomcat 5.5. Then I am not able to login Tomcat Manager. When I click Tomcat Manager, I input the username and password in tomcat-users.xml, it keeps on prompting me username and password. I wonder if the old password is not encrypted by MD5. Then I

Re: Unable to login Tomcat Manager?

2005-09-21 Thread andy gordon
if you enable the jdbc realm then authentication and authorizaiton comes from a jdbc datasource not the tomcat.uses.xml file. This is why tomcat keeps asking you for a user name and password. I suggest you read the realm how to on the tomcat website so you can correct your problem. - andy

Re: Unable to login Tomcat Manager?

2005-09-21 Thread 梁炳場
However I go into http://localhost:8080/erp It is ok. I have added record to user_profile, user_role Table: user_role usernm role_name admin Administrator admin Manager admin admin The error message becomes Access to the requested resource has been denied Why? 2005/9/22, 梁炳場 [EMAIL

Re: Unable to login Tomcat Manager?

2005-09-21 Thread andy gordon
I suggest you read the JDBC realm documentation and be exact about what it says. Do you have a table called USERS? Make sure its populated correctly. do you have a table called USER_ ROLES? Make sure it is populated correctly. You should be able to understand the relationships between the two