• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ERJGroupsSynchronizer How To
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERJGroupsSynchronizer How To


  • Subject: ERJGroupsSynchronizer How To
  • From: WebObjects TORAcom <email@hidden>
  • Date: Tue, 14 Aug 2012 12:13:29 -0500

Hi List,

I am new to ERJGroupsSynchronizer. I want to synchronize Enterprise Objects between Application's instances. 
I found the following info:

http://web.archiveorange.com/archive/v/VpmAs9yFWUtMJyEvmKXQ

I followed those instructions and added this to my Properties file:


### 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.

¿Am I missing something?

¿Is there a tutorial of how to use ERJGroupsSynchronizer?

Thanks in advance.

Miguel Torres.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERJGroupsSynchronizer How To
      • From: Johann Werner <email@hidden>
  • Prev by Date: useDaylightTime() ??
  • Next by Date: Guidance on how to create a framework for the application models
  • Previous by thread: Re: useDaylightTime() ??
  • Next by thread: Re: ERJGroupsSynchronizer How To
  • Index(es):
    • Date
    • Thread