tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petr Skokan <petr.sko...@mgm-tp.com>
Subject Re: Clustering Tomcat - StandardManager loaded instead of DeltaManager
Date Tue, 13 May 2008 14:49:11 GMT
Hi Filip,

I already found that - because to disable session persistency there is a
"hint" in Tomcat pages to uncomment that <Manager path=""/> and this was
causing a trouble as somebody uncomented that...

Regards,

Petr.


On Tue, 2008-05-13 at 07:46 -0700, Filip Hanik - Dev Lists wrote:
> do you by any chance have the <Manager> element uncommented in 
> conf/context.xml or haven't set <distributable/> in your web.xml
> 
> Filip
> 
> Petr Skokan wrote:
> > Hi All,
> >
> > I am trying to configure Tomcat for cluster in Tomcat 6.
> >
> > However in the catalina.out tomcat is still creating StandardManager
> > instead of defined DeltaManager:
> >
> > Any suggestion what is wrong here ??
> >
> > Thanks,
> >
> > Petr.
> >
> >
> > Here is catalina.out after start:
> >
> > INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
> > May 13, 2008 3:57:25 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
> > start
> > INFO: Cluster is about to start
> > May 13, 2008 3:57:25 PM
> > org.apache.catalina.tribes.transport.ReceiverBase bind
> > INFO: Receiver Server Socket bound to:/192.168.40.13:5001
> > May 13, 2008 3:57:25 PM
> > org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
> > INFO: Setting cluster mcast soTimeout to 500
> > May 13, 2008 3:57:25 PM
> > org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
> > INFO: Sleeping for 1000 milliseconds to establish cluster membership,
> > start level:4
> > May 13, 2008 3:57:26 PM
> > org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
> > INFO: Done sleeping, membership established, start level:4
> > May 13, 2008 3:57:26 PM
> > org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
> > INFO: Sleeping for 1000 milliseconds to establish cluster membership,
> > start level:8
> > May 13, 2008 3:57:27 PM
> > org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
> > INFO: Done sleeping, membership established, start level:8
> > May 13, 2008 3:57:27 PM
> > org.apache.catalina.ha.session.JvmRouteBinderValve start
> > INFO: JvmRouteBinderValve started
> > May 13, 2008 3:57:28 PM org.apache.catalina.core.StandardContext
> > addApplicationListener
> > INFO: The listener "com.mgmtp.sec.servlet.Context" is already configured
> > for this context. The duplicate definition has been ignored.
> > May 13, 2008 3:57:28 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
> > registerManager
> > WARNING: Manager [ org.apache.catalina.session.StandardManager@6cd24e3f]
> > does not implement ClusterManager, addition to cluster has been aborted.
> >
> >
> > server.xml <Cluster> definition is here:
> >
> > <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster">
> >
> > <Manager className="org.apache.catalina.ha.session.DeltaManager"
> >  expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/>
> >
> >     <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="3000"/>
> >
> > <Receiver
> > className="org.apache.catalina.tribes.transport.nio.NioReceiver"
> >                       address="auto"
> >                       port="5001"
> >                       selectorTimeout="100"
> >                       maxThreads="6"/>
> >
> >             <Sender
> > className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
> >               <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"/>
> >           <Valve
> > className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>
> >
> >
> > <ClusterListener
> > className="org.apache.catalina.ha.session.ClusterSessionListener"/>
> >
> > </Cluster>
> >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
> >
> >   
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message