Fórum Tomcat 7 - acesso negado #421972
19/08/2012
0
Baixei o Tomcat 7.0.29 e to tentando acessar o host manager e não to conseguindo. Eu starto o tomcat acesso a pagina principal http://localhost:8080/ e ao tentar acessar o host manager ele pede usuário e senha e ao digitar ele mostra uma pagina de acesso negado:
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 browsers 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 applictions HTML interface normally. If you continue to see this access denied message, check that you have the necessary permissions to access this application.
If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file must contain the credentials to let you use this webapp.
For example, to add the manager-gui role to a user named tomcat with a password of s3cret, add the following to the config file listed above.
.
.
.
fiz a configuração de usuário no tomcat-users.xml, na pasta conf, criando o usuário adimin:
<tomcat-users>
<role rolename="admin"/>
<user username="admin" password="admin" roles="admin"/>
</tomcat-users>
e o erro persiste.
Será que ficou faltando algo?
Desde já agradeço!
Ismael Oliveira
Curtir tópico
+ 0Posts
19/08/2012
Thiago Palmeira
Gostei + 0
14/10/2012
Deivson Ferreira
Gostei + 0
15/10/2012
Alisson Santos
Gostei + 0
22/10/2012
Ismael Oliveira
Obrigado pela força!
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)