geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santosh Koti" <Santosh_K...@infosys.com>
Subject Tomcat <-> Geronimo AJP connectivity
Date Fri, 19 May 2006 14:29:59 GMT



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</at
tribute>

                                   <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. "





**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of
the addressee(s). If you are not the intended recipient, please notify the sender by e-mail
and delete the original message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are unlawful. This e-mail
may contain viruses. Infosys has taken every reasonable precaution to minimize this risk,
but is not liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or attachment. Infosys
reserves the right to monitor and review the content of all messages sent to or from this
e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys
e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Mime
View raw message