[JDEV] Strange server behaviour

Gerard BUNEL gerard.bunel at ago.fr
Fri Jun 29 09:10:13 CDT 2001


Rodolphe Duge de Bernonville a écrit :

> Gerard BUNEL a écrit :
> >
> > >
> > > maybe you try to deliver your packet whereas the presence packet
> > > has not been delivered inside the jsm core (maybe due to thread switch
> > > ...), so that could explain why sometimes the module receive the
> > > presence
> > > packet and sometimes not.
> > >
> >
> > Could you explain ? How could it be not delivered in jsm ?
> > I was assuming that packets received in my module were posted from jsm
> > Was I wrong ?
> >
>
> try lauching a normal jabber server without your module but
> you just put off the mod_presence : you will see that presence are
> not delivered anymore and all your message go offline.
>

In fact if I comment my routing calls, all works as in normal mod_presence
When I Detect a presence in a conference, I send a Route to my service
wrapping the presence packet then
the normal packet processing occurs (as in mod_presence)

>
> if the same behaviour happens with your module (and as it replaces
> mod_presence)
> it means that it  doesnt do all the thing that mod_presence were doing
> (maybe you have a bad return code (M_PASS, M_HANDLED, ) or you dont
> use js_session_to, js_session_from

>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev

--
gerard.bunel at ago.fr - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - Site du Vernis - 29608 Brest cedex - France

Tel. : +33 2 98 05 43 21 - Fax. : +33 2 98 05 20 34
e-mail: atlantide-brest at ago.fr
Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
Tel. : +33 2 99 84 15 84 - Fax : +33 2 99 84 15 85
e-mail: atlantide-rennes at ago.fr





More information about the JDev mailing list