tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keiichi Fujino <kfuj...@apache.org>
Subject Re: Tomcat 7 Manager App Authentication failure
Date Fri, 29 Jun 2012 08:48:05 GMT
Hi

Is "etc/tomcat5/tomcat-users.xml" correct?
The absolute path needs to start with "/".
The correct pathname is "/etc/tomcat5/tomcat-users.xml".


2012/6/29 kl2eativ <kl2eativ@gmail.com>:
> Hello. I am having problems trying to authenticate my tomcat 7 manager app. I
> keep getting a 401 Unauthorized page. My config is as follows:
> tomcat-users.xml (Located in /etc/tomcat5)
> [code]
>   <?xml version='1.0' encoding='utf-8'?>
>  <tomcat-users>
>  <role rolename="manager-gui"/>
>  <user username="manager" password="tomcat" roles="manager-gui" />
>  </tomcat-users>
> [/code]
>
> server.xml (Located in /etc/tomcat5)
> [code]
>
>              <Resource name="UserDatabase" auth="Container"
>              type="org.apache.catalina.UserDatabase"
>              description="User database that can be updated and saved"
>              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>              pathname="etc/tomcat5/tomcat-users.xml" />
> [/code]
>
> I restart the tomcat service ( #service tomcat restart ) , but still cannot
> authenticate. Your help would be greatly
> appreciated.
>
> --
> View this message in context: http://tomcat.10.n6.nabble.com/Tomcat-7-Manager-App-Authentication-failure-tp4983418.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>



-- 
Keiichi.Fujino

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message