Re: getMembershipService() returns null
"Mark S. Petrovic" <[email protected]> Fri, 22 Dec 2006 04:58:39 -0800
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <20061222125839.GH8726@false> |
Also, if you search for
INFO [QuotaListenerThread] (net.jxta.impl.peergroup.GenericPeerGroup.initLast:1055) - Configuring Group : urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402
and seek a few lines hence whereby we see
Services :
urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000605 Reference Implementation of the Rendezvous service
urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000305 Reference Implementation of the Discovery service
urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000805 Reference Implementation of the Endpoint service
urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000205 Reference Implementation of the Resolver service
urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000405 Reference Implementation of the Pipe service
one does not see a complete list of services for the newgroup.
Is it possible for you to post the newgroup module implementation
advertisement?
On Fri, Dec 22, 2006 at 04:47:30AM -0800, Mark S. Petrovic wrote:
> Late in your log file, after you discover and attempt to join the application
> group, what is this:
>
> INFO [QuotaListenerThread] (net.jxta.impl.peergroup.StdPeerGroup.loadAllModules:276) - Module disabled by configuration : Reference Implementation of the None Membership service
>
>
>
>
> On Fri, Dec 22, 2006 at 09:54:09AM +0100, Daniel Evers wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Mike [bondolo] Duigou schrieb:
> > > This is indeed a strange problem. I looked and couldn't figure out a way
> > > that a peer group could be started without having a membership service
> > > of some sort or other.
> >
> > I don't get it either ... But there has to be an explanation (I'm
> > optimistic)
> >
> > > Turning up the log4j level to debug and watching the output of the group
> > > being started may provide some clues.
> >
> > It seems that everything is fine. I uploaded the full log output:
> >
> > http://www-users.rwth-aachen.de/Daniel.Evers/membership_null_1.log
> >
> > (this log also contains some output of my program, so don't be surprised...)
> > I attached the relevant part (or what I think is relevant) to this mail.
> >
> > Thanks,
> > Daniel
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.5 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFFi50wBHvLeozhC4kRAggAAJ40vytBWavgAMysy58JrsiwbNrqPACeLs/r
> > 7JokLVdfAN7CegfQyO2JmyE=
> > =SUfm
> > -----END PGP SIGNATURE-----
>
> > INFO [QuotaListenerThread] (ehome.mobile.network.JXTADiscoveryListener.handleGroupResponse:102) - found an eHome group!
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.GenericPeerGroup.getInterface:570) - [urn:jxta:jxta-NetGroup] GROUP REF COUNT INCREMENTED TO: 2 by
> > net.jxta.impl.peergroup.GenericPeerGroup.loadModule(GenericPeerGroup.java:1143)
> > INFO [QuotaListenerThread] (net.jxta.impl.endpoint.EndpointServiceImpl.init:1184) - Configuring Endpoint Service : urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000805
> > Implementation :
> > Impl Description : Reference Implementation of the Endpoint service
> > Impl URI : http://www.jxta.org/download/jxta.jar
> > Impl Code : net.jxta.impl.endpoint.EndpointServiceImpl
> > Group Params :
> > Group : eHome group
> > Group ID : urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402
> > Peer ID : urn:jxta:uuid-59616261646162614E5047205032503350B183D13A5D4F14B6ABC215588550F003
> > Configuration :
> > Home Group : NetPeerGroup / urn:jxta:jxta-NetGroup
> > Virtual Messenger Queue Size : 20
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.GenericPeerGroup.loadModule:1145) - Loaded privileged module : Reference Implementation of the Endpoint service (net.jxta.impl.endpoint.EndpointServiceImpl)
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.StdPeerGroup.loadAllModules:276) - Module disabled by configuration : Reference Implementation of the Always Access service
> > INFO [QuotaListenerThread] (net.jxta.impl.rendezvous.RendezVousServiceImpl.init:940) - Configuring RendezVous Service : urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000605
> > Implementation :
> > Module Spec ID: urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE000000060106
> > Impl Description : Reference Implementation of the Rendezvous service
> > Impl URI : http://www.jxta.org/download/jxta.jar
> > Impl Code : net.jxta.impl.rendezvous.RendezVousServiceImpl
> > Group Params :
> > Group : eHome group
> > Group ID : urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402
> > Peer ID : urn:jxta:uuid-59616261646162614E5047205032503350B183D13A5D4F14B6ABC215588550F003
> > Configuration :
> > Advertising group : NetPeerGroup [urn:jxta:jxta-NetGroup]
> > RendezVous : EDGE
> > Auto RendezVous : false
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.GenericPeerGroup.loadModule:1145) - Loaded privileged module : Reference Implementation of the Rendezvous service (net.jxta.impl.rendezvous.RendezVousServiceImpl)
> > INFO [QuotaListenerThread] (net.jxta.impl.discovery.DiscoveryServiceImpl.init:409) - Configuring Discovery Service : urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000305
> > Implementation :
> > Module Spec ID: urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE000000030106
> > Impl Description : Reference Implementation of the Discovery service
> > Impl URI : http://www.jxta.org/download/jxta.jar
> > Impl Code : net.jxta.impl.discovery.DiscoveryServiceImpl
> > Group Params :
> > Group : eHome group
> > Group ID : urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402
> > Peer ID : urn:jxta:uuid-59616261646162614E5047205032503350B183D13A5D4F14B6ABC215588550F003
> > Configuration :
> > Always Use ReplicaPeer : false
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.GenericPeerGroup.loadModule:1145) - Loaded privileged module : Reference Implementation of the Discovery service (net.jxta.impl.discovery.DiscoveryServiceImpl)
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.StdPeerGroup.loadAllModules:276) - Module disabled by configuration : Reference Implementation of the None Membership service
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.StdPeerGroup.loadAllModules:276) - Module disabled by configuration : Reference Implementation of the Peerinfo service
> > INFO [QuotaListenerThread] (net.jxta.impl.pipe.PipeServiceImpl.init:419) - Configuring Pipe Service : urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000405
> > Implementation :
> > Module Spec ID: urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE000000040106
> > Impl Description : Reference Implementation of the Pipe service
> > Impl URI : http://www.jxta.org/download/jxta.jar
> > Impl Code : net.jxta.impl.pipe.PipeServiceImpl
> > Group Params :
> > Group : eHome group
> > Group ID : urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402
> > Peer ID : urn:jxta:uuid-59616261646162614E5047205032503350B183D13A5D4F14B6ABC215588550F003
> > Configuration :
> > Verify Interval : 1200000ms
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.GenericPeerGroup.loadModule:1145) - Loaded privileged module : Reference Implementation of the Pipe service (net.jxta.impl.pipe.PipeServiceImpl)
> > INFO [QuotaListenerThread] (net.jxta.impl.resolver.ResolverServiceImpl.init:226) - Configuring Resolver Service : urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000205
> > Implementation:
> > Impl Description: Reference Implementation of the Resolver service
> > Impl URI : http://www.jxta.org/download/jxta.jar
> > Impl Code : net.jxta.impl.resolver.ResolverServiceImpl
> > Group Params:
> > Group: eHome group
> > Group ID: urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402
> > Peer ID: urn:jxta:uuid-59616261646162614E5047205032503350B183D13A5D4F14B6ABC215588550F003
> > Configuration:
> > In Queue name: uuid-DD49DF822C88404DB73B922E79190D2402ORes
> > Out Queue name: uuid-DD49DF822C88404DB73B922E79190D2402IRes
> > SRDI Queue name: uuid-DD49DF822C88404DB73B922E79190D2402Srdi
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.GenericPeerGroup.loadModule:1145) - Loaded privileged module : Reference Implementation of the Resolver service (net.jxta.impl.resolver.ResolverServiceImpl)
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.StdPeerGroup.initFirst:634) - Module started : net.jxta.impl.resolver.ResolverServiceImpl@583b1797
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.StdPeerGroup.initFirst:634) - Module started : net.jxta.impl.pipe.PipeServiceImpl@3ad41799
> > INFO [QuotaListenerThread] (net.jxta.impl.discovery.DiscoveryServiceImpl.beEdge:1276) - Switched to a Edge peer role.
> > INFO [QuotaListenerThread] (net.jxta.impl.discovery.DiscoveryServiceImpl.startApp:479) - Discovery service started
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.StdPeerGroup.initFirst:634) - Module started : net.jxta.impl.discovery.DiscoveryServiceImpl@1baed799
> > INFO [QuotaListenerThread] (net.jxta.impl.rendezvous.PeerView.<init>:497) - PeerView created for group "eHome group" [urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402] name "urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000605uuid-DD49DF822C88404DB73B922E79190D2402"
> > INFO [QuotaListenerThread] (net.jxta.impl.pipe.NonBlockingWireOutputPipe.<init>:154) - Constructing for urn:jxta:uuid-59616261646162614E504720503250335065657256694577B575A9642D44443404
> > INFO [QuotaListenerThread] (net.jxta.impl.rendezvous.PeerView.openWirePipes:1314) - Propagate Pipes opened.
> > INFO [PeerView Timer for urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402] (net.jxta.impl.rendezvous.PeerView.seed:1880) - New Seeding...
> > INFO [QuotaListenerThread] (net.jxta.impl.discovery.DiscoveryServiceImpl.beEdge:1252) - Already an Edge peer -- No Switch is needed.
> > INFO [QuotaListenerThread] (net.jxta.impl.rendezvous.RendezVousServiceImpl.startApp:1785) - Rendezvous Serivce started
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.StdPeerGroup.initFirst:634) - Module started : net.jxta.impl.rendezvous.RendezVousServiceImpl@73dad796
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.StdPeerGroup.initFirst:634) - Module started : net.jxta.impl.endpoint.EndpointServiceImpl@5e005796
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.GenericPeerGroup.initLast:1055) - Configuring Group : urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402
> > Implementation :
> > Module Spec ID: urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE000000010306
> > Impl Description : General Purpose Peer Group Implementation
> > Impl URI : http://www.jxta.org/download/jxta.jar
> > Impl Code : net.jxta.impl.peergroup.StdPeerGroup
> > Group Params :
> > Module Spec ID : urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE000000010306
> > Peer Group ID : urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402
> > Group Name : eHome group
> > Peer ID in Group : urn:jxta:uuid-59616261646162614E5047205032503350B183D13A5D4F14B6ABC215588550F003
> > Configuration :
> > Home Group : "NetPeerGroup" / urn:jxta:jxta-NetGroup
> > Services :
> > urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000605 Reference Implementation of the Rendezvous service
> > urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000305 Reference Implementation of the Discovery service
> > urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000805 Reference Implementation of the Endpoint service
> > urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000205 Reference Implementation of the Resolver service
> > urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000405 Reference Implementation of the Pipe service
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.StdPeerGroup.initLast:796) - Configuring Group : urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402
> > Configuration :
> > Compatibility Statement :
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE Comp>
> > <Comp>
> > <Efmt>
> > JDK1.4.1
> > </Efmt>
> > <Bind>
> > V2.0 Ref Impl
> > </Bind>
> > </Comp>
> > Applications :
> > urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000C05 net.jxta.impl.shell.bin.Shell.Shell
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.GenericPeerGroup.loadModule:1145) - Loaded module : General Purpose Peer Group Implementation (net.jxta.impl.peergroup.StdPeerGroup)
> > INFO [QuotaListenerThread] (net.jxta.impl.peergroup.GenericPeerGroup.getInterface:570) - [urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402] GROUP REF COUNT INCREMENTED TO: 1 by
> > net.jxta.impl.peergroup.GenericPeerGroup.newGroup(GenericPeerGroup.java:1376)
> > DEBUG [QuotaListenerThread] (ehome.mobile.network.JXTADiscoveryListener.getPeerGroup:155) - using cached group urn:jxta:uuid-DD49DF822C88404DB73B922E79190D2402
> > ERROR [Thread-12] (ehome.mobile.network.EHomeGroupHandler.run:64) - cannot join eHome group
> > net.jxta.exception.PeerGroupException: membership == null
> > at ehome.mobile.network.JXTAManager.joinGroup(JXTAManager.java:288)
> > at ehome.mobile.network.EHomeGroupHandler.run(EHomeGroupHandler.java:61)
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
>
> --
> Mark S. Petrovic
> Pasadena, CA
> http://www.petrovic.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
--
Mark S. Petrovic
Pasadena, CA
http://www.petrovic.org