Re: [JXTA discuss] problem with private netpeergroup
"Gabriel Vasile" <[email protected]> Tue, 21 Feb 2006 19:00:42 +0100
| Newsgroups | gmane.comp.java.jxta.general |
|---|---|
| Message-ID | <008001c63710$bc27b0c0$d7d453c3@gamma> |
Hi, if you use windows, most probably it fails to open the config.properties file. See my previos mail and James Todd's one about this issue. So it starts with a default configuration, I think this is the reason. You should put the log level to info. Hope I'm right and it helps. Gabriel Vasile ----- Original Message ----- From: "Michele Amoretti" <[email protected]> To: <[email protected]> Sent: Tuesday, February 21, 2006 6:49 PM Subject: [JXTA discuss] problem with private netpeergroup > > Hello. > > This is strange! > > I configured my peer with a config.properties which defines an ID for a > private NetPeerGroup. I always do this and it always work. > > Nevertheless, in this case, when I > > try { > netPeerGroup = 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 NetPeerGroup > " + netPeerGroup.getPeerGroupID().toString()); > > the result is always the same: > ... > Peer started and correctly joined the NetPeerGroup urn:jxta:jxta-NetGroup > ... > > What I am doing wrong? > > > p.s. I am using JXTA 2.3.6, and JXTA_HOME is correctly defined > > > thanks > > > > > -- > Michele Amoretti, Ph.D. Student > Distributed Systems Group > Dip. di Ingegneria dell'Informazione, Università 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 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >