Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 24th, 2005, 04:44 AM
Authorized User
 
Join Date: Jul 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with tomcat-users.xml (4.1.24)

Hello
I have a Tomcat 4.1.24 server running on https on a redhat linux enterprise.

I have a valid tomcat-users.xml from another web server, but when I try and log into the manager or admin application it simply does not acknowledge the user I have with the admin,manager roles in the xml file.
There is an apache webserver on the machine as well, but the failure to authenticate seems to be from the tomcat server. The catalina home is correct.

I can't think of any reason why i can't log in using the users I have specified in the tomcat-users.xml file

it looks like this (with password changed, obviously :)

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="tomcat" password="tomcat" roles="manager,admin"/>
</tomcat-users>

cheers,

holdmykidney





Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat 5.5 and context.xml ashiers Apache Tomcat 0 May 12th, 2005 08:57 PM
Tomcat 3.3.2 to Tomcat 5.0.24 amith_pj Apache Tomcat 1 July 4th, 2004 10:52 PM
about XML receive ang XML parse by tomcat taianmhzy Apache Tomcat 0 May 20th, 2004 01:56 AM
problem of running servlet in Tomcat 4.1.24 fxthomas JSP Basics 1 July 14th, 2003 01:37 AM
web.xml problem in TOMCAT? LW1 JSP Basics 0 June 4th, 2003 01:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.