[jboss-user] [Clustering] - Re: HTTP Session passivation - How to survive server restart

bstansberry@jboss.com do-not-reply at jboss.com
Mon Oct 12 16:31:17 EDT 2009


Good question. Complicated answer.

First, if you want to try to get this to work, you can disable buddy replication in your JBC config and also update the JBC config's cacheLoaderConfig section:

<property name="purgeOnStartup">false</property>

That's "true" by default.

The issue with reading sessions off the disk at startup is that the persistent-across-server-restart storage for a session is meant to be the other nodes in the cluster, not the disk. If you also start reading sessions off the disk, you run into the potential of having using out-of-date data from the disk in preference to the data transferred from the cluster. This is particularly the case with buddy replictation.

See https://jira.jboss.org/jira/browse/JBAS-5627, particularly the subtasks under it, for a more in-depth discussion.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259953#4259953

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259953



More information about the jboss-user mailing list