Skip to main content

SEVERE: Missing peer group service

3 replies [Last post]
paata
Offline
Joined: 2007-01-11
Points: 0

hi all,
i am newbie on this framework,
when i tried to run any sample from framework's tutorial i got this error:

<br />
Apr 28, 2007 2:37:36 AM net.jxta.impl.peergroup.StdPeerGroup initFirst<br />
SEVERE: Missing peer group service<br />
net.jxta.exception.ServiceNotFoundException: Not found: urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000805<br />
	at net.jxta.impl.peergroup.GenericPeerGroup.lookupService(GenericPeerGroup.java:482)<br />
	at net.jxta.impl.peergroup.GenericPeerGroup.checkServices(GenericPeerGroup.java:524)<br />
	at net.jxta.impl.peergroup.StdPeerGroup.initFirst(StdPeerGroup.java:731)<br />
	at net.jxta.impl.peergroup.Platform.initFirst(Platform.java:188)<br />
	at net.jxta.impl.peergroup.GenericPeerGroup.init(GenericPeerGroup.java:839)<br />
	at net.jxta.peergroup.WorldPeerGroupFactory.newWorldPeerGroup(WorldPeerGroupFactory.java:306)<br />
	at net.jxta.peergroup.WorldPeerGroupFactory.(WorldPeerGroupFactory.java:175)<br />
	at net.jxta.peergroup.NetPeerGroupFactory.(NetPeerGroupFactory.java:189)<br />
	at net.jxta.platform.NetworkManager.startNetwork(NetworkManager.java:362)<br />
	at Discovery.DiscoveryServer.(DiscoveryServer.java:90)<br />
	at Discovery.DiscoveryServer.main(DiscoveryServer.java:107)<br />
Apr 28, 2007 2:37:36 AM net.jxta.peergroup.WorldPeerGroupFactory newWorldPeerGroup<br />
SEVERE: World Peer Group could not be instantiated.<br />
net.jxta.exception.PeerGroupException: Missing peer group service<br />
	at net.jxta.impl.peergroup.StdPeerGroup.initFirst(StdPeerGroup.java:734)<br />
	at net.jxta.impl.peergroup.Platform.initFirst(Platform.java:188)<br />
	at net.jxta.impl.peergroup.GenericPeerGroup.init(GenericPeerGroup.java:839)<br />
	at net.jxta.peergroup.WorldPeerGroupFactory.newWorldPeerGroup(WorldPeerGroupFactory.java:306)<br />
	at net.jxta.peergroup.WorldPeerGroupFactory.(WorldPeerGroupFactory.java:175)<br />
	at net.jxta.peergroup.NetPeerGroupFactory.(NetPeerGroupFactory.java:189)<br />
	at net.jxta.platform.NetworkManager.startNetwork(NetworkManager.java:362)<br />
	at Discovery.DiscoveryServer.(DiscoveryServer.java:90)<br />
	at Discovery.DiscoveryServer.main(DiscoveryServer.java:107)<br />
Caused by: net.jxta.exception.ServiceNotFoundException: Not found: urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000805<br />
	at net.jxta.impl.peergroup.GenericPeerGroup.lookupService(GenericPeerGroup.java:482)<br />
	at net.jxta.impl.peergroup.GenericPeerGroup.checkServices(GenericPeerGroup.java:524)<br />
	at net.jxta.impl.peergroup.StdPeerGroup.initFirst(StdPeerGroup.java:731)<br />
	... 8 more<br />
net.jxta.exception.PeerGroupException: World Peer Group could not be instantiated.<br />
	at net.jxta.peergroup.WorldPeerGroupFactory.newWorldPeerGroup(WorldPeerGroupFactory.java:333)<br />
	at net.jxta.peergroup.WorldPeerGroupFactory.(WorldPeerGroupFactory.java:175)<br />
	at net.jxta.peergroup.NetPeerGroupFactory.(NetPeerGroupFactory.java:189)<br />
	at net.jxta.platform.NetworkManager.startNetwork(NetworkManager.java:362)<br />
	at Discovery.DiscoveryServer.(DiscoveryServer.java:90)<br />
	at Discovery.DiscoveryServer.main(DiscoveryServer.java:107)<br />
Caused by: net.jxta.exception.PeerGroupException: Missing peer group service<br />
	at net.jxta.impl.peergroup.StdPeerGroup.initFirst(StdPeerGroup.java:734)<br />
	at net.jxta.impl.peergroup.Platform.initFirst(Platform.java:188)<br />
	at net.jxta.impl.peergroup.GenericPeerGroup.init(GenericPeerGroup.java:839)<br />
	at net.jxta.peergroup.WorldPeerGroupFactory.newWorldPeerGroup(WorldPeerGroupFactory.java:306)<br />
	... 5 more<br />
Caused by: net.jxta.exception.ServiceNotFoundException: Not found: urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000805<br />
	at net.jxta.impl.peergroup.GenericPeerGroup.lookupService(GenericPeerGroup.java:482)<br />
	at net.jxta.impl.peergroup.GenericPeerGroup.checkServices(GenericPeerGroup.java:524)<br />
	at net.jxta.impl.peergroup.StdPeerGroup.initFirst(StdPeerGroup.java:731)<br />
	... 8 more</p>
<p>

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
asghar
Offline
Joined: 2005-07-26
Points: 0

Hi

It seems, that your project is missing the necessary JAR file(s) of JXTA platform!

If you are using [b]NetBeans[/b] IDE:
• Use under Tools the library - manager to register the JXTA platform’s JARs with the IDE and then add them to the class path of any your jxta project.

Or

• Use Project Property sheet to add JXTA platform’s JARs to the class path of your jxta project.

Asghar

mr_light
Offline
Joined: 2005-04-30
Points: 0

can you be a bit more verbose what would be missing? I have set the classpath in my jar it works on my laptop no problems, in ubuntu and windows. I however can't get it to run on the boxes we have here(fendora). the only difference is java 1.5 is installed on the boxes and java 6 runs on my laptop. But juging from the stacktrace it doesn't seem to be related to the java version.

the stack trace is identical to that of paata, appart from the place where manager was called.

iztok_cergol
Offline
Joined: 2007-05-04
Points: 0

Hi,
I had the same problem, my app didn't work on some machines and I checked the Java Version. I had the same your error on a machine with java version 1.5.0
build 1.5.0-b64. Then I installed a newer version 1.5.0_11 build 1.5.0_11-b03 and now it works!

I hope you'll solve your problem.
Bye, Iztok