Re: Can't login to Tomcat manager pages

2010-04-22 Thread Pid
On 21/04/2010 18:45, Propes, Barry L wrote: I started having a similar problem yesterday and discovered that somehow my web.xml file had been deleted (not sure how), so I replaced it. Make sure you have that in your manager folder in WEB-INF. Barry probably meant: make sure you have a

Re: Can't login to Tomcat manager pages

2010-04-22 Thread Luís de Sousa
Hello everyone, thank you for the answers. I started by looking for the web.xml file, it is together with tomcat-users.xml in the CATALINA_HOME/conf directory (/etc/tomcat6). I don't have a manager directory under /var/lib/tomcat6/webapps so I checked if the tomcat6-admin package is installed: $

Re: Can't login to Tomcat manager pages

2010-04-22 Thread David Smith
On 4/21/2010 1:14 PM, Luís de Sousa wrote: Dear all, Tomcat 6.0.20 on Ubuntu 9.10. I can't login to the manager pages (http://localhost:8080/manager/html). I set a new user and a few roles in the /etc/tomcat6/tomcat-users.xml file, restarted Tomcat but can't possibly login. I browsed

Re: Can't login to Tomcat manager pages

2010-04-22 Thread Konstantin Kolinko
2010/4/22 Luís de Sousa luis.a.de.so...@gmail.com: I then performed a shutdown and startup. Unlike yesterday, today I'm getting a Connection refused exception when shutting down, Connection refused means Tomcat was not running, or failed to stop. If it is still running, you can use kill

Re: Can't login to Tomcat manager pages

2010-04-22 Thread Luís de Sousa
On Thu, Apr 22, 2010 at 1:29 PM, David Smith david.sm...@cornell.edu I have a Ubuntu 9.10 system and did exactly what you've posted above. It works like a charm.  Have you altered anything else?  Change permission inadvertently on tomcat-users.xml?  Mine is read/write by root, read-only by

Re: Can't login to Tomcat manager pages

2010-04-22 Thread David Smith
Here's my system's tomcat-user.xml as listed w/ ls -l: -rw-r- 1 root tomcat6 1202 2010-04-22 08:15 /etc/tomcat6/tomcat-users.xml As you can see, user and group permissions are set, but the other permissions are all blank. This is the way it should be since it contains password

Re: Can't login to Tomcat manager pages

2010-04-22 Thread Luís de Sousa
On Thu, Apr 22, 2010 at 2:18 PM, David Smith david.sm...@cornell.edu wrote: Here's my system's tomcat-user.xml as listed w/ ls -l: -rw-r-  1  root  tomcat6  1202  2010-04-22  08:15 /etc/tomcat6/tomcat-users.xml As you can see, user and group permissions are set, but the other

Re: Can't login to Tomcat manager pages

2010-04-22 Thread André Warnier
Luís de Sousa wrote: On Thu, Apr 22, 2010 at 2:18 PM, David Smith david.sm...@cornell.edu wrote: Here's my system's tomcat-user.xml as listed w/ ls -l: -rw-r- 1 root tomcat6 1202 2010-04-22 08:15 /etc/tomcat6/tomcat-users.xml As you can see, user and group permissions are set, but

Re: Can't login to Tomcat manager pages

2010-04-22 Thread Luís de Sousa
On Thu, Apr 22, 2010 at 2:49 PM, André Warnier a...@ice-sa.com wrote: What do you see when running ps -ef | grep tomcat ? Hi André, I see loadsa stuff I don't understand :) Luís $ ps -ef | grep tomcat root 2129 1 0 08:07 ?00:00:00 /usr/bin/jsvc -user tomcat6 -cp

RE: Can't login to Tomcat manager pages

2010-04-22 Thread Propes, Barry L
Sorry, yes, Pid, that's what I meant. Sorry for confusion there. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, April 22, 2010 2:57 AM To: Tomcat Users List Subject: Re: Can't login to Tomcat manager pages On 21/04/2010 18:45, Propes, Barry L wrote: I

RE: Can't login to Tomcat manager pages

2010-04-21 Thread Propes, Barry L
I started having a similar problem yesterday and discovered that somehow my web.xml file had been deleted (not sure how), so I replaced it. Make sure you have that in your manager folder in WEB-INF. -Original Message- From: Luís de Sousa [mailto:luis.a.de.so...@gmail.com] Sent:

Re: Can't login to Tomcat manager pages

2010-04-21 Thread Konstantin Kolinko
2010/4/21 Luís de Sousa luis.a.de.so...@gmail.com: Dear all, Tomcat 6.0.20 on Ubuntu 9.10. I can't login to the manager pages (http://localhost:8080/manager/html). I set a new user and a few roles in the /etc/tomcat6/tomcat-users.xml file, restarted Tomcat but can't possibly login.