Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 17626 invoked from network); 29 Apr 2008 05:41:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Apr 2008 05:41:40 -0000 Received: (qmail 36050 invoked by uid 500); 29 Apr 2008 05:41:30 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 36027 invoked by uid 500); 29 Apr 2008 05:41:30 -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 36016 invoked by uid 99); 29 Apr 2008 05:41:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2008 22:41:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [203.187.150.196] (HELO mshxbex01.xius.ltd) (203.187.150.196) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 05:40:46 +0000 Received: from [10.10.16.63] (10.10.16.63) by mshxbex01.xius.ltd (172.16.16.15) with Microsoft SMTP Server id 8.1.240.5; Tue, 29 Apr 2008 11:04:43 +0530 Message-ID: <4816B373.7040505@xius-bcgi.com> Date: Tue, 29 Apr 2008 11:04:43 +0530 From: karthikn User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: TOMCAT CLUSTERING HOWTO References: <481581F1.3070303@xius-bcgi.com> In-Reply-To: <481581F1.3070303@xius-bcgi.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_I TOMCAT5523_II Startup 8081 8082 ShutDown 8007 8008 APJ 8009 8010 TCP Listener 4001 4002 tcpListenAddress auto auto jvmRoute node01 node02 Delpoyment of a war file on TOMCAT5523_I displays in console as >> INFO: Starting clustering manager at /DATAGRID Apr 29, 2008 10:17:59 AM org.apache.catalina.cluster.session.DeltaManager getAll ClusterSessions WARNING: Manager [/DATAGRID], requesting session state from org.apache.catalina. cluster.mcast.McastMember[tcp://10.10.16.63:4002,catalina,10.10.16.63,4002, aliv e=17593]. This operation will timeout if no session state has been received with in 60 seconds. Apr 29, 2008 10:18:59 AM org.apache.catalina.cluster.session.DeltaManager waitFo rSendAllSessions SEVERE: Manager [/DATAGRID]: No session state send at 4/29/08 10:17 AM received, timing out after 60,109 ms. TOMCAT5523_II displays on console as >>INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp ://10.10.16.63:4001,catalina,10.10.16.63,4001, alive=16] Apr 29, 2008 10:17:59 AM org.apache.catalina.cluster.session.ClusterSessionListe ner messageReceived SEVERE: Context manager doesn't exist:/DATAGRID Am i missing something while clustering.... with regards Karthik karthikn wrote: > Hi > > I have few Questions which i was not able to get TOMCAT CLUSTERING HOWTO > and form. > > > > > a) Clustering > > 1) Do we need to deploy the war files on each individual Tomcat > when joined the clustering. > >> "deploy your apps only to one server, and the cluster will > distribute the deployments across the entire cluster". > > This does not seems to work, after following the steps for 2 > Tomcats (or am i missing some thing in here.) > > 2) Is this a must do configuration > > >>" Make sure that all nodes have the same time and sync with > NTP service! " > > for the clusters to start functioning. > > > b) Load balancing > > 1) Using "Using the balancer webapp" , redirects to different > URL's is done, > Can we use the same to redirect to the clustered TOMCATs to > do the load > balancing internally based on > > > RoundRobinRule, > RandomRedirectRule > > > > Any URL or blog (other then "cluster-howto.html") > which explains the clustering /load balancing in simple steps would be > of wery much help to us. > > > > Prerequisite : TOMCAT 5.5.23 (already in production ,we cannot change > this version) 2 nos > JSDK : 1.6 > O/s : UNIX 11 > > > with regards > Karthik > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > . > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org