Actually I am trying to set up the ClusteredSingleSignOn mode for the fail-over.
I configured 2 nodes:
- node1 (jvmRoute: TOM1) and node2 (jvmRoute: TOM2)
I use the mod_jk for the load balancing
I logged on my application from the node1.
I checked that the SSO credential has been replicated on the other node since it was referenced in its cache.
Here is the JMX status of the cache
*****************************
Domain Name: jboss.cache
service: TomcatClusteringCache
/SSO
/064E1123D81855E6D741B0EE0B068AF5
/credentials
key: org.jboss.web.tomcat.tc5.sso.TreeCacheSSOClusterManager$SSOCredentials@19bdb65
/sessions
key: [F548220E5DEAD6E75B07A49475BBA967.TOM1]
*****************************************
Nevertheless when I stoped the node1 (where the SSO credential has been initialized), this SSO credential has also been deleted from the cache. So then i lost my authentication context.
Here is the new JMX status of the cache
*********************************
Domain Name: jboss.cache
service: TomcatClusteringCache
/SSO
*********************************
Here is the summary of my configuration
Tomcat jboss-service.xml:
true
Tomcat server.xml:
Any idea ?
Best Regards
Kamel
Sorry for the formating errors on my original post:
Here is the summary of my configuration
Tomcat jboss-service.xml:
Attribute "UseJK" = true
Tomcat server.xml:
Valve className="org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn"
Kamel