Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 72767 invoked from network); 10 Aug 2009 11:52:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Aug 2009 11:52:10 -0000 Received: (qmail 31738 invoked by uid 500); 10 Aug 2009 11:52:13 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 31662 invoked by uid 500); 10 Aug 2009 11:52:13 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 31651 invoked by uid 99); 10 Aug 2009 11:52:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2009 11:52:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jingtian.seu217@gmail.com designates 74.125.92.150 as permitted sender) Received: from [74.125.92.150] (HELO qw-out-1920.google.com) (74.125.92.150) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2009 11:52:02 +0000 Received: by qw-out-1920.google.com with SMTP id 4so1047493qwk.12 for ; Mon, 10 Aug 2009 04:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=nMhIYEjJQoCKbQAc4bESdoZm3JPU/YeDdBDvuoahwoA=; b=VxxT+YryYztemIj9cCHLxXEi3JLSN623bafSwJCOGbzhgbzviOWUwEoLTrGxBj1s+F 9mZCvo5UhE6D5SYhgVBJhyzd85GVWJTYbb/apXlEKsRTlsd+uSKrByntFk2pdm+zCFpI V9rHfic7uXbT7cZ9DC3z1BdzVzbVZU05/Q9MU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; b=EpJ8MhC9oXs275/yg8ROs/8DW+8eiq2os3miz/5vg4iPyhH66MhuR7jw1k0/AnECdy GKB8ks0vBy3vm2ufkpkB8I1GXNQxoYbA2uwhzjhLtIyFd1LgSznNiuPgCtn5GXUWSO/R 4/NZgz0dc2xk0R+jgqi8qAE//cb77g6LMn8Ls= MIME-Version: 1.0 Sender: jingtian.seu217@gmail.com Received: by 10.229.70.141 with SMTP id d13mr1317910qcj.70.1249905101552; Mon, 10 Aug 2009 04:51:41 -0700 (PDT) Date: Mon, 10 Aug 2009 19:51:41 +0800 X-Google-Sender-Auth: 330986e61d65377b Message-ID: <7a9b6d1a0908100451t67304e21mb36b6649f5be8204@mail.gmail.com> Subject: questions on tomcat cluster From: TianJing To: users@tomcat.apache.org Cc: wujiasheng , duzhiming@genomics.org.cn Content-Type: multipart/alternative; boundary=0016360e3b3c94bff80470c8352a X-Virus-Checked: Checked by ClamAV on apache.org --0016360e3b3c94bff80470c8352a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi all, i am now setting up a cluster with a httpd-2.2.13 and two tomcat 6.0, i hope to use Session Replication,but there have some problems: the session can not replication,when a tomcat is disappeared, the session is lost. could you please give me some advices? thanks very much! here is some detail information: i set the cluser at engine level,and my routing table is : Destination Gateway Genmask Flags Metric Ref Use Iface 255.255.255.255 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 224.0.0.4 0.0.0.0 255.255.255.255 UH 0 0 0 eth1 my configure file is as follow: ########workers.properties configuration workers.java_home=/usr/java/latest worker.list=controller # Set properties for worker1; worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8999 worker.worker1.lbfactor=50 worker.worker1.cachesize=10 worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1 worker.worker1.socket_timeout=300 worker.worker1.redirect=worker2 # Set properties for worker2; worker.worker2.type=ajp13 worker.worker2.host=192.168.8.129 worker.worker2.port=8999 worker.worker2.lbfactor=50 worker.worker2.cachesize=10 worker.worker2.cache_timeout=600 worker.worker2.socket_keepalive=1 worker.worker2.socket_timeout=300 worker.worker2.redirect=worker1 # Define the LB worker worker.controller.type=lb worker.controller.balance_workers=worker1,worker2 worker.controller.sticky_session=true ########apache vhost: ServerAdmin xxxx.xxxx.xxxx #DocumentRoot "/share/bccdata/Cloud/src" DirectoryIndex home.xhtml index.htm index.jsp index.php ServerName xxx.xxx.xxx.xxx JkMountFile /scratch/apache2.2.13/conf/worker.conf ErrorLog "logs/cloud-error.log" CustomLog "logs/cloud-access_log" common #######worker.conf /*=controller ##tomcat1 server.xml on server1 ##tomcat2 server.xml on server2 -- Tianjing Bioinformatics Center, Beijing Genomics Institute,Shenzhen Tel:+86-755-25273851 MSN:tianjing217@hotmail.com --0016360e3b3c94bff80470c8352a--