Hide Forgot
project_key: JBEPP Clustering is not working when buddy replication is enabled. Cause of the error seems to be in bad packaging. JGroups and JBoss cache libraries should not be under server/all/deploy/gatein.ear/lib because they are already under server/all/lib . To simulate issue, you can do this: 1) Enable buddy replication in $EPP_HOME/server/all/deploy/cluster/jboss-cache-manager.sar/META-INF/jboss-cache-manager-jboss-beans.xml for "standard-session-cache" 2) Start EPP 5.2 DEV01 with command: ./run.sh -c all Now you will see error in server log : 07:47:32,491 WARN [BuddyManager] Caught exception instantiating buddy locator java.lang.RuntimeException: Unable to initialize AddressLocator at org.jboss.cache.buddyreplication.JGroups28AddressLocator.<init>(JGroups28AddressLocator.java:27) at org.jboss.cache.buddyreplication.NextMemberBuddyLocator.init(NextMemberBuddyLocator.java:92) at org.jboss.cache.buddyreplication.BuddyManager.createBuddyLocator(BuddyManager.java:224) at org.jboss.cache.buddyreplication.BuddyManager.setupInternals(BuddyManager.java:184) at org.jboss.cache.buddyreplication.BuddyManager.init(BuddyManager.java:272) ........... Caused by: java.lang.NoSuchFieldException: GET_PHYSICAL_ADDRESS at java.lang.Class.getField(Class.java:1520) at org.jboss.cache.buddyreplication.JGroups28AddressLocator.<init>(JGroups28AddressLocator.java:24) ... 93 more It's possible to fix this issue by deleting files from server/all/deploy/gatein.ear/lib : jgroups-2.11.1-Final.jar jgroups-2.6.13.GA.jar jbosscache-core-3.2.7.GA.jar hibernate-jbosscache2-3.3.2.GA.jar Maybe also other libs should be deleted. For example, I am not sure about infinispan libs. AFAIK infinispan can be used with eXo JCR but we are still using JBoss cache with JCR, so infinispan is probably not required. And it's not part of EPP 5.1.1 .
Release Notes Docs Status: Added: Not Required