AW: [Jgroup-users] TransportConfig- configuration
Brought to you by:
amontresor,
meling
|
From: Marvin B. <mb...@sp...> - 2004-08-13 07:59:19
|
nice... adding this line solved the problem :o) : <Transport payload=3D"1024" maxTTL=3D"10" TTLWarning=3D"5"/> thank you for your help... i think that was the first time, but not the last that i have to reciproc= ate you :D so long... marvin > -----Urspr=FCngliche Nachricht----- > Von: Hein Meling [mailto:me...@ac...] > Gesendet: Donnerstag, 12. August 2004 17:25 > An: Marvin Brach > Cc: jgr...@li... > Betreff: Re: [Jgroup-users] TransportConfig- configuration > > > There is a bug in the sample-config.xml file; it is missing some > required tags. Look at the sie5025-config.xml file to find an example > of these tags; you must at least have the <Transport/> tag. I cannot > recall exactly if you also need: > > <DependableRegistry > locator=3D"jgroup.relacs.registry.RelacsRegistryLocator"/> > > <ReplicaManager name=3D"jgroup.arm.ReplicaManagerImpl" > correlationDelay=3D"5000"/> > > In any case, these are no longer needed in the new format being used in > the cvs version of Jgroup. However, the cvs version has now some minor > depenencies on JDK 1.5, which is currently in beta2. > > Best regards, > > Hein > > On Thu, 2004-08-12 at 16:45, Marvin Brach wrote: > > Hi list, > > i've tried to run the helloserver-example. but when i start the > registry i > > get this exception: > > > > [java] java.lang.NullPointerException: No configuration > data available > > for class jgroup.relacs.config.TransportConfig > > [java] at > > jgroup.relacs.config.ConfigParser.getConfig(ConfigParser.java:160) > > [java] at > jgroup.core.ConfigManager.getConfig(ConfigManager.java:200) > > [java] at > > jgroup.relacs.gm.DispatcherLayer.<init>(DispatcherLayer.java:98) > > [java] at > > jgroup.relacs.gm.DispatcherLayer.getLayer(DispatcherLayer.java:112) > > [java] at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > [java] at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm > pl.java:39 > > ) > > [java] at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc > cessorImpl > > .java:25) > > [java] at java.lang.reflect.Method.invoke(Method.java:324) > > [java] at > > jgroup.relacs.config.LayerInfo.getLayerObject(LayerInfo.java:202) > > [java] at > > jgroup.core.GroupManager.getGroupManager(GroupManager.java:234) > > [java] at > > jgroup.core.GroupManager.getGroupManager(GroupManager.java:168) > > [java] at > > jgroup.relacs.registry.RegistryImpl.initLayers(RegistryImpl.java:307) > > [java] at > > jgroup.relacs.registry.RegistryImpl.<init>(RegistryImpl.java:83) > > [java] at > > jgroup.relacs.registry.RegistryImpl.main(RegistryImpl.java:137) > > [java] Failed to start the dependable registry > > [java] jgroup.core.JgroupException: Jgroup exception: > > [java] Constructing class jgroup.relacs.gm.DispatcherLayer > has thrown > > an exception: > > [java] java.lang.NullPointerException: No configuration > data available > > for class jgroup.relacs.config.TransportConfig > > [java] at > > jgroup.relacs.config.LayerInfo.getLayerObject(LayerInfo.java:208) > > [java] at > > jgroup.core.GroupManager.getGroupManager(GroupManager.java:234) > > [java] at > > jgroup.core.GroupManager.getGroupManager(GroupManager.java:168) > > [java] at > > jgroup.relacs.registry.RegistryImpl.initLayers(RegistryImpl.java:307) > > [java] at > > jgroup.relacs.registry.RegistryImpl.<init>(RegistryImpl.java:83) > > [java] at > > jgroup.relacs.registry.RegistryImpl.main(RegistryImpl.java:137) > > > > i think you're knowing why this happens and how i can solve this :o) > > thank you for any response... > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Medi= a > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Jgroup-users mailing list > > Jgr...@li... > > https://lists.sourceforge.net/lists/listinfo/jgroup-users > |