Ray,

I changed the subject to pull out of the other thread.

The most elusive thing I found about getting ERJGroupsSynchronizer working is 
this:

-Djava.net.preferIPv4Stack=true

If you don’t set this switch on your JVM, the processes don’t hear each other.  
Also, you need to be on a network where UDP multicast works.  If you’re 
deployed on AWS, I highly recommend this project:

https://github.com/meltmedia/jgroups-aws

It replaces the TCP discovery with a discovery mechanism that uses AWS tags.  
It works!

Ken

On November 19, 2013 at 1:27:10 PM, Ray Kiddy ([email protected]) wrote:


On Oct 14, 2013, at 9:53 AM, Theodore Petrosky <[email protected]> wrote:

> did you check out ERJGroupsSynchronizer? there is a companion video that does 
> a great job explaining it.
>  
>  

If anyone is using ERJGroupsSynchronizer and makes it work, can you give a 
shout. I want to add to the available documentation on this. Did anyone else 
notice that none of the examples use any of this?

I tried to use it and could not get it to work. A bit frustrating. But it seems 
to be one of those technologies where in order to make it work, you need to set 
7 variables and if you set 5, there is no response. If you set 2, no response. 
If you set the wrong 7, no response. So, I could not tell if I was very close 
to making it work, or completely misunderstanding it, since both behave the 
same.

I _was_ able to do what I needed with ERJGroupsNotificationCenter. Because you 
can, it turns out, use remote notifications to implement an object 
synchronization scheme. Kind of lame, though.

thanx - ray


>  
> On Oct 14, 2013, at 11:43 AM, Christoph Wick <[email protected]> wrote:
>  
>> Hi there,
>>  
>> is there a webobjects way to send a message to other instances of my app on 
>> a server running WO monitor?
>>  
>> I have developed a GUI to manage some app preferences. The config is stored 
>> in an XML file on disk. On my production machine, I have multiple instances 
>> running. I want to let them know, if the user has modified the 
>> configuration.  
>>  
>> Thx,
>> C.U.CW
>> --  
>>  
>> Christoph Wick - Diplom Informatiker, Managing Director
>> i4innovation GmbH, Professor-Neu-Allee 39, 53225 Bonn, Germany


_______________________________________________
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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to