Re: ERJGroupsSynchronizer - Failed to configure remote synchronization
Martin B <[email protected]> Mon, 27 May 2013 11:17:26 -0400
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
Great! It seems like the current Wonder Maven configuration (pom.xml) needs to be updated since it's still pointing to 2.4.1:
<dependency>
<groupId>jgroups</groupId>
<artifactId>jgroups-all</artifactId>
<version>2.4.1</version>
</dependency>
I had to exclude the dependency and replace it with 2.6.15.GA in my own project to make it work.
Thank you so much!!
Martin
2013-05-27 10:37:49,123 [JChannel.java:1572] INFO - JGroups version: 2.6.15.GA
---------------------------------------------------------
GMS: address is 192.168.3.144:62774 (cluster=testGroup)
---------------------------------------------------------
2013-05-27 10:37:51,280 [ERXNSLogLog4jBridge.java:47] DEBUG - Waiting for requests...
Subject: Re: [Wonder-disc] ERJGroupsSynchronizer - Failed to configure remote synchronization
From: [email protected]
Date: Mon, 27 May 2013 07:26:28 +1000
CC: [email protected]
To: [email protected]
You need a newer version of JGroups. From memory, it works with 2.6. It looks like you are using 2.4.
Regards,
Peter
On 24/05/2013, at 12:37 AM, Martin B <[email protected]> wrote:
Hi everyone,
I'm trying so setup ERJGroupsSynchronizer in one of my application but cannot figure it out. I'm using the following configuration which seems to be correct, however I'm getting the error below on startup. Anyone can give me a hint?
#ERJGroupsSynchronizerer.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators=1er.extensions.remoteSynchronizer.enabled=trueer.extensions.remoteSynchronizer=er.jgroups.ERJGroupsSynchronizerer.extensions.jgroupsSynchronizer.groupName=testGroup
log4j.logger.er.extensions.remoteSynchronizer.ERXRemoteSynchronizer=DEBUG
Thanks you!!
Martin
ERROR:
2013-05-23 10:23:23,418 [ERXNSLogLog4jBridge.java:44] WARN -
2013-05-23 10:23:23,497 [JChannel.java:1265] INFO - JGroups version: 2.4.1
2013-05-23 10:23:23,626 [UDP.java:220] ERROR - the following properties are not recognized: {oob_thread_pool.enabled=true, thread_pool.enabled=true, thread_pool.rejection_policy=Discard, thread_pool.queue_max_size=10, oob_thread_pool.min_threads=1, oob_thread_pool.keep_alive_time=10000, oob_thread_pool.rejection_policy=Run, thread_naming_pattern=cl, thread_pool.queue_enabled=true, thread_pool.max_threads=25, thread_pool.keep_alive_time=30000, oob_thread_pool.queue_max_size=10, use_concurrent_stack=true, oob_thread_pool.max_threads=4, oob_thread_pool.queue_enabled=true, thread_pool.min_threads=1}
2013-05-23 10:23:23,628 [ERXApplication.java:1418] ERROR - TestApp failed to start.
java.lang.RuntimeException: Failed to configure remote synchronization.
at er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer.initializeRemoteSynchronizer(ERXObjectStoreCoordinatorSynchronizer.java:122)
at er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer.startRemoteSynchronizer(ERXObjectStoreCoordinatorSynchronizer.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:546)
at com.webobjects.appserver.WOApplication.run(WOApplication.java:1239)
at er.extensions.appserver.ERXApplication.run(ERXApplication.java:1414)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:548)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:861)
at com.company.testapp.Application.main(Application.java:43)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at er.extensions.remoteSynchronizer.ERXRemoteSynchronizer.newRemoteSynchronizer(ERXRemoteSynchronizer.java:53)
at er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer.initializeRemoteSynchronizer(ERXObjectStoreCoordinatorSynchronizer.java:117)
... 14 more
Caused by: org.jgroups.ChannelException: unable to setup the protocol stack
at org.jgroups.JChannel.init(JChannel.java:1273)
at org.jgroups.JChannel.<init>(JChannel.java:265)
at org.jgroups.JChannel.<init>(JChannel.java:231)
at er.jgroups.ERJGroupsSynchronizer.<init>(ERJGroupsSynchronizer.java:78)
... 20 more
Caused by: java.lang.Exception: couldn't create protocol stack
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:179)
at org.jgroups.JChannel.init(JChannel.java:1270)
... 23 more
2013-05-23 10:23:23,628 [ERXNSLogLog4jBridge.java:44] WARN - A fatal exception occurred: Failed to configure remote synchronization.
[2013-5-23 10:23:23 EDT] <ProcessChangesQueue> java.lang.RuntimeException: Failed to configure remote synchronization.
at er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer.initializeRemoteSynchronizer(ERXObjectStoreCoordinatorSynchronizer.java:122)
at er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer.startRemoteSynchronizer(ERXObjectStoreCoordinatorSynchronizer.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:546)
at com.webobjects.appserver.WOApplication.run(WOApplication.java:1239)
at er.extensions.appserver.ERXApplication.run(ERXApplication.java:1414)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:548)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:861)
at com.company.testapp.Application.main(Application.java:43)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at er.extensions.remoteSynchronizer.ERXRemoteSynchronizer.newRemoteSynchronizer(ERXRemoteSynchronizer.java:53)
at er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer.initializeRemoteSynchronizer(ERXObjectStoreCoordinatorSynchronizer.java:117)
... 14 more
Caused by: org.jgroups.ChannelException: unable to setup the protocol stack
at org.jgroups.JChannel.init(JChannel.java:1273)
at org.jgroups.JChannel.<init>(JChannel.java:265)
at org.jgroups.JChannel.<init>(JChannel.java:231)
at er.jgroups.ERJGroupsSynchronizer.<init>(ERJGroupsSynchronizer.java:78)
... 20 more
Caused by: java.lang.Exception: couldn't create protocol stack
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:179)
at org.jgroups.JChannel.init(JChannel.java:1270)
... 23 more
APPLICATION SHUTDOWN SEQUENCE COMPLETE
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc