tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: TOMCAT CLUSTERING HOWTO
Date Thu, 08 May 2008 15:09:10 GMT
-----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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message