[JDEV] Strange server behaviour

Gerard BUNEL gerard.bunel at ago.fr
Thu Jul 5 07:38:10 CDT 2001


Gang Liu a écrit :

> Hi,
>
>
> ----- Original Message -----
> From: Gerard BUNEL<gerard.bunel at ago.fr>
> To: jdev<jdev at jabber.org>
> Sent: 2001-6-29 16:53:00
> Subject: Re: [JDEV] Strange server behaviour
>
> >Rodolphe Duge de Bernonville a écrit :
> >
> >> Gerard BUNEL a écrit :
> >> >
> >> > Rodolphe Duge de Bernonville a écrit :
> >> >
> >> > > Gerard BUNEL a écrit :
> >> > > >
> >> > > > > if your function is inside mod_presence : check the destination
> >> > > > > to see if it is the name of your module.
> >> > > > >
> >> > >
> >> > > which sort of packet do you send ?
> >> >
> >> > Presence packet wrapped into Route packet
> >> >
> >>
> >> I have put your function in many places in mod_presence and
> >> the only error i have had wad a null pointer with m->packet.
> >> But everything works fine.
> >
> >I'm currently suspecting base_connect to be the origin of my problems.
> >When the problems occurs, all messages seem correctly handled by the server
> >but all
> >the packets that are to be sent to my service (which is a base_connect
> >service) are not sent
> >seems that the base_connect is hanged
>         I have found this problem many days before.When I post it to mailing list,nobody can help me.
>         I use my xdb_backend to replace xdb_file module.The xdb backend used base_connect or base_accept.

It seems that Rodolphe is right when it says:

>so i ve put a new service with connect ...
>and i ve made mod_presence send it the presence packet with your
>function
>no problem
>the only problem i have is whe i send message from the connected module
>to jabber
>if i dont specify a 'from' attribute in my xmlnode ...
>maybe it could happen in your case ?

I've commented code where I returned messsages to the server, and now all seems to be OK.
So, I've not yet checked what it was, but there probably something wron in returned packets


--
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