Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 61515 invoked from network); 18 Feb 2005 23:09:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Feb 2005 23:09:00 -0000 Received: (qmail 89992 invoked by uid 500); 18 Feb 2005 23:08:47 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 89667 invoked by uid 500); 18 Feb 2005 23:08:46 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 89649 invoked by uid 99); 18 Feb 2005 23:08:45 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mpls-qmqp-04.inet.qwest.net (HELO mpls-qmqp-04.inet.qwest.net) (63.231.195.115) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 18 Feb 2005 15:08:44 -0800 Received: (qmail 69448 invoked by uid 0); 18 Feb 2005 23:08:42 -0000 Received: from mpls-pop-12.inet.qwest.net (63.231.195.12) by mpls-qmqp-04.inet.qwest.net with QMQP; 18 Feb 2005 23:08:42 -0000 Received: from vdsl-130-13-0-2.phnx.qwest.net (HELO redfish) (130.13.0.2) by mpls-pop-12.inet.qwest.net with SMTP; 18 Feb 2005 23:08:42 -0000 Date: Fri, 18 Feb 2005 16:10:13 -0700 Message-ID: From: "Richard Mixon (qwest)" To: "Tomcat Users List" Subject: RE: Need simple app to test tc5 session failover - please MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 In-Reply-To: Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dan, I just spent a couple of weeks working with Filip Hanik to get session replication and failover working correctly on Tomcat 5.5.7 (at least for the specifics of my situation). Failover was working fine, though I did have to use a special listener to handle the replication of the "jvmRoute" suffix with MOD_JK properly. What was not working was when one restarted the failed node - some exceptions would occur and it would not pick up the load properly. I wrote a simple test case application that just updated a counter in an object stored in the session each time a request was submitted. The application is tiny, but the supporting jar files make the zip file about 4mb in size. If you can receive such a large email attachment let me know and I'll send it directly to you. Let me know - Richard Dan Carwin wrote: > Hello Tomcat users and creators. Thank you all for helping out. > > Can anyone point to me a simple app that I can use to test if tomcat 5 > session failover is working? I don't think any of the standard tomcat > examples will work. I tried numguess, but my guess count gets reset > to 1 each time I fail over. > > I'm not a java programmer so I'm not able to write my own test app. I > do know from the docs page that an app has to meet (at least) the > following two requirements: > > 1. All your session attributes must implement java.io.Serializable > 2. Make sure your web.xml has the element > > I'm using tomcat 5.0.30 on linux. I have just set up jk-based load > balancing and uncommented the cluster section in the server.xml. > > Thanks very much, > dcarwin@covalent.net --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org