Re: [Jgroup-users] TransportConfig- configuration
Brought to you by:
amontresor,
meling
|
From: Hein M. <me...@ac...> - 2004-08-12 15:25:23
|
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="jgroup.relacs.registry.RelacsRegistryLocator"/> <ReplicaManager name="jgroup.arm.ReplicaManagerImpl" correlationDelay="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(NativeMethodAccessorImpl.java:39 > ) > [java] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .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 Media > 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 |