Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 28566 invoked from network); 9 May 2000 18:41:28 -0000 Received: from siren.mantamedia.com (63.79.139.104) by locus.apache.org with SMTP; 9 May 2000 18:41:28 -0000 Received: by SIREN with Internet Mail Service (5.5.1960.3) id ; Tue, 9 May 2000 13:41:27 -0500 Message-ID: <67C387B635F7D2118097005004251E6011C011@SIREN> From: Mark Kolmar To: "'tomcat-user@jakarta.apache.org'" Subject: RE: Load Balancing with Tomcat 3.1 Date: Tue, 9 May 2000 13:41:26 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Offhand, I might suggest dynamically-generated links and/or URL rewriting to ensure that the next request for a given user/session is sent to the server on which the session was first generated. However, I may misunderstand your question, as I'm not familiar with those features of mod_jserv. What would be the purpose of attempting load-balancing on a single physical server? Would this have something to do with load on a single JVM vs. multiple JVMs? Mark Kolmar Manta Media Inc. -----Original Message----- From: Markus Nietfeld [mailto:nietfeld@agentscape.de] Sent: Tuesday, May 09, 2000 7:37 AM To: tomcat-user@jakarta.apache.org Subject: Load Balancing with Tomcat 3.1 I am trying to use the load balancing features of mod_jserv, i.e. the routing trailor appended to the session cookie. I am using Apache 1.3.12 with Tomcat 3.1 on Windows NT. I have the following lines in my tomcat-apache.conf: ApJServMount /examples/servlet balance://set-1/examples ApJServBalance set-1 tomcat-1 ApJServBalance set-1 tomcat-2 ApJServHost tomcat-1 ajpv12://192.168.101.25:8007 ApJServHost tomcat-2 ajpv12://192.168.101.25:8008 ApJServShmFile D:\Programme\tomcat-3.1\conf\jserv.shm Although the session cookie is created and the trailor appended, the next request is routed to the other tomcat and a new session is created. Any ideas or configuration hints? Thanks in advance, Markus.