tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Lynch <>
Subject Re: Authentication isn't working with mod_jk 1.7.3 beta.
Date Fri, 17 Dec 2004 16:00:33 GMT
Also, because I found this in the localhost_log.2004.... file:

2004-12-17 09:45:15 Authenticator[/resources]: Security checking request 
GET /resources/input
2004-12-17 09:45:15 Authenticator[/resources]:   Checking constraint 
'SecurityConstraint[resources, resources1, resources2, resources3, 
resources4]' against GET /input --> true
2004-12-17 09:45:15 Authenticator[/resources]:  Subject to constraint 
SecurityConstraint[resources, resources1, resources2, resources3, 
2004-12-17 09:45:15 Authenticator[/resources]:  Calling checkUserData()
2004-12-17 09:45:15 Authenticator[/resources]:   User data constraint 
has no restrictions
2004-12-17 09:45:15 Authenticator[/resources]:  Calling authenticate()
2004-12-17 09:45:15 Authenticator[/resources]:  Failed authenticate() test

That seems to tell me Tomcat saw something.


To recap, if I go to http://xxx:8080/resources/input it works, if I go 
to http://xxx/resources/input it fails without ever showing me the basic 
authentication popup login window.  The full error message from the 
browser is :

  HTTP Status 401 -


*type* Status report


*description* _This request requires HTTP authentication ()._


      Apache Tomcat/4.1.24

  Authorization Required

This server could not verify that you are authorized to access the 
document requested. Either you supplied the wrong credentials (e.g., bad 
password), or your browser doesn't understand how to supply the 
credentials required.

Additionally, a 401 Authorization Required error was encountered while 
trying to use an ErrorDocument to handle the request.

Apache/2.0.40 Server at Port 80

Cox, Charlie wrote:

>Are you sure Apache is not blocking your request? Enable the AccessLogValve
>on tomcat and see if your request is getting through.
>>-----Original Message-----
>>From: Jim Lynch []
>>Sent: Thursday, December 16, 2004 8:28 AM
>>To: Tomcat Users List
>>Subject: Re: Authentication isn't working with mod_jk 1.7.3 beta.
>>That's quite possible but not helpful.  The configuration is identical
>>in essence to a working version on apache 1.3. Can anyone tell me what
>>the differences are between the two are?
>>Mladen Turk wrote:
>>>Jim Lynch wrote:
>>>>I finally got mod_jk to comple on RH 9 for Apache 2, but the
>>>>authentication doesn't work through the connector.
>>>This simply is not true.
>>>It works very fine, and the authentication window is showed
>>>to the user. Check your config.
>>>To unsubscribe, e-mail:
>>>For additional commands, e-mail:
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:

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

View raw message