A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Java in General
why do i get 403 access denied error while accessing manager page
Joined: Jul 03, 2011
Jan 09, 2012 04:17:33
i have edited the tomcat-users.xml file in the /conf directory but when i try to acces the manager page i m getting
<role rolename="manager-gui"/> <user username="admin" password="admin" role="manager-gui"/> <role rolename="tomcat"/> <role rolename="role1"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/>
403 Access Denied You are not authorized to view this page. If you have already configured the Manager application to allow access and you have used your browser's back button, used a saved book-mark or similar then you may have triggered the cross-site request forgery (CSRF) protection that has been enabled for the HTML interface of the Manager application. You will need to reset this protection by returning to the main Manager page. Once you return to this page, you will be able to continue using the Manager appliction's HTML interface normally. If you continue to see this access denied message, check that you have the necessary permissions to access this application.
can any one help me with this
yes , after editing the file i have saved, closed and restarted the
it also started fine without any logs saying severe all the logs were info
The Only way to learn is ...........do!
Visit my blog
Joined: Jul 14, 2010
Jan 09, 2012 06:26:45
Where is the code of your web.xml that you define the access to each profile? Could you post?
Full WebApplication JSF EJB JPA JAAS with source code to download
One Table Per SubClass
I agree. Here's the link:
subject: why do i get 403 access denied error while accessing manager page
Tomcat Console & Manager App Error - Two Items
Tomcat 6.0.30: cannot deploy application: access denied.
changed the config file but still not working
Tomcat Manager app returns a 403
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014