Tomcat 7 - acesso negado

Java

19/08/2012

Bom dia galera!

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

Ismael Oliveira

Curtidas 0

Respostas

Thiago Palmeira

Thiago Palmeira

19/08/2012

Faça uma coisa, baixe o tomcat de forma que você apenas extraia a pasta e depois trate no Eclipse o apontamento dele. Uma dica tente desinstalar e instale em uma pasta dentro do c:/ e execute como administrador se estiver usando sistema Windows 7.
GOSTEI 0
Deivson Ferreira

Deivson Ferreira

19/08/2012

Instala como serviço com o windows Installer, comigo tava dando esse mesmo erro so conseguir com o instalador do windows...
GOSTEI 0
Alisson Santos

Alisson Santos

19/08/2012

Conseguiu sanar sua duvida amigo???
GOSTEI 0
Ismael Oliveira

Ismael Oliveira

19/08/2012

Funcionou!

Obrigado pela força!
GOSTEI 0
POSTAR