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 74199 invoked from network); 14 Jul 2000 21:09:25 -0000 Received: from sfo-mail.logictier.com (HELO mail1.sfo.logictier.net) (208.35.215.135) by locus.apache.org with SMTP; 14 Jul 2000 21:09:25 -0000 Received: by MAIL1 with Internet Mail Service (5.5.2650.21) id <38B8WPV8>; Fri, 14 Jul 2000 14:09:00 -0700 Message-ID: <972B986FD7E3D311AC2800902785664D524AE1@MAIL1> From: John Pettit To: "'tomcat-user@jakarta.apache.org'" Subject: Dsitributed session help... Date: Fri, 14 Jul 2000 14:08:54 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Hi All, I'm working with Tomcat 3.1; my understanding is that load balancing is working for that version. I'm trying to do a simple config with one instance of apache load balancing between two instances of Tomcat. That all seems to be working, but I can't figure out how the get the sessions to be sticky. The JSESSIONID cookies are appending the route identifier to the cookie value (e.g. JESSIONID=To1020mC3453730581940907At.JS1), but subsequent requests are equally likely to go to JS2 (and a new cookie ending in .JS2 is set). The tomcat.conf file I'm using follows. Any help would be so very much appreciaited. Thanks, John Pettit ---------------------------------------------------------------------------- ------- ApJServManual on ApJServDefaultProtocol ajpv12 ApJServMountCopy on ApJServLogLevel notice ApJServDefaultPort 8007 AddType test/jsp .jsp AddHandler jserv-servlet .jsp Alias /examples /apps/jakarta-tomcat/webapps/examples Options Indexes FollowSymLinks ApJServMount /examples/servlet balance://set1/zone1 AllowOverride None deny from all # my own set of JServs for servlet zone "zone1" ApJServBalance set1 JServ1 ApJServBalance set1 JServ2 ApJServHost JServ1 ajpv12://jserv1.host.com:8007 ApJServHost JServ2 ajpv12://jserv2.host.com:8007 ApJServRoute JS1 JServ1 ApJServRoute JS2 JServ2 #ApJServShmFile log/jserv_shm ApJServSecretKey DISABLED