[JXTA discuss] problem with private netpeergroup
Michele Amoretti <[email protected]> Tue, 21 Feb 2006 18:49:54 +0100
| Newsgroups | gmane.comp.java.jxta.general |
|---|---|
| Message-ID | <[email protected]> |
Hello.
This is strange!
I configured my peer with a config.properties which defines an ID for a=20
private NetPeerGroup. I always do this and it always work.
Nevertheless, in this case, when I=20
try {
netPeerGroup =3D PeerGroupFactory.newNetPeerGroup();
} catch ( PeerGroupException e ) {
// could not instantiate the group, print the stack and exit
System.out.println("Fatal error: Could not create NetPeerGroup"=
);
e.printStackTrace();
System.exit(1);
}
System.out.println("Peer started and correctly joined the NetPeerGr=
oup=20
" + netPeerGroup.getPeerGroupID().toString());
the result is always the same:
=2E..
Peer started and correctly joined the NetPeerGroup urn:jxta:jxta-NetGroup
=2E..
What I am doing wrong?
p.s. I am using JXTA 2.3.6, and JXTA_HOME is correctly defined
thanks
=2D-=20
Michele Amoretti, Ph.D. Student
Distributed Systems Group
Dip. di Ingegneria dell'Informazione, Universit=E0 degli Studi di Parma
Parco Area delle Scienze, 181A I-43100 Parma Italy
Phone: +39-(0521)-906147 Fax: +39-(0521)-905723
Home page:
http://dsg.ce.unipr.it/People/amoretti/Amoretti.html