2 Replies Latest reply on Nov 21, 2003 5:05 AM by Rafal Kedziorski

    Clustering problem with session replication ..

    Rafal Kedziorski Novice

      hi,

      we have at the front Apache 1.3.x with mod_jk. If we user session replication (JBoss 3.2.2 + Jetty) we have problems and can't use our application. Without this feature it works fine.

      Are there known Problems with Apache 1.3.x with mod_jk?


      Best Regards,
      Rafal

        • 1. Re: Clustering problem with session replication ..
          astehman Newbie

          Is modjk the same as AJP? If so, we have this configuration:

          Apache 1.3.27
          AJP 1.3
          JBOSS 3.2.1 Tomcat 4.1.24 integrated

          We had problems with session replication if stickiness was OFF. To solve the problem we had to keep stickiness ON. You may wish to investigate this as a solution to your problem.

          HTH,
          Alexx

          • 2. Re: Clustering problem with session replication ..
            Rafal Kedziorski Novice

            Hi,

            You mean the sticky_session setting, which is set to 1.

            # Define 1 real worker using ajp13

            # Set properties for loadbalancer
            worker.loadbalancer.type=lb
            worker.loadbalancer.balanced_workers=worker1, worker2
            worker.loadbalancer.sticky_session=1
            worker.loadbalancer.local_worker_only=0


            # Set properties for worker1 (ajp13)
            worker.worker1.type=ajp13
            worker.worker1.host=prog-02
            worker.worker1.port=8009
            worker.worker1.lbfactor=50
            #worker.worker1.lbfactor=1
            worker.worker1.local_worker=0
            worker.worker1.cachesize=10
            worker.worker1.cache_timeout=600
            #worker.worker1.socket_keepalive=1
            worker.worker1.socket_timeout=300


            # Set properties for worker2 (ajp13)
            worker.worker2.type=ajp13
            worker.worker2.host=prog-01
            worker.worker2.port=8009
            worker.worker2.lbfactor=50
            #worker.worker2.lbfactor=1
            worker.worker2.local_worker=0
            worker.worker2.cachesize=10
            worker.worker2.cache_timeout=600
            #worker.worker2.socket_keepalive=1
            worker.worker2.socket_timeout=300

            worker.list=loadbalancer

            But we have the same problems.


            Regards,
            Rafal