Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 45795 invoked from network); 16 Dec 2003 20:28:16 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Dec 2003 20:28:16 -0000 Received: (qmail 15696 invoked by uid 500); 16 Dec 2003 20:27:45 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 15681 invoked by uid 500); 16 Dec 2003 20:27:45 -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 15665 invoked from network); 16 Dec 2003 20:27:44 -0000 Received: from unknown (HELO xmail-out.shawmut.com) (64.214.98.15) by daedalus.apache.org with SMTP; 16 Dec 2003 20:27:44 -0000 Received: from SDC-MAIL1.shawmut.com ([192.168.100.3]) by xmail-out.shawmut.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 16 Dec 2003 15:27:48 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Tomcat 5 Clustering Date: Tue, 16 Dec 2003 15:27:48 -0500 Message-ID: <8BE2F173A6440740934EDD48016EC973260713@SDC-MAIL1.shawmut.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat 5 Clustering thread-index: AcPEEY9mQmtmE15AQ62pvRN8FZoW9AAAWItA From: "Pitre, Russell" To: "Tomcat Users List" X-OriginalArrivalTime: 16 Dec 2003 20:27:48.0539 (UTC) FILETIME=[1234F8B0:01C3C413] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ok....will do...should I post them here or offline.....Maybe others will be able to benefit from our conversation.... Russ -----Original Message----- From: Filip Hanik [mailto:devlists@hanik.com]=20 Sent: Tuesday, December 16, 2003 3:17 PM To: Tomcat Users List Subject: Re: Tomcat 5 Clustering hmm, on your console or in your log, are the systems finding each other, ie, do you have multicast enabled and do the nodes actually connect to each other? send the logs from a clean run, ie stop, delete logs, start, send logs Filip ----- Original Message ----- From: "Pitre, Russell" To: "Tomcat Users List" Sent: Tuesday, December 16, 2003 12:08 PM Subject: RE: Tomcat 5 Clustering Hi Filip- Sorry, while being caught up in the problem statement......I forgot to mention that I'm using Microsoft Network Load Balancing services for load balancing and failover detection....again my apologies.... When I do pull the plug....I am redirected to the working node.......and when I try getAttribute("myAttribute") on that same session (never closed the browser) the session or session attribute is no longer obtainable... Russ -----Original Message----- From: Filip Hanik [mailto:devlists@hanik.com] Sent: Tuesday, December 16, 2003 2:13 PM To: Tomcat Users List Subject: Re: Tomcat 5 Clustering download a load balancer balance.sourceforge.net or a perl balancer called "pen" (google) the shut down one tomcat, after initial access, the system will fail over. pulling the network cable without any other failure has not yet been handled as a failure scenario Filip ----- Original Message ----- From: "Pitre, Russell" To: "Tomcat Users List" Sent: Tuesday, December 16, 2003 10:37 AM Subject: Tomcat 5 Clustering Hello All: Please excuse my ignorance, I'm trying to achieve clustering with Tomcat 5....I've read the following in the Tomcat 5 documentation: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D To run session replication in your Tomcat 5 container, the following steps should be completed: -->All your session attributes must implement java.io.Serializable =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D Okay. I've completed all the other steps (uncomment the element along with the , and added the in web.xml)........I'm trying to code a simple object that implements java.io.Serializable to store in a session and here it is..... package com.shawmut.session; import java.io.Serializable; public class SerializeSession implements Serializable { public static String testString =3D ""; public void setString(String stringValue){ this.testString =3D stringValue; } public String getString(){ return this.testString; } } ok.....Now I want to put this in the session..... <% if(session.getAttribute("ss")=3D=3D null){ SerializeSession ss =3D new SerializeSession(); ss.setString("Booooooooooooooo! And I created my session on Tomcat 1 Node"); session.setAttribute("ss", ss); } %> Whats going on here?.....I unplug the patch cord ( docs says it's a bad idea) from one of the boxes and hit a jsp on the working node that does the following......and the session doesn't carry over to the working node.... <% if(session.getAttribute("ss")!=3D null){ SerializeSession ss2 =3D (SerializeSession)session.getAttribute("ss"); %> SESSION:<%=3Dss2.getString()%> <% } %> Basically what I'm looking for is an example of serializing session attributes as noted above.... Any Help here will be greatly appreciated...... Russ --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org