tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marko Milicevic <MMilice...@pssd.com>
Subject How to enable debug logging of session replication?
Date Wed, 01 Sep 2004 21:29:26 GMT
I am running Tomcat 5.0.27 under Windows2k.  I am trying to configure a two
box cluster, but I'm not having luck getting session replication to work?  I
have added a <distributable/> element to my web.xml.  I have the following
cluster config for my server.xml.

        <Cluster
className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
 
managerClassName="org.apache.catalina.cluster.session.DeltaManager"
                 expireSessionsOnShutdown="false"
                 useDirtyFlag="true"
                 debug="10">

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

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

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

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

I have added log4j-1.2.8.jar and commons-logging.jar (v1.0.3) to common/lib.
And i have added commons-logging.properties and log4j.xml to common/classes,
with a root priority of DEBUG.

The last cluster related log message on each node is an entry like this,

16:31:10,421 INFO  Cluster-MembershipReceiver
[org.apache.catalina.cluster.tcp.SimpleTcpCluster] 
Replication member
added:org.apache.catalina.cluster.mcast.McastMember[tcp://1.2.3.4:4001,1.2.3
.4,4001, alive=18953]

But i never getting anything else?

In particular, I'm looking for logging statements by the replication
transmitter and sender?

Any ideas?

Thanks.

Marko.
.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message