I thought I would try this on a off the shelf apache-tomcat-6.0.14:
<Engine name="Catalina" defaultHost="localhost" jvmRoute="worker4">
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
receiver.tcpListenPort="9074" >
Results in logs of:
WARNING: Manager [
[EMAIL PROTECTED] does not
implement ClusterManager, addition to cluster has been aborted.
The docs say "The default value is the
org.apache.catalina.ha.session.DeltaManager" and
DeltaManager does implement the ClusterManager interface.
I must be missing something, but what ?
-Steve More
On 10/19/07, Stephen More <[EMAIL PROTECTED]> wrote:
> I am trying to setup a tomcat cluster on 1 box with mod_jk,
>
> <Engine name="Catalina" defaultHost="localhost" jvmRoute="worker4">
> <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
> receiver.tcpListenPort="9074"
> doClusterLog="true"
> />
>
>
> <Engine name="Catalina" defaultHost="localhost" jvmRoute="worker6">
> <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
> receiver.tcpListenPort="9076"
> doClusterLog="true"
> />
>
> my web.xml has <distributable />
>
> session data is NOT getting replicated. My logs are showing:
>
> DEBUG TP-Processor1 org.apache.catalina.cluster.tcp.ReplicationValve -
> Context /tomcatTest: Found session
> 73F82C596FCE430AB6B7208B03E58BB4.worker6 but it isnt a ClusterSession.
>
> DEBUG TP-Processor3 org.apache.catalina.cluster.tcp.ReplicationValve -
> Context /tomcatTest: Requested session
> 3A9739F62613B5AECB8D1D3C6FF5E590.worker6 is invalid, removed or not
> replicated at this node.
>
> What is preventing my session from becoming a ClusterSession ?
>
> -Thanks
> Steve More
>
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]