[JDEV] Strange server behaviour

Rodolphe Duge de Bernonville rod at idealx.com
Fri Jun 29 08:41:11 CDT 2001


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.

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 ?



More information about the JDev mailing list