Le 8 juil. 2012 à 08:44, Caleb James DeLisle a écrit :
> The tcp-nio protocol is labeled as experimental so there might be surprises 
> with that as opposed to tcp.

thanks, that had escaped me. I have now moved to TCP.

> The udp protocol depends on multicast which is likely to be broken in real 
> world networks as almost nothing depends on it.
> I observed the pinging of the next higher port in my testing, here in the 
> default tcp.xml it is configured
> to ping 7800 and 7801 
> https://github.com/belaban/JGroups/blob/master/conf/tcp.xml#L45

Ok, now I have something like a working jgroups config.
My two hosts are called dev-current-app and dev-next-app, they are configured 
together with both tcp.xml configured to look for each other.

I can see the following in my logs after a document save (I save an xwiki 
object):

[#|2012-07-18T08:56:02.726-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=24;_ThreadName=http://current.dev.curriki.org/xwiki/bin/view/CurrikiCode/AssetSaveService;|2012-07-18
 08:56:02,725 
[http://current.dev.curriki.org/xwiki/bin/view/CurrikiCode/AssetSaveService] 
DEBUG .o.r.i.j.JGroupsNetworkAdapter - Send JGroups remote event [event: 
[org.xwiki.bridge.event.DocumentUpdatedEvent@5b91ebe], source: 
[{origdoclanguage=, origdocversion=11.1, docversion=12.1, doclanguage=, 
docname=name = [testohtest_0], type = [DOCUMENT], parent = [name = [Coll_polx], 
type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]}], 
data: [{contextuser=XWiki.polx, contextwiki=xwiki}]] 

[#|2012-07-18T08:56:02.604-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=37;_ThreadName=Incoming-3,event,dev-next-app-26832;|2012-07-18
 08:56:02,604 [Incoming-3,event,dev-next-app-26832] DEBUG 
o.r.i.j.DefaultJGroupsReceiver - Received JGroups remote event [event: 
[org.xwiki.bridge.event.DocumentUpdatedEvent@5b91ebe], source: 
[{origdocversion=11.1, origdoclanguage=, docversion=12.1, doclanguage=, 
docname=name = [testohtest_0], type = [DOCUMENT], parent = [name = [Coll_polx], 
type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]}], 
data: [{contextwiki=xwiki, contextuser=XWiki.polx}]] 

and I see no exception reported (and a zillion "pings").

nonetheless, the change i made on current-dev only comes to next-dev if I flush 
cache which, we agree, is not the solution.

Where else could I look for a bug?

thanks in advance.

Paul

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to