The problem was not with a config of tomcats server.xml it was a
problem with the war.

<Context>
<Manager pathname=""/> <!-- disable session persistence -->
</Context>

session data is now getting replicated. If you ask why, you can look
at: http://jcifs.samba.org/src/docs/ntlmhttpauth.html

So the only question that remains is "Will JCIFS NTLM HTTP
Authentication work in a cluster with session replication" ?


If anyone has any insights feel free to post.

-Thanks
Steve More


On 10/19/07, Stephen More <step......om> wrote:
> 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 <ste......om> 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: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to