Re: [Jgroup-users] more informations (registry locator error)
Brought to you by:
amontresor,
meling
|
From: Rohnny M. <rm...@gm...> - 2006-01-23 21:59:59
|
Hi, Hmm. I'm not sure if jgroup will work at all without a domain name, a= s far as I know it has never been tested. You are using jgroup 2.0 is t= hat right? About the InvalidClassException. Looking at the code for jgroup 2.0, jgroup.relacs.registry.MergingData uses serialization, but, no serialVersionUID is specified. So, this need to be specified to avoid the InvalidClassException, else the uid can be changed after compilat= ion. Ps. A new 3.0 release of Jgroup where this is fixed will (hopefully) soon be rolled out. Regards, -- Rohnny On 01/23/2006 10:11 PM, boussada redouane wrote: > ok;thank you for yur interest. >=20 > i have my own network at home whith two pc, i have not a domain but= simply a=20 > workgroup. >=20 > my config.xml file is like this : >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > <?xml version=3D"1.0" encoding=3D"us-ascii"?> > <!DOCTYPE Configuration SYSTEM "config.dtd"> >=20 > <Configuration version=3D"1.0"> >=20 > <BootstrapRegistry port=3D"1200"/> > <Services url=3D"file:config///services.xml"/> > <Applications url=3D"file:config///applications.xml"/> > <Transport payload=3D"1024" maxTTL=3D"10" TTLWarning=3D"5"/> >=20 > <DistributedSystem> > <Domain name=3D"-" address=3D"226.1.2.2"> >=20 > <Host name=3D"hightekh"/> > <Host name=3D"redouane"/> > </Domain> >=20 >=20 > </DistributedSystem> >=20 > </Configuration> >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > redouane and hightekh are pc's names. >=20 > i have seen a line in the config.dtd whitch is : >=20 > <!ATTLIST DependableRegistry locator CDATA=20 > "jgroup.relacs.registry.RelacsRegistryLocator"> >=20 > but i can't say any thing about. >=20 > my dregistry is like this: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > dregistry: > [java] localhost: hightekh/192.168.0.8 > [java] DEBUG: - New View ------------------------ > [java] DEBUG: [[192.168.0.8:28771], 1138047971, 1] > [java] DEBUG: ----------------------------------- > [java] INFO : Dependable registry ready... >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > when i start a second instance of dregistr localy ( at hightekh too= ) : >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > dregistry: > [java] localhost: hightekh/192.168.0.8 > [java] DEBUG: - New View ------------------------ > [java] DEBUG: [[192.168.0.8:28771], 1138048105, 2] > [java] DEBUG: [[192.168.0.8:28771], 1138048105, 1] > [java] DEBUG: ----------------------------------- > [java] INFO : Dependable registry ready... > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > but i note that when i start the registry simultanously at the othe= r site (ie :=20 > redouane) i have this error: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > dregistry: > [java] localhost: hightekh/192.168.0.8 > [java] DEBUG: - New View ------------------------ > [java] DEBUG: [[192.168.0.8:28771], 1138049297, 1] > [java] DEBUG: ----------------------------------- > [java] INFO : Dependable registry ready... > [java] DEBUG: - New View ------------------------ > [java] DEBUG: [[192.168.0.8:28771], 1138049297, 1] > [java] DEBUG: [[192.168.0.11:28771], 1009843826, 1] > [java] DEBUG: ----------------------------------- > [java] WARN : MergingLayer: Unable to unmarshal stream message > [java] java.io.InvalidClassException: jgroup.relacs.registry.M= ergingData;=20 > local class incompatible: stream classdesc serialVersionUID =3D -32= 16043980643 > 626103, local class serialVersionUID =3D 9121582667934027169 > [java] at=20 > java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463) > [java] at=20 > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1= 521) > [java] at=20 > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435= ) > [java] at=20 > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java= :1626) > [java] at=20 > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > [java] at java.io.ObjectInputStream.readObject(ObjectInput= Stream.java:324) > [java] at=20 > jgroup.relacs.gm.MergingLayer.deliverStream(MergingLayer.java:411) > [java] at=20 > jgroup.relacs.gm.BaseLayer.handleDeliveryEvent(BaseLayer.java:509) > [java] at jgroup.relacs.gm.BaseLayer.notifyEvent(BaseLayer= .java:445) > [java] at=20 > jgroup.relacs.gm.DispatcherLayer.dispatch(DispatcherLayer.java:232) > [java] at jgroup.relacs.gm.DispatcherLayer.run(DispatcherL= ayer.java:269) > [java] at java.lang.Thread.run(Thread.java:534) >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > thank yo very much. >=20 >=20 > -------------------------------------------------------------------= ------------- > Partagez une seule photo ou un diaporama complet directement depuis= votre=20 > courriel avec MSN Premium: <http://g.msn.com/8HMBFRCA/2728??PS=3D47= 575> Adh=E9rez=20 > maintenant et obtenez les deux premiers mois=20 > GRATUITS*------------------------------------------------------- Th= is SF.net=20 > email is sponsored by: Splunk Inc. Do you grep through log files fo= r problems?=20 > Stop! Download the new AJAX search engine that makes searching your= log files as=20 > easy as surfing the web. DOWNLOAD SPLUNK!=20 > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486= &dat=3D121642=20 > _______________________________________________ Jgroup-users mailin= g list=20 > Jgr...@li...=20 > https://lists.sourceforge.net/lists/listinfo/jgroup-users |