[jbosscache-users] Issue with JBC on Tomcat 5.5

Brian Stansberry brian.stansberry at redhat.com
Tue Nov 13 09:52:04 EST 2007


Manik Surtani wrote:
> 
> On 13 Nov 2007, at 10:30, Mamta, Jain wrote:
> 
>> Hi Manik,
>>  
>> Thanks for your reply.
>> Yes, the tomcat clustering is enabled and works fine. Does tomcat also 
>> use JGroups ?
> 
> Yes, although potentially not the same version as shipped with JBoss Cache.
> 

Just a clarification -- Tomcat clustering does not use JGroups.  If does 
use multicast though, and as Manik said if you try to configure the same 
multicast address and port for both it and JBoss Cache's channel, it 
won't work.

>>  
>> The tomcat's clustering is on say 228.8.8.8 and port 4554. What I have 
>> done is, configured replSync-service.xml that comes with JBossCache 
>> and pointed the UDP/mcastaddr  to the same addr and port as in Tomcat. 
>> Is there something wrong here ? What I have udnerstood from the 
>> documetns of JBossCAche is that, it leverages on JGroups which is 
>> capable of discovering an existing multicast group, in that case is'nt 
>> this configuration enough ? If the answer is no then what is the role 
>> of replSync-service.xml ? Is there a separate xml that is to be 
>> configured for automatic discovery ? Or the mping.xml found in 
>> jgroups.jar has to be modified ?
> 
> Just use a different multicast address and port.  Tomcat will barf (as 
> it as) if it sees JBoss Cache discovery and replication traffic.
> 
> Cheers,
> Manik
> 
> --
> Manik Surtani
> Lead, JBoss Cache
> manik at jboss.org <mailto:manik at jboss.org>
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> jbosscache-users mailing list
> jbosscache-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-users

-- 
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry at redhat.com



More information about the jbosscache-users mailing list