tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Problem accessing a secure resource with FORM login method when web application clustered on Tomcat 6.0.18
Date Thu, 03 Mar 2011 12:27:49 GMT
On 03/03/2011 12:18, Vamsavardhana Reddy wrote:
> My guess is that there is an issue with Tomcat AJP connector because of
> which the request is getting forwarded to the login page when the HTTP
> server switches the node that will serve the request.  Can someone throw
> light on what could be happening here?

You guess is wrong. Everything is working exactly as it should.

FORM authentication requires a session to work whereas BASIC does not.
You have not configured your 2 Tomcat instances for session replication
(get your test page to print out the session ID to confirm this). If you
don't want a second login when you move from node 1 to node 2, you'll
need to configure session replication (aka clustering).

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message