I also stronly recommend using "pooled" as a replication mode, it is fast
and guaranteed

Filip

-----Original Message-----
From: Alex [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 12:35 PM
To: Tomcat Users List
Subject: RE: clustering question?




Mar 9, 2004 6:45:28 PM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request

This occurs when I uncomment the jk2.property noted below.  All the
classes that could/do/will/would get stored to session are serializable.

I have two exact machines running rh 9.0 with java version "1.4.2_03" and
running tomcat 5.0.19

from server.xml:

        <Cluster
className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"

managerClassName="org.apache.catalina.cluster.session.DeltaManager"
                 expireSessionsOnShutdown="false"
                 debug="4"
                 useDirtyFlag="true">

            <Membership
                className="org.apache.catalina.cluster.mcast.McastService"
                mcastAddr="228.0.0.4"
                mcastPort="45564"
                mcastFrequency="500"
                debug="4"
                mcastDropTime="3000"/>

            <Receiver
className="org.apache.catalina.cluster.tcp.ReplicationListener"
                tcpListenAddress="10.99.116.2"
                tcpListenPort="4001"
                tcpSelectorTimeout="100"
                debug="4"
                tcpThreadCount="6"/>

            <Sender
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
                debug="4"
                replicationMode="asynchronous"/>

            <Valve
className="org.apache.catalina.cluster.tcp.ReplicationValve"
                debug="4"
                filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
        </Cluster>

>From the other server set up identically (same code, same confs --
different ip)

Mar 9, 2004 6:45:08 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberDisappeared
INFO: Received member
disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://10.99.116.2:
4001,10.99.116.2,4001, alive=384926336]
Mar 9, 2004 6:45:09 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberAdded
INFO: Replication member
added:org.apache.catalina.cluster.mcast.McastMember[tcp://10.99.116.2:4001,1
0.99.116.2,4001, alive=18]
Mar 9, 2004 6:45:09 PM org.apache.catalina.cluster.tcp.AsyncSocketSender
<init>
INFO: Started async sender thread for TCP replication.


On Tue, 9 Mar 2004, Filip Hanik (lists) wrote:

> Date: Tue, 9 Mar 2004 12:17:31 -0600
> From: "Filip Hanik (lists)" <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: RE: clustering question?
>
> request.registerRequests=false is related to jk2 and not to session
> replication.
>
> what is your problem with session replication?
>
> Filip


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to