Hi all

We are using resin 3.0.18 professional in a clustered environment with two nodes. Our problem is the back up of sessions. It seems that the sessions are only distributed when the node starts or is cleanly shutdown (with ./http stop) and not in between. So if one node gets killed its sessions are lost.

The resin.conf looks like the following:
<resin>
   <server bind-ports-after-start="true">
      <cluster>
         <srun server-id="bridge2" host="bridge2" port="6802"/>
         <srun server-id="apc1163" host="apc1163" port="6802"/>
      </cluster>

      <persistent-store type="cluster">
         <init path="/tmp/resin-sessions"/>
      </persistent-store>

      <host id="" root-directory=".">
         <web-app id="/" document-directory="/website">
            <session-config>
               <always-save-session>true</always-save-session>
               <ignore-serialization-errors>false</ignore-serialization-errors>
               <use-persistent-store/>
            </session-config>
         </web-app>
      </host>
   </server>
</resin>

Any quick response would be greatly appreciated.

Thanks
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to