You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Filip Hanik - Dev Lists <de...@hanik.com> on 2005/04/19 18:42:57 UTC

Re: How to use Database persistence for tomcat clustering?

Configure the PersistenceManager as your session manager

hang zhao wrote:

>Hi, everyone
>
>I am trying some configuration with my small tomcat
>cluster (2 tomcats, 1 apache, connected with mod_jk2
>as load balancer).
>
>The problem is that I want to use a shared database
>(Mysql) to do session replication instead of in-memory
>session replication. 
>
>But to the best of my knowledge, you seems can not
>make session level fail over to work with shared
>database  session replication. The changed session
>data is not sent to database immediately.
>
>In another word, how can I configure so that when I
>change session data, it is sent to database
>immediately. And so when some nodes dies, the other
>node can pick up the unfinished request silently
>without session data loss.
>
>
>Thanks in advance
>
>Hang 
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>Yahoo! Small Business - Try our new resources site!
>http://smallbusiness.yahoo.com/resources/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org