On Fri, Mar 2, 2012 at 11:16 AM, Mohit Bhonde <[email protected]> wrote: > I had version 0.7 of apache vysper deployed inside my application. > Am relatively new to XMPP. So far, I have managed to get application server > up > > Currently I have the following modules deployed > > 6310 [main] INFO org.apache.vysper.xmpp.server.DefaultServerRuntimeContext > - replacing the storage provider registry with > org.apache.vysper.storage.jcr.JcrStorageProviderRegistry > 6479 [main] INFO org.apache.vysper.xmpp.server.DefaultServerRuntimeContext > - adding module... servicediscovery (1.0beta) > 6489 [main] INFO org.apache.vysper.xmpp.server.DefaultServerRuntimeContext > - adding module... roster (1.0beta) > 6525 [main] INFO org.apache.vysper.xmpp.server.DefaultServerRuntimeContext > - adding module... XEP-0092 Software Version (1.0) > 6530 [main] INFO org.apache.vysper.xmpp.server.DefaultServerRuntimeContext > - adding module... XEP-0202 Entity Time (1.0) > 6561 [main] INFO org.apache.vysper.xmpp.server.DefaultServerRuntimeContext > - adding module... XEP-0054 Vcard-temp (1.0) > 6562 [main] INFO org.apache.vysper.xmpp.server.DefaultServerRuntimeContext > - adding module... XEP-0199 XMPP Ping (2.0) > 6564 [main] INFO org.apache.vysper.xmpp.server.DefaultServerRuntimeContext > - adding module... XEP-0049 Private Data (1.2) > 6573 [main] INFO org.apache.vysper.xmpp.server.DefaultServerRuntimeContext > - adding module... XEP-0060 Publish-Subscribe (1.13rc3) > 6574 [main] WARN > org.apache.vysper.xmpp.modules.extension.xep0060_pubsub.PublishSubscribeModule > - No collection node storage provider found, using the default (in memory) > 6574 [main] WARN > org.apache.vysper.xmpp.modules.extension.xep0060_pubsub.PublishSubscribeModule > - No leaf node storage provider found, using the default (in memory) > 6633 [main] INFO org.apache.vysper.xmpp.server.DefaultServerRuntimeContext > - adding module... XEP-0045 Multi-user chat (1.24) > > When I log in from an XMPP Client (Empathy on Ubuntu 11.10) > > Am seeing the following error while engaging into a pubsub > > 20754 [NioProcessor-11] INFO stanza.client - iq.id='1721659122'.type='set > '.pubsub.xmlns='http://jabber.org/protocol/pubsub' > 20763 [NioProcessor-11] INFO stanza.client - iq.id > ='1771659171'.type='set'.pubsub.xmlns='http://jabber.org/protocol/pubsub' > 20765 [NioProcessor-11] INFO stanza.client - iq.id > ='4683660034'.type='get'.vCard.xmlns='vcard-temp' > 20765 [NioProcessor-11] INFO stanza.server - iq.id='1721659122'.type='error > '.pubsub.xmlns='http://jabber.org/protocol/pubsub' > 20769 [NioProcessor-11] INFO stanza.server - iq.id > ='1771659171'.type='error'.pubsub.xmlns='http://jabber.org/protocol/pubsub' > 20769 [NioProcessor-11] INFO stanza.server - iq.id > ='4683660034'.type='result' > 20777 [NioProcessor-11] INFO stanza.server - iq.id > ='1082658740'.from='mangospring.ms.dev'.type='result'.query.disco.items > 20804 [NioProcessor-11] INFO stanza.client - presence.node=' > http://telepathy.freedesktop.org/caps'.ver='C3iENfQA/XIgZ91jqMjpSwfGOFQ='.ext='pmuc-v1share-v1 > voice-v1 video-v1' > > When i try to add a friend, i do not see the subscriber add request coming > up and hence rooster failing to add the friend to my friend list > > 20831 [pool-10-thread-1] WARN > org.apache.vysper.storage.jcr.roster.JcrRosterManager - try now loading > contact [email protected] from node node > /accountentity/[email protected] > /jabber_iq_roster/[email protected] > 20834 [pool-10-thread-1] WARN > org.apache.vysper.storage.jcr.roster.JcrRosterManager - when loading roster > for user [email protected], contact [email protected], the > ask subscription type is unparsable. skipping!
I'm not very familiar with this code, but it would seem that the stored roster is invalid somehow. Would you be able to either dump the stored roster from the JCR storage and have a look at the subscription type is questions, or add debug the running code? /niklas
