tomcat manager autentication problem
I have a problem with the tomcat manager autentication
I'm working on
Oracle Linux Server release 5.7
Apache Tomcat Version 6.0.29
I add the user and the role in the conf file conf/tomcat-users.xml
when I try to access to the tomcat manager page on my lan
where orcdb01 is the machine name
it ask me for user and password
but it don't autenticate me correctly , and it show me the message:
You are not authorized to view this page. If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file will contain the credentials to let you use this webapp.
You will need to add manager role to the config file listed above. For example:
<user username="tomcat" password="s3cret" roles="manager"/>
I added the role but nothing changed
here my tomcat-users.xml
<user username="admin" password="testpwd" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-gui,tomcat"/>
<user username="tomcat" password="testpwd" roles="manager"/>
with both users admin or tomcat it don't allow me to enter the tomcat manager page :(
I also configured a realm like this in the server.xml
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
<Resource name="UserDatabase" auth="Container"
description="User database that can be updated and saved"
anybody can help me please ?
thanks in advance
|All times are GMT. The time now is 07:20 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.