tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Fernández Panzuela <manuelfernandezpanzu...@gmail.com>
Subject Re: Session Replication
Date Sat, 23 Feb 2013 09:30:27 GMT
What do you need to know ?

Un abrazo


2013/2/23 Technical Support <techsupport@brainstalk.com>

> Hi,
>
> Im beginner in Linux. Can anyone help me develop my skills in Linux?
>
> Regards
>
> Chak Teylor
>
> On Sat, Feb 23, 2013 at 2:27 AM, Dhaval Jaiswal <dhaval.jaiswal@via.com
> >wrote:
>
> > I am creating cluster of 3 tomcats (Version 6) for session replication
> with
> > the following changes in server.xml
> >
> > <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
> > channelSendOptions="6"/>
> >        <Manager className="org.apache.catalina.ha.session.DeltaManager"
> > expireSessionsOnShutdown="false"
> >                    notifyListenersOnReplication="true"
> mapSendOptions="6"/>
> >             <Channel
> > className="org.apache.catalina.tribes.group.GroupChannel">
> >              <Membership
> > className="org.apache.catalina.tribes.membership.McastService"
> >                         address="228.0.0.4"
> >                         port="45564"
> >                         frequency="500"
> >                         dropTime="10000"/>
> >              <Receiver
> > className="org.apache.catalina.tribes.transport.nio.NioReceiver"
> >                       address="auto"
> >                       port="4000"
> >                       selectorTimeout="5000"
> >                       timeout="60000"
> >                       maxThreads="6"/>
> >
> >              <Sender
> > className="org.apache.catalina.tribes.transport.ReplicationTransmitter"
> > timeout="60000">
> >                <Transport
> >
> className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
> >              </Sender>
> >              <Interceptor
> >
> >
> className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
> >              <Interceptor
> >
> >
> className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
> >              <Interceptor
> >
> >
> className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/>
> >           </Channel>
> >          <Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
> >
> >
> >
> filter=".*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt"/>
> >        <ClusterListener
> > className="org.apache.catalina.ha.session.ClusterSessionListener"/>
> >
> > Opening the multicaste address (228.0.0.4) on firewall for 3 tomcats for
> > port 45564 and 4000. Is it correct ?
> >
> >
> > Please let me know if there is any change required in above
> configurations.
> >
> >
> > --
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message