Problem solved with classpath :
I don't really know why but I have a call to jgroups-2.6.8.jar locally and jgroups-all.jar on the server. Entirely my fault, but I think that this change of name is a little bit strange..

Thanks for your help
Cedric

Le 10 août 09 à 14:37, Mike Schrag a écrit :

NoClassDefFound means your classpath is messed up ... most likely the ERJGroup framework isn't deployed.

On Aug 10, 2009, at 6:09 AM, WebObjects - Anazys wrote:

Hello everybody,

I have a strange problem with JGroups:
All works fine locally. When I deploy my app, I have a crash just after launch : Failed to configure remote synchronization, caused by a NoClassDefFoundError: org/jgroups/Receiver The properties files is ok : I deploy many others app with the same configuration :
-----------------
er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators=10
er.extensions.remoteSynchronizer.enabled=true
er.extensions.remoteSynchronizer=er.jgroups.ERJGroupsSynchronizer
er.extensions.jgroupsSynchronizer.groupName=quickTrvGroup
-----------------

I check the classpath on the server, all is ok.
Bundle version for JGroups : 5.0.0.9537
WO 5.3

If anyone has an idea...
Thanks
Cedric

The stack trace :

-----------------
Installed NSProjectSearchPath fix
Aug 10 11:49:34 quickTravauxBO[2018] INFO NSLog - Welcome to quickTravauxBO !
Aug 10 11:49:34 quickTravauxBO[2018] WARN  NSLog  -

Aug 10 11:49:34 quickTravauxBO[2018] ERROR er.extensions.appserver.ERXApplication - quickTravauxBO failed to start.
RuntimeException: Failed to configure remote synchronization.
at er .extensions .eof .ERXObjectStoreCoordinatorSynchronizer .initializeRemoteSynchronizer (ERXObjectStoreCoordinatorSynchronizer.java:120) at er .extensions .eof .ERXObjectStoreCoordinatorSynchronizer .startRemoteSynchronizer(ERXObjectStoreCoordinatorSynchronizer.java: 126)
   ... skipped 6 stack elements
at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java:545) at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java:559)
at com.webobjects.appserver.WOApplication.run(WOApplication.java:895)
at er.extensions.appserver.ERXApplication.run(ERXApplication.java: 1051) at com.webobjects.appserver.WOApplication.main(WOApplication.java: 324) at er.extensions.appserver.ERXApplication.main(ERXApplication.java: 593)
at Application.main(Application.java:37)
   ... skipped 4 stack elements
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:87)
Caused by a NoClassDefFoundError: org/jgroups/Receiver
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:164)
at er .extensions .remoteSynchronizer .ERXRemoteSynchronizer .newRemoteSynchronizer(ERXRemoteSynchronizer.java:50) at er .extensions .eof .ERXObjectStoreCoordinatorSynchronizer .initializeRemoteSynchronizer (ERXObjectStoreCoordinatorSynchronizer.java:1$ at er .extensions .eof .ERXObjectStoreCoordinatorSynchronizer .startRemoteSynchronizer(ERXObjectStoreCoordinatorSynchronizer.java: 126)
     ... skipped 6 stack elements
at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java:545) at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java:559) at com.webobjects.appserver.WOApplication.run(WOApplication.java: 895) at er.extensions.appserver.ERXApplication.run(ERXApplication.java: 1051) at com.webobjects.appserver.WOApplication.main(WOApplication.java: 324) at er.extensions.appserver.ERXApplication.main(ERXApplication.java:593)
  at Application.main(Application.java:37)
     ... skipped 4 stack elements
  at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:87)
Aug 10 11:49:34 quickTravauxBO[2018] WARN NSLog - A fatal exception occurred: Failed to configure remote synchronization.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to