Re: ERJGroupsSynchronizer

2022-03-28 Thread Ricardo Parada via Webobjects-dev
Hello, all, here’s a plain text version of my previous email, in case anybody had trouble reading it. I created this subclass to keep EOF in sync within a single java VM: /** * Keeps EOF in sync within a single java VM. * * Wonder's ProcessChangesQueue seems to takes care of keeping * in sy

Re: ERJGroupsSynchronizer

2022-03-25 Thread Ricardo Parada via Webobjects-dev
By the way, here’s a synchronizer subclass I wrote to keep changes in sync within a single java VM. /** * Keeps EOF in sync within a single java VM. * * Wonder's ProcessChangesQueue seems to takes care of keeping * in sync EOF stacks used in other threads. */ public class LocalSynchroniz

Re: ERJGroupsSynchronizer

2022-03-25 Thread Ricardo Parada via Webobjects-dev
Thank you all for the responses. When we put the ERJGroupsSynchronizer in production we started receiving reports of users not being able to access the application instances or getting kicked out of the application. I do not know if the ERJGroupsSynchronizer is the one to blame. So I think it

Re: ERJGroupsSynchronizer

2022-03-20 Thread Paul Hoadley via Webobjects-dev
Hi Ricardo, On 19 Mar 2022, at 14:25, Ricardo Parada via Webobjects-dev wrote: > Does anybody use ERJGroupsSynchronizer? We've been using it for years now, albeit with some light modifications to allow JGroups to work on AWS (originally via the Meltmedia AWS_PING project, but now via our own

Re: ERJGroupsSynchronizer

2022-03-20 Thread Theodore Petrosky via Webobjects-dev
I’ve used it, and it wasn’t difficult. I just followed the example. Ted > On Mar 18, 2022, at 11:55 PM, Ricardo Parada via Webobjects-dev > wrote: > > Hi everyone, > > Does anybody use ERJGroupsSynchronizer? > > I’m trying to synchronize two EOF stacks within a single VM. I don’t want the >

Re: ERJGroupsSynchronizer update to 3.x

2013-09-18 Thread Ken Anderson
Theodore, I haven't delved too deeply - at the moment it is working, but I only did this very recently. Ken On Sep 18, 2013, at 11:06 AM, Theodore Petrosky wrote: > I see that you just commented out the section on .setDiscardOwnMessages. > should this be set to 'true'? > > do you want to r

Re: ERJGroupsSynchronizer update to 3.x

2013-09-18 Thread Theodore Petrosky
I see that you just commented out the section on .setDiscardOwnMessages. should this be set to 'true'? do you want to receive messages on the sending jchannel? if I read the 2.x docs, _channel.setOpt(Channel.LOCAL, Boolean.FALSE);set the sending channel to NOT receive updates which implie

Re: ERJGroupsSynchronizer update to 3.x

2013-09-18 Thread Ken Anderson
I am… You have to remove a lot from the xml file (deprecated controls basically), and make a few changes to the Java. Here's mine: ERJGroupsNotificationCenter.java Description: Binary data ERJGroupsSynchronizer.java Description: Binary data jgroups-default.xml Description: XML document

Re: ERJGroupsSynchronizer Configuration Question

2013-02-25 Thread Johnny Miller
Hi Johann, Thank you for clarifying that. After I put the two apps on different channels/addresses I saw the error again so that wasn't the problem anyway. It's in a different email thread but I think the child editing context might be as evil as the shared one. I've pulled it from my app and

Re: ERJGroupsSynchronizer Configuration Question

2013-02-23 Thread Johann Werner
Hi Johnny, Am 22.02.2013 um 07:11 schrieb Johnny Miller : > Hi, > > I have two apps running on the same host. Same model. Same db. > > So I have this in both app's properties file: > > ## (Optional) the JGroups group name to use (defaults to > WOApplication.application.name) > er.extensions

Re: ERJGroupsSynchronizer How To - Avoid debug logs

2012-08-20 Thread WebObjects TORAcom
at org.jgroups.JChannel.connect(JChannel.java:365) >>>>at er.jgroups.ERJGroupsSynchronizer.join(ERJGroupsSynchronizer.java:88) >>>>at >>>> er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer.initializeRemoteSynchronizer(ERXObjectStoreCoordina

Re: ERJGroupsSynchronizer How To - Avoid debug logs

2012-08-17 Thread WebObjects TORAcom
jgroups.stack.Configurator.startProtocolStack(Configurator.java:129) >>> at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:410) >>> at org.jgroups.JChannel.startStack(JChannel.java:1552) >>> ... 22 more >>> Caused by: java.net.SocketException: bad

Re: ERJGroupsSynchronizer How To

2012-08-17 Thread WebObjects TORAcom
ava.net.SocketException: bad argument for IP_MULTICAST_IF: >> address not bound to any interface >> at java.net.PlainDatagramSocketImpl.socketSetOption(Native Method) >> at >> java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:309) >>

Re: ERJGroupsSynchronizer How To

2012-08-17 Thread WebObjects TORAcom
to configure remote synchronization. > > > Any hint? > > Miguel Torres. > > > On 17/08/2012, at 06:31, Pascal Robert wrote: > >> Look like I forgot to add that one to the public podcasts feed and the >> screencasts page on wocommunity.org. I'm doing i

Re: ERJGroupsSynchronizer How To

2012-08-17 Thread WebObjects TORAcom
09)" >> >> I just viewed it and it really helps. >> >> Ted >> >> --- On Thu, 8/16/12, Johann Werner wrote: >> >> From: Johann Werner >> Subject: Re: ERJGroupsSynchronizer How To >> To: "WebObjects TORAcom" >> Cc: &q

Re: ERJGroupsSynchronizer How To

2012-08-17 Thread Pascal Robert
elps. > > Ted > > --- On Thu, 8/16/12, Johann Werner wrote: > > From: Johann Werner > Subject: Re: ERJGroupsSynchronizer How To > To: "WebObjects TORAcom" > Cc: "WebObjects Development" > Date: Thursday, August 16, 2012, 3:01 AM > > Hi M

Re: ERJGroupsSynchronizer How To

2012-08-16 Thread WebObjects TORAcom
-- On Thu, 8/16/12, Johann Werner wrote: > > From: Johann Werner > Subject: Re: ERJGroupsSynchronizer How To > To: "WebObjects TORAcom" > Cc: "WebObjects Development" > Date: Thursday, August 16, 2012, 3:01 AM > > Hi Miguel, > > Am 14.08.2012 um 19

Re: ERJGroupsSynchronizer How To

2012-08-16 Thread Theodore Petrosky
Mike S. does a wonderful job in his video: "Project Wonder in Depth (WOWODC West 2009)" I just viewed it and it really helps. Ted --- On Thu, 8/16/12, Johann Werner wrote: From: Johann Werner Subject: Re: ERJGroupsSynchronizer How To To: "WebObjects TORAcom" Cc: "WebO

Re: ERJGroupsSynchronizer How To

2012-08-16 Thread Johann Werner
Hi Miguel, Am 14.08.2012 um 19:13 schrieb WebObjects TORAcom: > 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 foll