I'm not sure if it's applicable here, but I'll let you know my prior experience 
with this kind of thing on Tomcat 6.0.xx.

I've had to stop the manager app, clear out the work folder and I think maybe 
even delete the manager.xml file out of the conf\Catalina\localhost dir because 
it wasn't getting overwritten.

Not sure if this is happening to you or not. 

-----Original Message-----
From: Shanti Suresh [mailto:sha...@umich.edu] 
Sent: Tuesday, April 23, 2013 3:20 PM
To: Tomcat Users List
Subject: Re: Tomcat 7.0.33 manager - 403 Access Denied

Hi Jakub,

Thank you for the suggestions.  Appreciate the thoughts.

On Tue, Apr 23, 2013 at 3:33 PM, Jakub 1983 <jjaku...@gmail.com> wrote:

> try to comment out RemoteAddrValve,
> and check if the error still exists
>
Yes, I had tried that.  It didn't work.


> have you added <role rolename="manager-jmx"/> into users.xml ?
> add <role rolename="manager-gui"/> and try with web page, what is the 
> error ?
>
>
Good idea.  Adding a manager-jmx role entry didn't make a difference.
And, yes, I am able to access "/manager/html/".  I logged in at the prompt.


> have you tried with bare
>         <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
>                resourceName="UserDatabase"/> - without sha ?
>
> Passwords work fine.  So SHA is not the issue.


>
>
> for me, starting with pure downloaded latest tomcat 7, following 
> configuration enables html manager:
>   <role rolename="tomcat"/>
>    <role rolename="manager-gui"/>
>    <role rolename="admin"/>
>   <user username="tomcat" password="tomcat"
> roles="tomcat,manager-gui,admin"/>
>
> HTML manager works for me too.


> download new tomcat,
>
Yes, I may have to do that.


> check if above conf  works for you, than add manager-jmx, check with 
> jmx and than add RemoteAddrValve, check, and than add sha.
>

The funny thing is that I gather the JMX metrics in an identical manner on 
Tomcat 7.0.23 and JDK 1.6 on several  other RedHat Linux servers.

Thanks for letting me brainstorm.

                    -Shanti

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

Reply via email to