Sorry for the previous post. Here is my problem:
We have a 2 server jboss (4.2.2 GA) cluster environment with apache and mod-jk as load-balancer.
I set up everything according to cluster config guide. The ClusteredSingleSignOn valve is enabled, jvmRoute is set to node1/node2, useJk is set to true.
There is a web app that users richfaces (3.3.2 SR1) and ajax4jsf as filter. The webapp uses JAAS DatabaseServerLoginModule to authenticate.
If I log in the protal with every request a following line is logged in the log file:
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Process request for /index.jsf
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] SSO cookie is not present
After authentication should not be there an SSO cookie? Why is it missing for me? I have only a JSESSIONID cookie.
If I shut down node1 the requests are redirected to node2 but it is also missing the SSO cookie, so the login page appears again. Also an exception is thrown on node2:
ERROR [org.jboss.web.tomcat.service.sso.TreeCacheSSOClusterManager] Cought exception cleaning sessions from dead cluster members from SSOs
at java.lang.Thread.run(Unknown Source)
I read, that clustered SSO does not work with URL rewriting. Does ajax4jsf filter (org.ajax4jsf.Filter class) do URL rewriting? Could this be a problem? How to solve that?
Thanks for helping!