tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Trouble with cluster and JMX
Date Thu, 12 Feb 2009 01:45:47 GMT
sure turn on

org.apache.catalina.ha.level = FINE
org.apache.catalina.tribes.level = FINE

in logging.properties

however, regular membership discovery over multicast show up even 
without these entries

did you mark your webapp <distributable/>

Filip

Eric B. wrote:
> "Filip Hanik - Dev Lists" <devlists@hanik.com> wrote in message 
> news:499242DE.2090508@hanik.com...
>   
>> log looks good, the warning could be that you are using an old 
>> configuration option
>> take a look at
>>
>> http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html
>>
>> also, what could mean that it doesn't work, would be that multicast is not 
>> working for you, and you need to enable multicast.
>>     
>
> I've ensured that multicast is enabled.  I've added the multicast route to 
> the routing tables.  I've even checked my multicast route between 2 machines 
> by pinging 224.0.0.1 and getting replies from both machines.   However, I 
> still don't see any of the cluster beans in jConsole.  Any ideas?
>
>   
>> you can also set up static members,
>> http://tomcat.markmail.org/search/?q=cluster%20static%20member#query:cluster%20static%20member%20list%3Aorg.apache.tomcat.users%20date%3A200707-200902%20from%3A%22SANCHEZ%2C%20Michel%22+page:1+mid:slqnel56c2lougo3+state:results
>>     
>
> Thanks, but I would prefer having auto-detection if possible.  Right now, 
> I'm trying to figure out how to log / debug the information to ensure that 
> everything is being sent, however, like I said, I don't even see the beans 
> exposed in jConsole MBeans anywhere.  Is there any other way to enable 
> logging of the cluster?
>
> Thanks!
>
> Eric
>
>
> Using CATALINA_BASE:   /opt/tomcat6
> Using CATALINA_HOME:   /opt/tomcat6
> Using CATALINA_TMPDIR: /opt/tomcat6/temp
> Using JRE_HOME:       /usr/java/jre1.6.0_11
> Feb 11, 2009 10:25:06 AM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Feb 11, 2009 10:25:06 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 549 ms
> Feb 11, 2009 10:25:06 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Feb 11, 2009 10:25:06 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
> Feb 11, 2009 10:25:06 AM org.apache.catalina.ha.tcp.SimpleTcpCluster start
> INFO: Cluster is about to start
> Feb 11, 2009 10:25:06 AM org.apache.catalina.tribes.transport.ReceiverBase 
> bind
> INFO: Receiver Server Socket bound to:/208.85.114.235:4000
> Feb 11, 2009 10:25:06 AM 
> org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
> INFO: Setting cluster mcast soTimeout to 500
> Feb 11, 2009 10:25:06 AM 
> org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
> INFO: Sleeping for 1000 milliseconds to establish cluster membership, start 
> level:4
> Feb 11, 2009 10:25:06 AM org.apache.catalina.ha.tcp.SimpleTcpCluster 
> memberAdded
> INFO: Replication member 
> added:org.apache.catalina.tribes.membership.MemberImpl[tcp://{-48, 85, 
> 114, -22}:4000,{-48, 85, 114, -22},4000, alive=66125434,id={-6 13 31 84 -113 
> 28 73 39 -74 -91 122 -127 80 3 -54 -93 }, payload={}, command={}, 
> domain={}, ]
> Feb 11, 2009 10:25:07 AM 
> org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
> INFO: Done sleeping, membership established, start level:4
> Feb 11, 2009 10:25:07 AM 
> org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
> INFO: Sleeping for 1000 milliseconds to establish cluster membership, start 
> level:8
> Feb 11, 2009 10:25:07 AM org.apache.catalina.tribes.io.BufferPool 
> getBufferPool
> INFO: Created a buffer pool with max size:104857600 bytes of 
> type:org.apache.catalina.tribes.io.BufferPool15Impl
> Feb 11, 2009 10:25:08 AM 
> org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
> INFO: Done sleeping, membership established, start level:8
> Feb 11, 2009 10:25:19 AM org.apache.catalina.ha.session.JvmRouteBinderValve 
> start
> INFO: JvmRouteBinderValve started
> Feb 11, 2009 10:25:19 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Feb 11, 2009 10:25:19 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Feb 11, 2009 10:25:20 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/36  config=null
> Feb 11, 2009 10:25:20 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 13590 ms 
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@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