Hi, thanks for you reply

here is a more precise reporting 
i have few problem
i only see member dispaear
the jmx cluster bean is  not present(i cannot find it)
et the deployer refuse to start


Regards,
 Marc

the cluster seems to be conected as the stop off server 2 is recevied by
server 1
 6 nov. 2008 10:19:32
org.apache.catalina.tribes.group.interceptors.TcpFailureDetector
memberDisappeared
jvm 1    | INFO: Verification complete. Member
disappeared[org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0,
0, 1}:4000,{127, 0, 0, 1},4000, alive=138643,id={-124 -84 15 47 75 68 66 21
-121 -4 87 -38 -72 -17 -84 117 }, payload={}, command={66 65 66 89 45 65 76
69 88 ...(9)}, domain={}, ]]
jvm 1    | 6 nov. 2008 10:19:32 org.apache.catalina.ha.tcp.SimpleTcpCluster
memberDisappeared
jvm 1    | INFO: Received member
disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0,
0, 1}:4000,{127, 0, 0, 1},4000, alive=138643,id={-124 -84 15 47 75 68 66 21
-121 -4 87 -38 -72 -17 -84 117 }, payload={}, command={66 65 66 89 45 65 76
69 88 ...(9)}, domain={}, ]




#log server from server 1 after start
jvm 1    | 6 nov. 2008 10:16:26
org.apache.tomcat.util.digester.SetPropertiesRule begin
jvm 1    | ATTENTION:
[SetPropertiesRule]{Server/Service/Engine/Cluster/Channel/Interceptor/Member}
Setting property 'uniqueId' to '{10,154,0,167}' did not find a matching
property.
jvm 1    | 6 nov. 2008 10:16:26
org.apache.catalina.core.AprLifecycleListener init
jvm 1    | INFO: The APR based Apache Tomcat Native library which allows
optimal performance in production environments was not found on the
java.library.path: ../lib
jvm 1    | 6 nov. 2008 10:16:26 org.apache.coyote.http11.Http11Protocol init
jvm 1    | INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
jvm 1    | 6 nov. 2008 10:16:26 org.apache.catalina.startup.Catalina load
jvm 1    | INFO: Initialization processed in 1206 ms
jvm 1    | 6 nov. 2008 10:16:26 org.apache.catalina.core.StandardService
start
jvm 1    | INFO: D�marrage du service Catalina
jvm 1    | 6 nov. 2008 10:16:26 org.apache.catalina.core.StandardEngine
start
jvm 1    | INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
jvm 1    | 6 nov. 2008 10:16:26 org.apache.catalina.ha.tcp.SimpleTcpCluster
start
jvm 1    | INFO: Cluster is about to start
jvm 1    | 6 nov. 2008 10:16:26
org.apache.catalina.tribes.transport.ReceiverBase bind
jvm 1    | INFO: Receiver Server Socket bound to:localhost/127.0.0.1:4000
jvm 1    | 6 nov. 2008 10:16:26
org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
jvm 1    | INFO: Setting cluster mcast soTimeout to 500
jvm 1    | 6 nov. 2008 10:16:26
org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
jvm 1    | INFO: Sleeping for 1000 milliseconds to establish cluster
membership, start level:4
jvm 1    | 6 nov. 2008 10:16:27
org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
jvm 1    | INFO: Done sleeping, membership established, start level:4
jvm 1    | 6 nov. 2008 10:16:27
org.apache.catalina.ha.deploy.FarmWarDeployer start
jvm 1    | GRAVE: FarmWarDeployer can only work as host cluster subelement!
jvm 1    | 6 nov. 2008 10:16:29
org.apache.catalina.ha.session.JvmRouteBinderValve start
jvm 1    | INFO: JvmRouteBinderValve started
jvm 1    | 6 nov. 2008 10:16:29 org.apache.coyote.http11.Http11Protocol
start
jvm 1    | INFO: D�marrage de Coyote HTTP/1.1 sur http-8080
jvm 1    | 6 nov. 2008 10:16:29 org.apache.jk.common.ChannelSocket init
jvm 1    | INFO: JK: ajp13 listening on /0.0.0.0:8010
jvm 1    | 6 nov. 2008 10:16:29 org.apache.jk.server.JkMain start
jvm 1    | INFO: Jk running ID=0 time=0/70  config=null
jvm 1    | 6 nov. 2008 10:16:29 org.apache.catalina.startup.Catalina start
jvm 1    | INFO: Server startup in 2977 ms



#server 1 configuration
 <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.MessageDispatch15Interceptor"/>
 
          <Interceptor
className="org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor">
 
              <!-- here 10.154.0.167 is the  machine FOR SERVER2-->
            <Member
className="org.apache.catalina.tribes.membership.StaticMember" port="4000"
securePort="-1" host="10.154.0.167"  uniqueId="{10,154,0,167}"/> 
          </Interceptor>  
       
        </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"/> 
<Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer"
                    tempDir="/tmp/war-temp/"
                    deployDir="/tmp/war-deploy/"
                    watchDir="/tmp/war-listen/"
                    watchEnabled="false"/>

      </Cluster>  
         <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>  
      <Host name="localhost" appBase="webapps" unpackWARs="true"
autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> 
       
      </Host> 


#server 2 configuration
<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.MessageDispatch15Interceptor"/>
 
          <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}"/>  
        
          </Interceptor>  
       
        </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"/> 
<Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer"
                    tempDir="/tmp/war-temp/"
                    deployDir="/tmp/war-deploy/"
                    watchDir="/tmp/war-listen/"
                    watchEnabled="false"/>
      </Cluster>  

      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>  

      <Host name="localhost" appBase="webapps" unpackWARs="true"
autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> 
      
      </Host> 
-- 
View this message in context: 
http://www.nabble.com/tomcat-6.0.18-static-cluster-confugation-tp20343212p20357611.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