this is what I have in the Properties of my app. I did not put this in the 
framework and this is working beautifully

er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators=1
er.extensions.remoteSynchronizer.enabled=true
er.extensions.remoteSynchronizer=er.jgroups.ERJGroupsSynchronizer

#defaults to jgroups-default.xml in ERJGroupsSynchronizer framework
#er.extensions.jgroupsSynchronizer.properties=apropertyfile.xml

er.extensions.jgroupsSynchronizer.multicastAddress=230.0.0.1

er.extensions.jgroupsSynchronizer.multicastPort=9753

er.extensions.jgroupsSynchronizer.localBindAddress=127.0.0.1

er.extensions.jgroupsSynchronizer.groupName=colorGrid

#defaults to blank (all entities included) so this limits the entities to a 
comma delimited list
er.extensions.remoteSynchronizer.includeEntities=Grid

#defaults to blank (don't exclude any entities)
#er.extensions.remoteSynchronizer.excludeEntities=EntityNames




On Oct 25, 2013, at 10:43 AM, Ken Anderson <[email protected]> wrote:

> Also, if it matters, the properties file is in a shared framework.
> 
> On Oct 25, 2013, at 10:32 AM, Ken Anderson <[email protected]> wrote:
> 
>> All,
>> 
>> I'm having trouble getting this to work - jgroups OR multicast.  In the 
>> (supposed) simplest form, I have this config for both apps:
>> 
>> er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators=1
>> er.extensions.jgroupsSynchronizer.groupName=mycation
>> er.extensions.remoteSynchronizer.enabled=true
>> log4j.logger.er.extensions.remoteSynchronizer.ERXRemoteSynchronizer=DEBUG
>> 
>> The sender seems to be fine:
>> 
>> Oct 25 10:27:37 MycationMaint[7777] INFO  
>> er.extensions.remoteSynchronizer.ERXRemoteSynchronizer  - Multicast instance 
>> 7f000001611e joining.
>> 
>> Oct 25 10:27:52 MycationMaint[7777] DEBUG 
>> er.extensions.remoteSynchronizer.ERXRemoteSynchronizer  - Multicast instance 
>> 7f000001611e: Writing [SnapshotUpdated: _EOIntegralKeyGlobalID[Aspect 
>> (java.lang.Integer)7]]
>> Oct 25 10:27:52 MycationMaint[7777] DEBUG 
>> er.extensions.remoteSynchronizer.ERXRemoteSynchronizer  - Multicast instance 
>> 7f000001611e: Writing [ToManySnapshotChanged: sourceGID = 
>> _EOIntegralKeyGlobalID[Aspect (java.lang.Integer)7]; name = childAspects; 
>> added = 0; removed = 1; removeAll = true]
>> Oct 25 10:27:52 MycationMaint[7777] DEBUG 
>> er.extensions.remoteSynchronizer.ERXRemoteSynchronizer  - Multicast instance 
>> 7f000001611e: Writing [SnapshotInserted: _EOIntegralKeyGlobalID[Transaction 
>> (java.lang.Integer)118]]
>> Oct 25 10:27:52 MycationMaint[7777] DEBUG 
>> er.extensions.remoteSynchronizer.ERXRemoteSynchronizer  - Multicast instance 
>> 7f000001611e: Writing [SnapshotInserted: _EOIntegralKeyGlobalID[Aspect 
>> (java.lang.Integer)9]]
>> Oct 25 10:27:52 MycationMaint[7777] DEBUG 
>> er.extensions.remoteSynchronizer.ERXRemoteSynchronizer  - Multicast instance 
>> 7f000001611e: Writing [SnapshotUpdated: _EOIntegralKeyGlobalID[Transaction 
>> (java.lang.Integer)118]]
>> Oct 25 10:27:52 MycationMaint[7777] DEBUG 
>> er.extensions.remoteSynchronizer.ERXRemoteSynchronizer  - Multicast instance 
>> 7f000001611e: Writing [SnapshotInserted: 
>> _EOIntegralKeyGlobalID[TransactionTouch (java.lang.Integer)175]]
>> Oct 25 10:27:52 MycationMaint[7777] DEBUG 
>> er.extensions.remoteSynchronizer.ERXRemoteSynchronizer  - Multicast instance 
>> 7f000001611e: Writing [SnapshotInserted: 
>> _EOIntegralKeyGlobalID[TransactionTouch (java.lang.Integer)176]]
>> 
>> But I never see anything arrive on the other end, even though I get this:
>> 
>> Oct 25 10:27:34 MycationService[7778] INFO  
>> er.extensions.remoteSynchronizer.ERXRemoteSynchronizer  - Multicast instance 
>> 7f000001621e joining.
>> 
>> 
>> Any suggestions?  It behaves the same with JGroups or multicast…
>> 
>> Thanks,
>> Ken
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
>> 
>> This email sent to [email protected]
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to