[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
EhCache replication by jgroups not working in JBoss EAP 6.2  XML
Forum Index -> Ehcache
Author Message
sathyam

neo

Joined: 07/03/2014 11:38:19
Messages: 2
Offline

Hi,
We are using the EhCache for caching mechansm in our application. We are using Spring Cache framework with EhCache and the application is deployed in JBoss EAP 6.2 server. The jboss servers are clustered in doman mode in two separate linux nodes under same subnet. We are trying to replicate the cache using jgroups.

Caching works properly on each of the server but the replication is not happening. ie, if we put an serialised object in one cache server , its not replicated in other cache server. We tried running the jgroups demo program to test the connectivity using multicast , its working fine without any issues. Means multicast is enabled on both the server nodes.

The caching logs one each server states it has only one member (self) in the cluster group.

Attached the configuration files for reference. Please let us know if anything wrong in the configuration.
 Filename ehcache.xml [Disk] Download
 Description EhCache config file
 Filesize 2 Kbytes
 Downloaded:  223 time(s)

 Filename jgroups-udp.xml [Disk] Download
 Description jgroups udp config file
 Filesize 3 Kbytes
 Downloaded:  181 time(s)

sathyam

neo

Joined: 07/03/2014 11:38:19
Messages: 2
Offline

Tried with TCP, but same issue - replcation not happening. Attached the TCP configuration for jgroups.
 Filename jgroups-tcp.xml [Disk] Download
 Description tcp configuration file
 Filesize 2 Kbytes
 Downloaded:  189 time(s)

 
Forum Index -> Ehcache
Go to:   
Powered by JForum 2.1.7 © JForum Team