I have a three machine cluster setup. One of the machines is fine. For the other two, the login hangs. You submit the login form, the request goes to j_security_check and then hangs until timeout. I have the same configuration deployed to all three machines. There is no logging output when this happen. Any ideas?
I thought maybe it was related to ehcache, which I use as a second-level cache for hibernate, but when I disable the second-level cache all together it still happens. I also thought it might be related to using email addresses as the login username, but that is fine on the third machine. I've ensured that the users and user_roles tables are properly indexed, so I don't think it's just the sql lookup taking too long.
Why could the login be going so slowly? Where can I find out?
[Message sent by forum member 'rwillie6' (rwillie6)]
http://forums.java.net/jive/thread.jspa?messageID=248536