I am new to ERJGroupsSynchronizer. I want to synchronize Enterprise Objects between Application's instances.
### Basic setup:
#########################################################################
# ERX Remote Synchronizer
#########################################################################
## To use remote EOF synchronization, you must turn on the
## ERXObjectStoreCoordinatorPool. Just setting it to 1 is enough to
## allow things to work.
er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators=1
## Enables remote synchronization (required in addition to ERXObjectStoreCoordinatorPool).
er.extensions.remoteSynchronizer.enabled=true
#########################################################################
# ERJGroupsSynchronizer
# This synchronizer is based on the JGroups clustering framework, which
# is the clustering framework used inside of JBoss (among many other
# applications). You must include the ERJGroupsSynchronizer framework
# in your application for this to work properly.
#########################################################################
er.extensions.remoteSynchronizer=er.jgroups.ERJGroupsSynchronizer
### The above is enough to get things going. Advanced Setup:
### AFAIK this didn't make a difference on OS X last time I checked, but it matters on e.g. Linux
## (Optional) the multicast address to use (defaults to 230.0.0.1, and only necessary if you are using multicast)
er.extensions.jgroupsSynchronizer.multicastAddress=230.0.0.1
### Change this to some unused port for the group when you get "Discarded packet from..." messages in the logs
## (Optional) the multicast port to use (defaults to 9753, and only necessaryif you are using multicast)
er.extensions.jgroupsSynchronizer.multicastPort=9753
### Limit to localhost when deploying all instances on the same server
## (Optional) The local bind address defines the network interface that will be used
## to transmit and receive multicast messages. If not set, multicast synchronizer
## will use WOApplication.application().hostAddress(). If you want to run outside
## of a WOApplication, you should set this value explicitly.
er.extensions.jgroupsSynchronizer.localBindAddress=127.0.0.1
### Set this if you have differently named apps that use the same Model&DB (e.g. MyFrontend.woa and MyBackend.woa)
## (Optional) the JGroups group name to use (defaults to WOApplication.application.name)
#er.extensions.jgroupsSynchronizer.groupName=SomeGroupName
## (Optional) A comma separated list of entities to multicast synchronize. The
## default is to not set this, which translates into "include all entities".
#er.extensions.remoteSynchronizer.includeEntities=
## (Optional) A comma separated list of entities to NOT multicast synchronize. The
## default is to not set this, which translates into "exclude no entities".
#er.extensions.remoteSynchronizer.excludeEntities=
I am not sure what multicast means and also I don't know if I should create some class to catch the changes of the enterprise objects.
I just configured my Properties and deployed a test application but my tests didn't work.
Thanks in advance.
Miguel Torres.