Tomcat & Netscape problem

P

Pete Stokes

Hi,

Situation I've got is a new tomcat 4.1.24 installation on linux. I
goto the standard tomcat index page, and I think the first time I
tried to log in to tomcat manager the password was wrong. From now on,
when I click the "Tomcat Manager" link, it just goes straight to Error
403 access denined, not asking for a password or login.

I login to Konqueror, and can access the manager / admin links fine.

Any comment are appreciated.

Pete.
 
N

Neil Zanella

Assuming you have issued:

export CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.24

Then edit the file:

$CATALINA_HOME/conf/tomcat-users.xml

and add the line:

<user name="manager" password="secret" roles="manager" />

Finally, as root, restart the server with:

$CATALINA_HOME/bin/shutdown.sh
$CATALINA_HOME/bin/startup.sh

This should do it, as you should now be able to access the password manager:

http://localhost:8080/manager/list
http://localhost:8080/manager/reload?path=/myservlet

and to make sure you're getting a fresh page set your browser's cache to zero.

Regards,

Neil
 
N

Nigel Wade

Pete said:
Hi,

Situation I've got is a new tomcat 4.1.24 installation on linux. I
goto the standard tomcat index page, and I think the first time I
tried to log in to tomcat manager the password was wrong. From now on,
when I click the "Tomcat Manager" link, it just goes straight to Error
403 access denined, not asking for a password or login.

I login to Konqueror, and can access the manager / admin links fine.

Any comment are appreciated.

Pete.

I'd guess that Netscape has remembered the password.

I don't run Netscape, but I'd expect that somewhere in the preferences is an
option to disable remembering passwords, and also to clear out any
passwords which have already been remembered.

Have a hunt around in the the preferences. If it's any help, in Mozilla it's
in Edit>Preferences..>Privacy & Security>Passwords.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top