Re: TOMCAT CLUSTERING HOWTO
Hi Sorry for the delay and Thx for reply ALL i was saying is i have 2 independent TOMCATS running on a windows2000 machine c:\TOMCAT1 startup 8080 shutdown = 8090 d:\TOMCAT2 startup 8081 shutdown = 8091 JDK is as below d:/java/jdk163 I have already done the changes to server.xml for both the tomcats as per http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html; So how to do Clustering and test the same. I am not checking the performance using Load balancer, Do i need to set up Load balancer to test the clustering ONLY ? with regards Karthik Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: | Clustering does not work without a load balancer. Period. | | Not strictly true. Clustered Tomcats don't care if the requests are | coming through a load balancer or someone manually changing port or | IP addresses on each request. Fair enough. I suppose I consider a cluster to be something that shares work via a single point of access, not just something that shares data. I think of clustered sessions as shares sessions within a cluster, where the cluster handles work as a whole. Having different clients connect specifically to one node in a cluster is merely using shared sessions to me. That would kind of be like calling several servers using the same database a cluster because they share data. | Certainly for any practical usage, a front end of some sort is | required to automatically route requests, but it doesn't have to | actually do any load balancing. Agreed. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgjH+MACgkQ9CaO5/Lv0PCIugCgjJ+bAUeEryueVoq9KE47A4RG wL0An1WBVcTugMOCQyT6aDO9bjkwHI5T =M8qq -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, karthikn wrote: | ALL i was saying is i have 2 independent TOMCATS running on a | windows2000 machine | | c:\TOMCAT1 startup 8080 shutdown = 8090 Tomcat does not have startup ports. Do you mean that you have a connector listening on port 8080? Is this port listening for HTTP or AJP requests? (It's probably HTTP). | d:\TOMCAT2 startup 8081 shutdown = 8091 Okay. | So how to do Clustering and test the same. Before you worry about clustering, can you even get a single request handled by Tomcat? If so, what URL are you using to access your webapp? | I am not checking the performance using Load balancer, Load balancers are not for testing performance. They are used to distribute load across your cluster by choosing a server to handle a particular request. | Do i need to set up Load balancer to test the clustering ONLY ? I'm not sure how you would even use your cluster, much less test it, without a load balancer. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgkYZYACgkQ9CaO5/Lv0PAMzwCfSCjBISky4Q/znfwCYHRg9StQ oRcAoIsRWr3Nb2O57NlSP2Vzy6uwvzDm =KWpa -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
| Do i need to set up Load balancer to test the clustering ONLY ? I'm not sure how you would even use your cluster, much less test it, without a load balancer. Absolutely. And the most confidence-inspiring (and pointy-haired-boss-impressing) test is to access your cluster through a load balancer with only one TC running, set some session variable, bring up the second TC and stop the first, and then see that your session variable is still set on the next request. Besides, the amount of time spent repeating the OPs question has been more than what's required to set up an Apache httpd as a balancer ... :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
Hi Sorry for the delay and Thx for reply Tomcat does not have startup ports. Yes I have set the 2 Independent TOMCAT's at 8080 and 8081 !-- Define a non-SSL HTTP/1.1 Connector on port 8080 -- Before you worry about clustering, can you even get a single request handled by Tomcat? I would be testing for ROOT web application in TOMCAT as http://IP:port/ I perfectly get the TC's Home page Some body on the Form told me , Set up the cluster before applying load balancing and Test the cluster's setup as following deploy/undeploy your apps only to one server, and the cluster will distribute the deployments/undeploy across the entire cluster. with distributable/ in web.xml Is this correct or not ? with regards Karthik Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, karthikn wrote: | ALL i was saying is i have 2 independent TOMCATS running on a | windows2000 machine | | c:\TOMCAT1 startup 8080 shutdown = 8090 Tomcat does not have startup ports. Do you mean that you have a connector listening on port 8080? Is this port listening for HTTP or AJP requests? (It's probably HTTP). | d:\TOMCAT2 startup 8081 shutdown = 8091 Okay. | So how to do Clustering and test the same. Before you worry about clustering, can you even get a single request handled by Tomcat? If so, what URL are you using to access your webapp? | I am not checking the performance using Load balancer, Load balancers are not for testing performance. They are used to distribute load across your cluster by choosing a server to handle a particular request. | Do i need to set up Load balancer to test the clustering ONLY ? I'm not sure how you would even use your cluster, much less test it, without a load balancer. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgkYZYACgkQ9CaO5/Lv0PAMzwCfSCjBISky4Q/znfwCYHRg9StQ oRcAoIsRWr3Nb2O57NlSP2Vzy6uwvzDm =KWpa -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
On Fri, May 9, 2008 at 8:03 AM, karthikn [EMAIL PROTECTED] wrote: Some body on the Form told me , Set up the cluster before applying load balancing and Test the cluster's setup as following deploy/undeploy your apps only to one server, and the cluster will distribute the deployments/undeploy across the entire cluster. with distributable/ in web.xml Is this correct or not ? That the deployments will be distributed, or that that's the way to test? I don't know about the first, and from an operations perspective, I don't think I'd /want/ that to happen. And it's been a while since I worked with clusters, but I don't recall that being the case. Could be wrong, though. Session replication was the whole point of clustering for installations I've been involved in. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, karthikn wrote: | As per TOMCAT CLUSTERING HOWTO documents | I am trying clustering on 2 TOMCAT 5.5.23 on WINDOWS OS sharing the | same JVM 1.6 What are you using to split traffic between these two instances? It does not appear that you have a cluster. It looks like you have two separate Tomcat instances that have no relationship to one another. I think that's why everyone is so confused. I'm certainly confused as to why you would run two Tomcats on the same JVM. First of all, how did you do that? Are you using Tomcat embedded or something? | 80818082 | ShutDown 80078008 | APJ 80098010 | TCP Listener 4001 4002 | tcpListenAddress autoauto | jvmRoute node01 node02 | | Will this work ? Probably, but these two Tomcat instances won't just magically share traffic with each other. You need some type of load balancer out in front of the two instances to make the cluster useful. You continually say it is not working but you never describe what is happening. I can tell you that you will receive no help from this forum if you continue to ask the same question and never provide any useful information. How does it /not/ work? Are any requests handled? Is only one of the Tomcat instances handling any traffic? Are they not properly sharing session information? Unbalanced load? /What/ is not working? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgi/lMACgkQ9CaO5/Lv0PA21QCdH04h3icgp+LASHtziDprG5nU sqsAoIsQIhMmYQy0kt5BLJeTJuRP0pPE =dR5k -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
Hi Sorry for delay and Thx for the reply I'm certainly confused as to why you would run two Tomcats on the same JVM. First of all, how did you do that? Are you using Tomcat embedded or something? Yes I have 2 TOMCAT individual running on same Windows2000 Machine sharing the same JVM with Startup / Shutdown Ports,but not embedded. Would this setup be not configurable to be cluster ...? You need some type of load balancer out in front of the two instances to make the cluster useful. To test clustering setup , do i need a Load balancer ...? You continually say it is not working but you never describe what is happening. I have the cluster setup as said in the http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html; And since some body on this form replied deploy/undeploy your apps only to one server, and the cluster will distribute the deployments/undeploy across the entire cluster. with distributable/ in web.xml The O/p of these 2 tomcats is as given below 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 with regards Karthik Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, karthikn wrote: | As per TOMCAT CLUSTERING HOWTO documents | I am trying clustering on 2 TOMCAT 5.5.23 on WINDOWS OS sharing the | same JVM 1.6 What are you using to split traffic between these two instances? It does not appear that you have a cluster. It looks like you have two separate Tomcat instances that have no relationship to one another. I think that's why everyone is so confused. I'm certainly confused as to why you would run two Tomcats on the same JVM. First of all, how did you do that? Are you using Tomcat embedded or something? | 80818082 | ShutDown 80078008 | APJ 80098010 | TCP Listener 4001 4002 | tcpListenAddress autoauto | jvmRoute node01 node02 | | Will this work ? Probably, but these two Tomcat instances won't just magically share traffic with each other. You need some type of load balancer out in front of the two instances to make the cluster useful. You continually say it is not working but you never describe what is happening. I can tell you that you will receive no help from this forum if you continue to ask the same question and never provide any useful information. How does it /not/ work? Are any requests handled? Is only one of the Tomcat instances handling any traffic? Are they not properly sharing session information? Unbalanced load? /What/ is not working? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgi/lMACgkQ9CaO5/Lv0PA21QCdH04h3icgp+LASHtziDprG5nU sqsAoIsQIhMmYQy0kt5BLJeTJuRP0pPE =dR5k -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, karthikn wrote: | Yes I have 2 TOMCAT individual running on same Windows2000 | Machine sharing the same JVM with Startup / Shutdown Ports,but not | embedded. Can you explain how to start two Tomcat instances in a single JVM? | Would this setup be not configurable to be cluster ...? Er, if they have the same startup port (by which I assume you mean connector port), then I think what you are doing is impossible. 1 Tomcat = 1 or more connectors You can't do this the other way around. That is, you can't have one connector (one port) serving two separate Tomcat instances. | You need some type of load balancer out in front of the two instances | to make the cluster useful. | | To test clustering setup , do i need a Load balancer ...? Clustering does not work without a load balancer. Period. It's not about testing. It's about working in the first place. Yes, you can start up two Tomcat instances as a cluster, but they won't act as a cluster unless you load balance them. | I have the cluster setup as said in the | http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html; | | 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 Okay, and then what? Have you tried to make a request to your clustered web application? If so, what was the result? If not, why not? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgjF5YACgkQ9CaO5/Lv0PBWdwCgg1MIFimkNBAZ68AVXt2W1tpY mvUAn0c+OYcLWkWJcpbaM3GRv+0Hu4Lg =+q3T -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TOMCAT CLUSTERING HOWTO
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: TOMCAT CLUSTERING HOWTO Can you explain how to start two Tomcat instances in a single JVM? I suspect the OP means one JVM installation as opposed to one JVM instance. (He seems a bit, shall we say, terminology challenged.) Clustering does not work without a load balancer. Period. Not strictly true. Clustered Tomcats don't care if the requests are coming through a load balancer or someone manually changing port or IP addresses on each request. Certainly for any practical usage, a front end of some sort is required to automatically route requests, but it doesn't have to actually do any load balancing. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: | Clustering does not work without a load balancer. Period. | | Not strictly true. Clustered Tomcats don't care if the requests are | coming through a load balancer or someone manually changing port or | IP addresses on each request. Fair enough. I suppose I consider a cluster to be something that shares work via a single point of access, not just something that shares data. I think of clustered sessions as shares sessions within a cluster, where the cluster handles work as a whole. Having different clients connect specifically to one node in a cluster is merely using shared sessions to me. That would kind of be like calling several servers using the same database a cluster because they share data. | Certainly for any practical usage, a front end of some sort is | required to automatically route requests, but it doesn't have to | actually do any load balancing. Agreed. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgjH+MACgkQ9CaO5/Lv0PCIugCgjJ+bAUeEryueVoq9KE47A4RG wL0An1WBVcTugMOCQyT6aDO9bjkwHI5T =M8qq -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
Helly Karthikn, I am confused as to where you are having problems? I am not sure what you mean by How to test TOMCAT CLUSTERING with out Load balancer? What exactly are you trying to do with your two tomcat machines? Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 5/6/2008 7:55:17 AM Hi How to test TOMCAT CLUSTERING with out Load balancer As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. but not able to SAMPLE TEST the clustering Am i on doing some thing wrong in here.? Please Some body suggest me . :( with regards Karthik karthikn wrote: Hi How to test TOMCAT CLUSTERING with out Load balancer As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. but not able to test the clustering Am i on doing some thing wrong in here.? with regards Karthik Landon Fabbricino wrote: I honestly have not tried clustering tomcat without Apache before. Just recently I set up a server farm with apache on one server and tomcat on two other servers (so 3 physical machines) Apache contains the logic to handle the load balancing between the two tomcats: jk.conf JkWorkersFile conf/workers.properties JkLogFile logs/jk_conn.log JkLogLevel error JkMount /loadbalance-test* loadbalancer workers.properties ### Load Balancer Instances worker.tomcat1.type=ajp13 worker.tomcat1.host=server1.domain.com worker.tomcat1.port=8009 #AJP Port worker.tomcat1.lbfactor=1 worker.tomcat4.type=ajp13 worker.tomcat4.host=server2.domain.com worker.tomcat4.port=8010#AJP Port worker.tomcat4.lbfactor=1 ### Define Mount Points # Load Balance # worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=tomcat1,tomcat2 worker.loadbalancer.sticky_session=False worker.loadbalancer.method=B ### Load Mount Points worker.list=loadbalancer karthikn [EMAIL PROTECTED] 4/30/2008 10:57:51 PM Hi As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. Could you provide your apache's worker.properties file? I have so far not used any APACHE Http Server for Load Balancing with regards Karthik Landon Fabbricino wrote: Could you provide your apache's worker.properties file? karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoutenode01 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
Re: TOMCAT CLUSTERING HOWTO
Hi As per TOMCAT CLUSTERING HOWTO documents I am trying clustering on 2 TOMCAT 5.5.23 on WINDOWS OS sharing the same JVM 1.6 with the parameters as below TC1 TC2 Startup 80818082 ShutDown 80078008 APJ 80098010 TCP Listener 4001 4002 tcpListenAddress autoauto jvmRoute node01 node02 Will this work ? Somebody on the form said deploy/undeploy your apps only to one server, and the cluster will distribute the deployments/undeploy across the entire cluster. with distributable/ in web.xml This i was not working, How would one know the cluster is successfully. Prerequisite : TOMCAT 5.5.23 (already in production ,we cannot change this version) 2 nos JSDK : 1.6 O/s : windows 2000 With regards Karthik 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. Landon Fabbricino wrote: Helly Karthikn, I am confused as to where you are having problems? I am not sure what you mean by How to test TOMCAT CLUSTERING with out Load balancer? What exactly are you trying to do with your two tomcat machines? Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 5/6/2008 7:55:17 AM Hi How to test TOMCAT CLUSTERING with out Load balancer As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. but not able to SAMPLE TEST the clustering Am i on doing some thing wrong in here.? Please Some body suggest me . :( with regards Karthik karthikn wrote: Hi How to test TOMCAT CLUSTERING with out Load balancer As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. but not able to test the clustering Am i on doing some thing wrong in here.? with regards Karthik Landon Fabbricino wrote: I honestly have not tried clustering tomcat without Apache before. Just recently I set up a server farm with apache on one server and tomcat on two other servers (so 3 physical machines) Apache contains the logic to handle the load balancing between the two tomcats: jk.conf JkWorkersFile conf/workers.properties JkLogFile logs/jk_conn.log JkLogLevel error JkMount /loadbalance-test* loadbalancer workers.properties ### Load Balancer Instances worker.tomcat1.type=ajp13 worker.tomcat1.host=server1.domain.com worker.tomcat1.port=8009 #AJP Port worker.tomcat1.lbfactor=1 worker.tomcat4.type=ajp13 worker.tomcat4.host=server2.domain.com worker.tomcat4.port=8010#AJP Port worker.tomcat4.lbfactor=1 ### Define Mount Points # Load Balance # worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=tomcat1,tomcat2 worker.loadbalancer.sticky_session=False worker.loadbalancer.method=B ### Load Mount Points worker.list=loadbalancer karthikn [EMAIL PROTECTED] 4/30/2008 10:57:51 PM Hi As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. Could you provide your apache's worker.properties file? I have so far not used any APACHE Http Server for Load Balancing with regards Karthik Landon Fabbricino wrote: Could you provide your apache's worker.properties file? karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM Hi The Following was done for the Clustering (2 tomcats ) Values
Re: TOMCAT CLUSTERING HOWTO
Hi How to test TOMCAT CLUSTERING with out Load balancer As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. but not able to SAMPLE TEST the clustering Am i on doing some thing wrong in here.? Please Some body suggest me . :( with regards Karthik karthikn wrote: Hi How to test TOMCAT CLUSTERING with out Load balancer As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. but not able to test the clustering Am i on doing some thing wrong in here.? with regards Karthik Landon Fabbricino wrote: I honestly have not tried clustering tomcat without Apache before. Just recently I set up a server farm with apache on one server and tomcat on two other servers (so 3 physical machines) Apache contains the logic to handle the load balancing between the two tomcats: jk.conf JkWorkersFile conf/workers.properties JkLogFile logs/jk_conn.log JkLogLevel error JkMount /loadbalance-test* loadbalancer workers.properties ### Load Balancer Instances worker.tomcat1.type=ajp13 worker.tomcat1.host=server1.domain.com worker.tomcat1.port=8009 #AJP Port worker.tomcat1.lbfactor=1 worker.tomcat4.type=ajp13 worker.tomcat4.host=server2.domain.com worker.tomcat4.port=8010#AJP Port worker.tomcat4.lbfactor=1 ### Define Mount Points # Load Balance # worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=tomcat1,tomcat2 worker.loadbalancer.sticky_session=False worker.loadbalancer.method=B ### Load Mount Points worker.list=loadbalancer karthikn [EMAIL PROTECTED] 4/30/2008 10:57:51 PM Hi As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. Could you provide your apache's worker.properties file? I have so far not used any APACHE Http Server for Load Balancing with regards Karthik Landon Fabbricino wrote: Could you provide your apache's worker.properties file? karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoutenode01 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
Re: TOMCAT CLUSTERING HOWTO
Hi How to test TOMCAT CLUSTERING with out Load balancer As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. but not able to test the clustering Am i on doing some thing wrong in here.? with regards Karthik Landon Fabbricino wrote: I honestly have not tried clustering tomcat without Apache before. Just recently I set up a server farm with apache on one server and tomcat on two other servers (so 3 physical machines) Apache contains the logic to handle the load balancing between the two tomcats: jk.conf JkWorkersFile conf/workers.properties JkLogFile logs/jk_conn.log JkLogLevel error JkMount /loadbalance-test* loadbalancer workers.properties ### Load Balancer Instances worker.tomcat1.type=ajp13 worker.tomcat1.host=server1.domain.com worker.tomcat1.port=8009 #AJP Port worker.tomcat1.lbfactor=1 worker.tomcat4.type=ajp13 worker.tomcat4.host=server2.domain.com worker.tomcat4.port=8010#AJP Port worker.tomcat4.lbfactor=1 ### Define Mount Points # Load Balance # worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=tomcat1,tomcat2 worker.loadbalancer.sticky_session=False worker.loadbalancer.method=B ### Load Mount Points worker.list=loadbalancer karthikn [EMAIL PROTECTED] 4/30/2008 10:57:51 PM Hi As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. Could you provide your apache's worker.properties file? I have so far not used any APACHE Http Server for Load Balancing with regards Karthik Landon Fabbricino wrote: Could you provide your apache's worker.properties file? karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoutenode01 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
Re: TOMCAT CLUSTERING HOWTO
Hi Apache contains the logic to handle the load balancing between the two tomcats: As per the Documents tomcat-docs/cluster-howto.html* *I have only tried to achieve Clustering of 2 TOMCAT's on a single MACHINE, JVM My Primary Objective was to check if the war deployed / undeployed on 1st TOMCAT would automatically be deployed / undeployed on the 2nd TOMCAT* *I would only use Apache Http server to handle the Load balancing once the succeeded in Clustering but this problem as stated below exists ** 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 * *Any suggestions with regards KaRTHIK* * Landon Fabbricino wrote: I honestly have not tried clustering tomcat without Apache before. Just recently I set up a server farm with apache on one server and tomcat on two other servers (so 3 physical machines) Apache contains the logic to handle the load balancing between the two tomcats: jk.conf JkWorkersFile conf/workers.properties JkLogFile logs/jk_conn.log JkLogLevel error JkMount /loadbalance-test* loadbalancer workers.properties ### Load Balancer Instances worker.tomcat1.type=ajp13 worker.tomcat1.host=server1.domain.com worker.tomcat1.port=8009 #AJP Port worker.tomcat1.lbfactor=1 worker.tomcat4.type=ajp13 worker.tomcat4.host=server2.domain.com worker.tomcat4.port=8010#AJP Port worker.tomcat4.lbfactor=1 ### Define Mount Points # Load Balance # worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=tomcat1,tomcat2 worker.loadbalancer.sticky_session=False worker.loadbalancer.method=B ### Load Mount Points worker.list=loadbalancer karthikn [EMAIL PROTECTED] 4/30/2008 10:57:51 PM Hi As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. Could you provide your apache's worker.properties file? I have so far not used any APACHE Http Server for Load Balancing with regards Karthik Landon Fabbricino wrote: Could you provide your apache's worker.properties file? karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoutenode01 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
Re: TOMCAT CLUSTERING HOWTO
I honestly have not tried clustering tomcat without Apache before. Just recently I set up a server farm with apache on one server and tomcat on two other servers (so 3 physical machines) Apache contains the logic to handle the load balancing between the two tomcats: jk.conf JkWorkersFile conf/workers.properties JkLogFile logs/jk_conn.log JkLogLevel error JkMount /loadbalance-test* loadbalancer workers.properties ### Load Balancer Instances worker.tomcat1.type=ajp13 worker.tomcat1.host=server1.domain.com worker.tomcat1.port=8009 #AJP Port worker.tomcat1.lbfactor=1 worker.tomcat4.type=ajp13 worker.tomcat4.host=server2.domain.com worker.tomcat4.port=8010#AJP Port worker.tomcat4.lbfactor=1 ### Define Mount Points # Load Balance # worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=tomcat1,tomcat2 worker.loadbalancer.sticky_session=False worker.loadbalancer.method=B ### Load Mount Points worker.list=loadbalancer karthikn [EMAIL PROTECTED] 4/30/2008 10:57:51 PM Hi As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. Could you provide your apache's worker.properties file? I have so far not used any APACHE Http Server for Load Balancing with regards Karthik Landon Fabbricino wrote: Could you provide your apache's worker.properties file? karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoutenode01 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
Re: TOMCAT CLUSTERING HOWTO
Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoutenode01 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] IMPORTANT NOTICE ! This E-Mail transmission and any accompanying attachments may contain confidential information intended only for the use of the individual or entity named above. Any dissemination, distribution, copying or action taken in reliance on the contents of this E-Mail by anyone other than the intended recipient is strictly prohibited and is not intended to, in anyway, waive privilege or confidentiality. If you have received this E-Mail in error please immediately delete it and notify sender at the above E-Mail address. Agrium uses state of the art anti-virus technology on all incoming and outgoing E-Mail. We encourage and promote the use of safe E-Mail management practices and recommend you check this, and all other E-Mail and attachments you receive for the presence of viruses. The sender and Agrium accept no liability for any damage caused by a virus or otherwise by the transmittal of this E-Mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoutenode01 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] IMPORTANT NOTICE ! This E-Mail transmission and any accompanying attachments may contain confidential information intended only for the use of the individual or entity named above. Any dissemination, distribution, copying or action taken in reliance on the contents of this E-Mail by anyone other than the intended recipient is strictly prohibited and is not intended to, in anyway, waive privilege or confidentiality. If you have received this E-Mail in error please immediately delete it and notify sender at the above E-Mail address. Agrium uses state of the art anti-virus technology on all incoming and outgoing E-Mail. We encourage and promote the use of safe E-Mail management practices and recommend you check this, and all other E-Mail and attachments you receive for the presence of viruses. The sender and Agrium accept no liability for any damage caused by a virus or otherwise by the transmittal of this E-Mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For
Re: TOMCAT CLUSTERING HOWTO
Could you provide your apache's worker.properties file? karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoutenode01 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] IMPORTANT NOTICE ! This E-Mail transmission and any accompanying attachments may contain confidential information intended only for the use of the individual or entity named above. Any dissemination, distribution, copying or action taken in reliance on the contents of this E-Mail by anyone other than the intended recipient is strictly prohibited and is not intended to, in anyway, waive privilege or confidentiality. If you have received this E-Mail in error please immediately delete it and notify sender at the above E-Mail address. Agrium uses state of the art anti-virus technology on all incoming and outgoing E-Mail. We encourage and promote the use of safe E-Mail management practices and recommend you check this, and all other E-Mail and attachments you receive for the presence of viruses. The sender and Agrium accept no liability for any damage caused by a virus or otherwise by the transmittal of this E-Mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For
Re: TOMCAT CLUSTERING HOWTO
Hi As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. Could you provide your apache's worker.properties file? I have so far not used any APACHE Http Server for Load Balancing with regards Karthik Landon Fabbricino wrote: Could you provide your apache's worker.properties file? karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoutenode01 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] IMPORTANT NOTICE ! This E-Mail transmission and any accompanying attachments may contain confidential information intended only for the use of the individual or entity named above. Any dissemination, distribution, copying or action taken in reliance on the contents of this E-Mail by anyone other than the intended recipient is strictly prohibited and is not intended to, in anyway, waive privilege or confidentiality. If you have received this E-Mail in error please immediately delete it and notify sender at the above E-Mail address. Agrium uses state of the art anti-virus technology on all incoming and outgoing E-Mail. We encourage and promote the use of safe E-Mail management practices and recommend you check this, and all other E-Mail and attachments you receive for the presence of viruses. The sender and Agrium accept no liability for any damage caused by a virus or
Re: TOMCAT CLUSTERING HOWTO
If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL PROTECTED] karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoutenode01 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] IMPORTANT NOTICE ! This E-Mail transmission and any accompanying attachments may contain confidential information intended only for the use of the individual or entity named above. Any dissemination, distribution, copying or action taken in reliance on the contents of this E-Mail by anyone other than the intended recipient is strictly prohibited and is not intended to, in anyway, waive privilege or confidentiality. If you have received this E-Mail in error please immediately delete it and notify sender at the above E-Mail address. Agrium uses state of the art anti-virus technology on all incoming and outgoing E-Mail. We encourage and promote the use of safe E-Mail management practices and recommend you check this, and all other E-Mail and attachments you receive for the presence of viruses. The sender and Agrium accept no liability for any damage caused by a virus or otherwise by the transmittal of this E-Mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
Hi Somebody Please Help me with this form 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
karthikn wrote: Hi Somebody Please Help me with this form http://wiki.apache.org/tomcat/FAQ/Tomcat_User#Q2 Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT CLUSTERING HOWTO
Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoutenode01 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]