tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Chandler <>
Subject How do you debug Authentication Problems
Date Sat, 14 Jan 2006 07:45:03 GMT
I have tomcat4 fronted by apache2 and linked via mod_jk.

I am running well with basic applications, but up until now I have been 
manually loading applications.

I tried to use the manager application, and it is asking me to authenticate 
myself.  I have added myself into the manager role in the tomcat-users, but I 
get into a loop of authentication failures.

As a TEMPORARY measure, I have added the authentication into the Apache 
configuration (inside a <Location> directive and removed it from the web.xml 
of the manager application.

And that works.

 There is nothing in any of my standardly configured logs to indicate what is 
happening.   But, given this effect of getting it to work when I delegate 
security control to Apache,  I suspect that the front ending of tomcat with 
apache is playing some effect on the failures. It also explains why I could 
never get my application with user login to work and had to give up trying to 
build authentication into a web app. 

But what is the problem? and how do I debug this to get a clear picture of 
what is happening? 

Surely others have had the same issues  - front ending Tomcat with apache must 
be a relatively frequent configuration - and have overcome them.
Alan Chandler
Open Source. It's the difference between trust and antitrust.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message