Hi , i'am tring to configurer a static member ship tomcat 6 cluster(i can't
use multicat)

but i'am not confident in the configuration
here is may configuration
for the cluster
Tomcat start but i cannot see JMX cluster bean
does sombedody have a sample config for a two machine static cluster
regards
Marc

<Engine name="Catalina" defaultHost="localhost" jvmRoute="tomcat2"> 
      <!--
                                For clustering, please take a look at 
documentation at:
                                /docs/cluster-howto.html (simple how to) 
/docs/config/cluster.html
                                (reference documentation)
                        -->  
      <Cluster channelSendOptions="8"
className="org.apache.catalina.ha.tcp.SimpleTcpCluster"> 
        <Manager className="org.apache.catalina.ha.session.DeltaManager"
expireSessionsOnShutdown="false" domainReplication="true"
notifyListenersOnReplication="true"/>  
        <Channel className="org.apache.catalina.tribes.group.GroupChannel"> 
          <Receiver address="localhost" autoBind="100"
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
maxThreads="6" port="4000" selectorTimeout="5000"/>  
          <Sender
className="org.apache.catalina.tribes.transport.ReplicationTransmitter"> 
            <Transport
className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/> 
          </Sender>  
          <Interceptor
className="org.apache.geronimo.tomcat.interceptor.DisableMcastInterceptor"/>  
          <Interceptor
className="org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor"
staticOnly="true"/>  
          <Interceptor
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>  
          <Interceptor
className="org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor">
 
                       <Member
className="org.apache.catalina.tribes.membership.StaticMember" port="4000" 
host="10.154.0.166"  uniqueId="{10,154,0,166}"/>  
            <Member
className="org.apache.catalina.tribes.membership.StaticMember" port="4000"
host="10.154.0.167"  uniqueId="{10,154,0,167}"/> s
          </Interceptor>  
          <Interceptor
className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
 
        </Channel>  
        <Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
filter=""/>  
        <Valve
className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>  
        <ClusterListener
className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>  
        <ClusterListener
className="org.apache.catalina.ha.session.ClusterSessionListener"/> 
      </Cluster>  
   
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>  

      <Host name="localhost" appBase="webapps" unpackWARs="true"
autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> 
--> 
      </Host> 
    </Engine> 

-- 
View this message in context: 
http://www.nabble.com/tomcat-6.0.18-static-cluster-confugation-tp20343212p20343212.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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