|
Hi Folks,
While clustering , when we configure apache HTTP with Geronimo (tomcat) via mod_jk , then do we need to set the gbean for TomcatWebConnector Or for TomcatAJPConnector
1) --------------Begin------------ <gbean name="TomcatWebConnector"> <attribute name="host">0.0.0.0</attribute> <attribute name="port">8081</attribute> <attribute name="redirectPort">8443</attribute> <attribute name="acceptQueueSize">100</attribute> <attribute name="maxThreads">130</attribute> <attribute name="minSpareThreads">50</attribute> <attribute name="maxSpareThreads">130</attribute> </gbean> <gbean name="TomcatAJPConnector"> <attribute name="host">0.0.0.0</attribute> <attribute name="port">8009</attribute> <attribute name="redirectPort">8443</attribute> <attribute name="acceptQueueSize">100</attribute> <attribute name="maxThreads">130</attribute> <attribute name="minSpareThreads">50</attribute> <attribute name="maxSpareThreads">130</attribute> </gbean>
--------------End--------------
2) --------------------Begin-------------- <gbean name="TomcatReceiver" class="org.apache.geronimo.tomcat.cluster.ReceiverGBean"> <attribute name="className">org.apache.catalina.cluster.tcp.ReplicationListener</attribute> <attribute name="initParams"> tcpListenAddress= 172.25.203.139 tcpListenPort=4001 tcpSelectorTimeout=100 tcpThreadCount=100 </attribute> </gbean> ------------------End--------------------
The second question is in the gbean “TomcatReceiver”, the “tcpThreadCount” attribute stands for what ? Can any1 clarify on this..? My guess is : is it something to do with the cluster replication (for ,in-memory replication, session object communication between the cluster members)
Thanks for ur time..!! Have fun for the weekend..!!
Thanks, Santosh. "Don't talk about yourself; it will be done when you leave. "
|
