inline
killbulle wrote:
Hi filip,
herre is a more detailled post(sorry for the first one)
i have few problem in fact
i cannot see the jmx cluster Mbean but the valve replication valve is here ,
there is no formal jmx mbean for the cluster yet
is this normal ?
the FarmDeployer doesn't work(still experimetal in tomcat 6)
farm deployer was working in 5.0, broke in 5.5 and never fixed in 6.
the idea behind a farm deployer can easily be accomplished in many other
ways
Regards Marc
here my server log
jvm 1 | 6 nov. 2008 12:13:34
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 12:13:34
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 12:13:34 org.apache.coyote.http11.Http11Protocol init
jvm 1 | INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
jvm 1 | 6 nov. 2008 12:13:34 org.apache.catalina.startup.Catalina load
jvm 1 | INFO: Initialization processed in 1545 ms
jvm 1 | 6 nov. 2008 12:13:34 org.apache.catalina.core.StandardService
start
jvm 1 | INFO: D�marrage du service Catalina
jvm 1 | 6 nov. 2008 12:13:34 org.apache.catalina.core.StandardEngine
start
jvm 1 | INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
jvm 1 | 6 nov. 2008 12:13:34 org.apache.catalina.ha.tcp.SimpleTcpCluster
start
jvm 1 | INFO: Cluster is about to start
jvm 1 | 6 nov. 2008 12:13:34
org.apache.catalina.tribes.transport.ReceiverBase bind
jvm 1 | INFO: Receiver Server Socket bound to:/10.154.0.166:4000
jvm 1 | 6 nov. 2008 12:13:34
org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
jvm 1 | INFO: Setting cluster mcast soTimeout to 500
jvm 1 | 6 nov. 2008 12:13:34
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 12:13:35
org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
jvm 1 | INFO: Done sleeping, membership established, start level:4
jvm 1 | 6 nov. 2008 12:13:35
org.apache.catalina.ha.deploy.FarmWarDeployer start
jvm 1 | GRAVE: FarmWarDeployer can only work as host cluster subelement!
jvm 1 | 6 nov. 2008 12:13:37
org.apache.catalina.ha.session.JvmRouteBinderValve start
jvm 1 | INFO: JvmRouteBinderValve started
jvm 1 | 6 nov. 2008 12:13:37 org.apache.coyote.http11.Http11Protocol
start
jvm 1 | INFO: D�marrage de Coyote HTTP/1.1 sur http-8080
jvm 1 | 6 nov. 2008 12:13:37 org.apache.jk.common.ChannelSocket init
jvm 1 | INFO: JK: ajp13 listening on /0.0.0.0:8010
jvm 1 | 6 nov. 2008 12:13:37 org.apache.jk.server.JkMain start
jvm 1 | INFO: Jk running ID=0 time=0/154 config=null
jvm 1 | 6 nov. 2008 12:13:37 org.apache.catalina.startup.Catalina start
jvm 1 | INFO: Server startup in 3432 ms
jvm 1 | 6 nov. 2008 12:13:55 org.apache.catalina.tribes.io.BufferPool
getBufferPool
jvm 1 | INFO: Created a buffer pool with max size:104857600 bytes of
type:org.apache.catalina.tribes.io.BufferPool15Impl
jvm 1 | 6 nov. 2008 12:13:55
org.apache.catalina.tribes.group.interceptors.TcpFailureDetector
performBasicCheck
jvm 1 | ATTENTION: Member added, even though we werent
notified:org.apache.catalina.tribes.membership.MemberImpl[tcp://10.154.0.167:4000,10.154.0.167,4000,
alive=0,id={0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 }, payload={}, command={},
domain={}, ]
jvm 1 | 6 nov. 2008 12:13:55 org.apache.catalina.ha.tcp.SimpleTcpCluster
memberAdded
jvm 1 | INFO: Replication member
added:org.apache.catalina.tribes.membership.MemberImpl[tcp://10.154.0.167:4000,10.154.0.167,4000,
alive=0,id={0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 }, payload={}, command={},
domain={}, ]
jvm 1 | 6 nov. 2008 12:14:00
org.apache.catalina.ha.session.ClusterSessionListener messageReceived
jvm 1 | ATTENTION: Context manager doesn't
exist:localhost#/jmx.browser-1.2.0
#server1 cinf
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="10.154.0.166" autoBind="0"
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"
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>
#server2 conf
<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="10.154.0.167" autoBind="0"
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>
</Engine>
</Service>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]