[JDEV] Strange server behaviour
Hello, I need some help on server side development. I've writen a module in replacement to the standard mod_presence The objective of this module is to route presence messages to a service wich is writen in Java using jabberbeans and the CONNECT mode. So I wrote function to route some mesages void route_packet(mapi m) { xmlnode node = xmlnode_dup(m->packet->x); node = xmlnode_wrap(node, "route"); xmlnode_put_attrib(node, "to", packet_to); deliver(dpacket_new(node), m->si->i); } The result is that sometimes the message is correctly routed, sometimes it is not at all and sometimes it seems to hang up partially the server (other messages are not sent) Is there a problem in my function ? Is there a safety way to do it ? Thanks for your help Gerard BUNEL -- [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
On Thu, Jun 28, 2001 at 06:28:29PM +0200, Gerard BUNEL wrote: > Hello, > > I need some help on server side development. > I've writen a module in replacement to the standard mod_presence > The objective of this module is to route presence messages to a service > wich is writen in Java > using jabberbeans and the CONNECT mode. > > So I wrote function to route some mesages > > void route_packet(mapi m) { > xmlnode node = xmlnode_dup(m->packet->x); > node = xmlnode_wrap(node, "route"); > xmlnode_put_attrib(node, "to", packet_to); > deliver(dpacket_new(node), m->si->i); > } Hi What's 'packet_to'? dj ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
DJ Adams a écrit : > On Thu, Jun 28, 2001 at 06:28:29PM +0200, Gerard BUNEL wrote: > > Hello, > > > > I need some help on server side development. > > I've writen a module in replacement to the standard mod_presence > > The objective of this module is to route presence messages to a service > > wich is writen in Java > > using jabberbeans and the CONNECT mode. > > > > So I wrote function to route some mesages > > > > void route_packet(mapi m) { > > xmlnode node = xmlnode_dup(m->packet->x); > > node = xmlnode_wrap(node, "route"); > > xmlnode_put_attrib(node, "to", packet_to); > > deliver(dpacket_new(node), m->si->i); > > } > > Hi > > What's 'packet_to'? > That's simply a global variable containing the service name > > dj > ___ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev -- [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
Gerard BUNEL a écrit : > DJ Adams a écrit : > > > On Thu, Jun 28, 2001 at 06:28:29PM +0200, Gerard BUNEL wrote: > > > Hello, > > > > > > I need some help on server side development. > > > I've writen a module in replacement to the standard mod_presence > > > The objective of this module is to route presence messages to a service > > > wich is writen in Java > > > using jabberbeans and the CONNECT mode. > > > > > > So I wrote function to route some mesages > > > > > > void route_packet(mapi m) { > > > xmlnode node = xmlnode_dup(m->packet->x); > > > node = xmlnode_wrap(node, "route"); > > > xmlnode_put_attrib(node, "to", packet_to); > > > deliver(dpacket_new(node), m->si->i); > > > } > > > > Hi > > > > What's 'packet_to'? > > > > That's simply a global variable containing the service name > I Also noticed this logs from the server: 20010629T05:25:55: [warn] (-internal): jsm: Invalid Recipient, returning data Online1 > > > > > dj > > ___ > > jdev mailing list > > [EMAIL PROTECTED] > > http://mailman.jabber.org/listinfo/jdev > > -- > [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > > ___ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev -- [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
Gerard BUNEL a écrit : > > Hello, > > I need some help on server side development. > I've writen a module in replacement to the standard mod_presence > The objective of this module is to route presence messages to a service > So I wrote function to route some mesages > > void route_packet(mapi m) { > xmlnode node = xmlnode_dup(m->packet->x); > node = xmlnode_wrap(node, "route"); > xmlnode_put_attrib(node, "to", packet_to); > deliver(dpacket_new(node), m->si->i); > } > > The result is that sometimes the message is correctly routed, sometimes > it is not at all and sometimes it > seems to hang up partially the server (other messages are not sent) where do you call your function in mod_presence ? do you mean the callback in mod_presence are not called anymore ? which sort of packet do you want to route to your external component ? ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
Rodolphe Duge de Bernonville a écrit : > Gerard BUNEL a écrit : > > > > Hello, > > > > I need some help on server side development. > > I've writen a module in replacement to the standard mod_presence > > The objective of this module is to route presence messages to a service > > So I wrote function to route some mesages > > > > void route_packet(mapi m) { > > xmlnode node = xmlnode_dup(m->packet->x); > > node = xmlnode_wrap(node, "route"); > > xmlnode_put_attrib(node, "to", packet_to); > > deliver(dpacket_new(node), m->si->i); > > } > > > > The result is that sometimes the message is correctly routed, sometimes > > it is not at all and sometimes it > > seems to hang up partially the server (other messages are not sent) > > where do you call your function in mod_presence ? > do you mean the callback in mod_presence are not called anymore ? > which sort of packet do you want to route to your external component ? It's not mod_presence but a replacement for it. I try to route presence packet and I use globaly the same scheme than in mod_presence It can be in either in es_IN, es_OUT or es_DELIVER callbacks I've tried using js_deliver instead of deliver, but the result seems to be the same. I notably route presence in es_OUT callback when it is a presence to a conference and in this case, the server is seems completely freezed. > > ___ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev -- [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
On Fri, Jun 29, 2001 at 08:34:16AM +0200, Gerard BUNEL wrote: > > > > > > What's 'packet_to'? > > > > > > > That's simply a global variable containing the service name > > > > I Also noticed this logs from the server: > > 20010629T05:25:55: [warn] (-internal): jsm: Invalid Recipient, returning data > Online1 > Could it be that packet_to is NULL in some cases, causing this error? dj ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
Gerard BUNEL a écrit : > > Rodolphe Duge de Bernonville a écrit : > > > Gerard BUNEL a écrit : > > > > > > Hello, > > > > > > I need some help on server side development. > > > I've writen a module in replacement to the standard mod_presence > > > The objective of this module is to route presence messages to a service > > > So I wrote function to route some mesages > > > > > > void route_packet(mapi m) { > > > xmlnode node = xmlnode_dup(m->packet->x); > > > node = xmlnode_wrap(node, "route"); > > > xmlnode_put_attrib(node, "to", packet_to); > > > deliver(dpacket_new(node), m->si->i); > > > } > > > > > > The result is that sometimes the message is correctly routed, sometimes > > > it is not at all and sometimes it > > > seems to hang up partially the server (other messages are not sent) > > > > where do you call your function in mod_presence ? > > do you mean the callback in mod_presence are not called anymore ? > > which sort of packet do you want to route to your external component ? > > It's not mod_presence but a replacement for it. > I try to route presence packet and I use globaly the same scheme than in > mod_presence > It can be in either in es_IN, es_OUT or es_DELIVER callbacks > > I've tried using js_deliver instead of deliver, but the result seems to be > the same. > > I notably route presence in es_OUT callback when it is a presence to a > conference > and in this case, the server is seems completely freezed. if your function is inside mod_presence : check the destination to see if it is the name of your module. 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. if you try to implement a new module which will handle presence packet take care not to return M_HANDLED when you do stuff with a packet and to place your module (in jabber.xml) before mod_presence. thats all I can say for the moment :p ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
DJ Adams a écrit : > On Fri, Jun 29, 2001 at 08:34:16AM +0200, Gerard BUNEL wrote: > > > > > > > > What's 'packet_to'? > > > > > > > > > > That's simply a global variable containing the service name > > > > > > > I Also noticed this logs from the server: > > > > 20010629T05:25:55: [warn] (-internal): jsm: Invalid Recipient, returning data > > Online1 > > > > Could it be that packet_to is NULL in some cases, causing this error? > No, I checked it > > dj > ___ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev -- [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
> if your function is inside mod_presence : check the destination > to see if it is the name of your module. > Yes it is > > 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 ? > > if you try to implement a new module which will handle presence packet > take care not to return M_HANDLED when you do stuff with a packet > and to place your module (in jabber.xml) before mod_presence. > It completely replace the mod_presence > > thats all I can say for the moment :p > ___ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev -- [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
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 ? ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
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 ? ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
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 > > ___ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev -- [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
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 > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev -- [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
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. ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
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 > > ___ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev -- [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
Gerard BUNEL a écrit : > > 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 > 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 ? ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
Gang Liu a écrit : > Hi, > > > - Original Message - > From: Gerard BUNEL<[EMAIL PROTECTED]> > To: jdev<[EMAIL PROTECTED]> > 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 -- [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Strange server behaviour
Gang Liu a écrit : > > > > >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. there was a also a problem in the deliver function of "old" jabberd (< 1.3) for xdb packet and xdb gateway. ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: Re: [JDEV] Strange server behaviour
Hi, - Original Message - From: Gerard BUNEL<[EMAIL PROTECTED]> To: jdev<[EMAIL PROTECTED]> 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. > >> >> ___ >> jdev mailing list >> [EMAIL PROTECTED] >> http://mailman.jabber.org/listinfo/jdev > >-- >[EMAIL PROTECTED] - 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: [EMAIL PROTECTED] >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: [EMAIL PROTECTED] > > >___ >jdev mailing list >[EMAIL PROTECTED] >http://mailman.jabber.org/listinfo/jdev Regards, - Lg 2001-7-5 20:08:25 -- Gang Liu / Vista Team / ShenZhen City / China Email: [EMAIL PROTECTED] Phone: +86 13923425035 ICQ: 70670666 ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: Re: [JDEV] Strange server behaviour
Hi, - Original Message - From: Rodolphe Duge de Bernonville<[EMAIL PROTECTED]> To: jdev<[EMAIL PROTECTED]> Sent: 2001-7-5 14:52:00 Subject: Re: [JDEV] Strange server behaviour >Gang Liu a écrit : >> >> > >> >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. > > >there was a also a problem in the deliver function of "old" jabberd (< >1.3) >for xdb packet and xdb gateway. I have checked out the source of 1.4.1 from cvs tree often. And I have checked my code.All XDB Packet is correct.U can search my post with full jabberd' log message in this mailing list. >___ >jdev mailing list >[EMAIL PROTECTED] >http://mailman.jabber.org/listinfo/jdev Regards, - Lg 2001-7-5 21:51:12 -- Gang Liu / Vista Team / ShenZhen City / China Email: [EMAIL PROTECTED] Phone: +86 13923425035 ICQ: 70670666 ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev