PeerGroupException: Could not load group implementation

"giorgos d." <[email protected]> Wed, 24 Aug 2005 13:04:44 +0100
Newsgroups gmane.comp.java.jxta.user
Message-ID <000701c5a8a4$043a26f0$07b35882@GWAIHIR>
hello everybody,
Im running a jxta application on windows succesfully. I have to run it now 
on a multiprocessor sun machine (SSH).
I copied my windows directrory as is, and thought jxta would use the same 
propertie file. However it still tries to open a config display (cant find a 
peer name in the properties).

Is this causing the second exception (net.jxta.exception.PeerGroupException: 
Could not load group implementation)?
How do i work around this? manual configuration?

thank you very much!
giorgos.


------------------------------------------------------------------------------------------------------------------------
doudalig-> /home/cnc/J2sdk-1_4_2_08-solaris/bin/java -client -cp 
/home/M04/acs/doudalig/P2P/Peer_x2/:/home/M04/acs/doudalig/P2P/Peer_x2/lib/jxta.jar:/home/M04/acs/doudalig/P2P/Peer_x2/lib/jxtaext.jar:/home/M04/acs/doudalig/P2P/Peer_x2/lib/log4j.jar:/home/M04/acs/doudalig/P2P/Peer_x2/lib/jdom.jar:/home/M04/acs/doudalig/P2P/Peer_x2/lib/javax.servlet.jar:/home/M04/acs/doudalig/P2P/Peer_x2/lib/org.mortbay.jetty.jar:/home/M04/acs/doudalig/P2P/Peer_x2/lib/bcprov-jdk14.jar:/home/M04/acs/doudalig/P2P/Peer_x2/lib/jaxen-core.jar:/home/M04/acs/doudalig/P2P/Peer_x2/lib/jaxen-jdom.jar:/home/M04/acs/doudalig/P2P/Peer_x2/lib/saxpath.jar:/home/M04/acs/doudalig/P2P/Peer_x2/lib/swixml.jar 
test.myPeer

Launching JXTA...
<INFO  2005-08-24 12:38:55,964 NullConfigurator::<init>:146> JXTA_HOME = 
/home/M04/acs/doudalig/.jxta
<INFO  2005-08-24 12:38:55,985 NullConfigurator::resetFromResource:362> 
/home/M04/acs/doudalig/.jxta/PlatformConfig already exists
<INFO  2005-08-24 12:38:55,989 NullConfigurator::resetFromResource:362> 
/home/M04/acs/doudalig/.jxta/jxta.properties already exists
<INFO  2005-08-24 12:38:56,516 NullConfigurator::adjustLog4JPriority:441> 
Log4J [user default] requested, not adjusting logging priority
<INFO  2005-08-24 12:38:56,520 DefaultConfigurator::fixAdvertisement:282> 
Reconfig requested - Missing peer name
<INFO  2005-08-24 12:38:56,551 DefaultConfigurator::fixAdvertisement:482> 
Reconfig requested - PSE wanted config
<WARN  2005-08-24 12:38:56,805 DefaultConfigurator::getPlatformConfig:140> 
Could not initialize graphical config dialog
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as 
the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at 
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at 
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
        at java.awt.Window.init(Window.java:231)
        at java.awt.Window.<init>(Window.java:275)
        at java.awt.Frame.<init>(Frame.java:401)
        at 
net.jxta.impl.peergroup.ConfigDialog.<init>(ConfigDialog.java:1347)
        at 
net.jxta.impl.peergroup.DefaultConfigurator.getPlatformConfig(DefaultConfigurator.java:132)
        at net.jxta.impl.peergroup.Platform.initFirst(Platform.java:190)
        at 
net.jxta.impl.peergroup.GenericPeerGroup.init(GenericPeerGroup.java:876)
        at 
net.jxta.peergroup.PeerGroupFactory.newPlatform(PeerGroupFactory.java:409)
        at 
net.jxta.peergroup.PeerGroupFactory.newNetPeerGroup(PeerGroupFactory.java:472)
        at jxta.JXTAService.launchJXTA(JXTAService.java:177)
        at test.myPeer.main(myPeer.java:80)
The window-based configurator does not seem to be usable.
Do you want to stop and edit the current configuration ? [no]:
Attempting to continue using the current configuration.
<INFO  2005-08-24 12:39:28,089 NullConfigurator::adjustLog4JPriority:441> 
Log4J [user default] requested, not adjusting logging priority
<INFO  2005-08-24 12:39:29,708 NullConfigurator::adjustLog4JPriority:441> 
Log4J [user default] requested, not adjusting logging priority
<FATAL 2005-08-24 12:39:30,305 PeerGroupFactory::newNetPeerGroup:445> 
newNetPeerGroup failed
net.jxta.exception.PeerGroupException: Could not load group implementation
        at 
net.jxta.impl.peergroup.GenericPeerGroup.newGroup(GenericPeerGroup.java:1336)
        at 
net.jxta.impl.peergroup.PeerGroupInterface.newGroup(PeerGroupInterface.java:299)
        at 
net.jxta.peergroup.PeerGroupFactory.newNetPeerGroup(PeerGroupFactory.java:438)
        at 
net.jxta.peergroup.PeerGroupFactory.newNetPeerGroup(PeerGroupFactory.java:474)
        at jxta.JXTAService.launchJXTA(JXTAService.java:177)
        at test.myPeer.main(myPeer.java:80)
Caused by: net.jxta.exception.PeerGroupException: Missing peer group service
        at 
net.jxta.impl.peergroup.StdPeerGroup.initFirst(StdPeerGroup.java:583)
        at 
net.jxta.impl.peergroup.ShadowPeerGroup.initFirst(ShadowPeerGroup.java:85)
        at 
net.jxta.impl.peergroup.GenericPeerGroup.init(GenericPeerGroup.java:876)
        at 
net.jxta.impl.peergroup.GenericPeerGroup.loadModule(GenericPeerGroup.java:694)
        at 
net.jxta.impl.peergroup.GenericPeerGroup.newGroup(GenericPeerGroup.java:1330)
        ... 5 more
Caused by: net.jxta.exception.ServiceNotFoundException: 
urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000505
        at 
net.jxta.impl.peergroup.GenericPeerGroup.lookupService(GenericPeerGroup.java:488)
        at 
net.jxta.impl.peergroup.GenericPeerGroup.checkServices(GenericPeerGroup.java:530)
        at 
net.jxta.impl.peergroup.StdPeerGroup.initFirst(StdPeerGroup.java:580)
        ... 9 more
fatal error : initializing JXTA failed
net.jxta.exception.PeerGroupException: Could not load group implementation
        at 
net.jxta.impl.peergroup.GenericPeerGroup.newGroup(GenericPeerGroup.java:1336)
        at 
net.jxta.impl.peergroup.PeerGroupInterface.newGroup(PeerGroupInterface.java:299)
        at 
net.jxta.peergroup.PeerGroupFactory.newNetPeerGroup(PeerGroupFactory.java:438)
        at 
net.jxta.peergroup.PeerGroupFactory.newNetPeerGroup(PeerGroupFactory.java:474)
        at jxta.JXTAService.launchJXTA(JXTAService.java:177)
        at test.myPeer.main(myPeer.java:80)
Caused by: net.jxta.exception.PeerGroupException: Missing peer group service
        at 
net.jxta.impl.peergroup.StdPeerGroup.initFirst(StdPeerGroup.java:583)
        at 
net.jxta.impl.peergroup.ShadowPeerGroup.initFirst(ShadowPeerGroup.java:85)
        at 
net.jxta.impl.peergroup.GenericPeerGroup.init(GenericPeerGroup.java:876)
        at 
net.jxta.impl.peergroup.GenericPeerGroup.loadModule(GenericPeerGroup.java:694)
        at 
net.jxta.impl.peergroup.GenericPeerGroup.newGroup(GenericPeerGroup.java:1330)
        ... 5 more
Caused by: net.jxta.exception.ServiceNotFoundException: 
urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000505
        at 
net.jxta.impl.peergroup.GenericPeerGroup.lookupService(GenericPeerGroup.java:488)
        at 
net.jxta.impl.peergroup.GenericPeerGroup.checkServices(GenericPeerGroup.java:530)
        at 
net.jxta.impl.peergroup.StdPeerGroup.initFirst(StdPeerGroup.java:580)
        ... 9 more



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23.08.2005