1 Reply Latest reply on Oct 30, 2003 4:35 AM by Jochen Cordes

    Jetty and http-session distribution

    Jochen Cordes Novice

      Hi all!

      While experimenting with jetty and http-session distribution I stumbled across a message from Bela Ban about a change in the JGroup protocol stack. I checked the docu for JGroups 2.2 and the recent cvs sources. The changes where NOT reflected. Here's how to get it working though:

      In jboss-service.xml (jetty-plugin.sar/META-INF) replace the value of the attribute for protocolStack, section JGStore, with this:

      UDP(mcast_addr=228.8.8.8;mcast_port=45566;ip_ttl=32;ucast_recv_buf_size=16000;ucast_send_buf_size=16000;mcast_send_buf_size=32000;mcast_recv_buf_size=64000;loopback=true):PING(timeout=2000;num_initial_members=3):MERGE2(min_interval=5000;max_interval=10000):FD_SOCK:VERIFY_SUSPECT(timeout=1500):pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192):pbcast.STABLE(desired_avg_gossip=20000):UNICAST(timeout=2000):FRAG(frag_size=8192;down_thread=false;up_thread=false):pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true):pbcast.STATE_TRANSFER

      The order of STABLE and NACACK has changed.

      Additionally when using mod_jk2 add



      someNodeWorker



      right behind 600. This got sticky-sessions working for me ;-).

      I hope this of any use for someone ;-).

      Have fun,

      Jochen.