Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty session cluster session attribute

Hi there, 

I am following the following document to configure jetty session cluster:
http://docs.codehaus.org/display/JETTY/Session+Clustering+with+a+Database

And use Apache httpd as the load balancer. 

One thing is confusing me is: session attribute is persisted to the
database, then shouldn't all the cluster nodes read the same session
attribute? In my set up, this is not the case. Each cluster node maintain
its own session attribute. That says the session attribute is consistent on
every node, but not across nodes. Another thing I noticed is that the last
node and other relevant columns of the persisted session attribute are only
updated in database when one of the two nodes handled the request. The
information of another nodes seems to be stored in memory? 

Both of the nodes hold the same session ID, although different session
object. 

Is this expected behavior or my configuration is wrong? If configuration is
wrong, where can I find more documentation about the config? 

Thanks a lot, 
Sarah 

--
View this message in context: http://jetty.4.n6.nabble.com/Jetty-session-cluster-session-attribute-tp4958607.html
Sent from the Jetty User mailing list archive at Nabble.com.


Back to the top