[JDEV] Conference component is silent

sarkar at boo.net sarkar at boo.net
Wed Jul 10 15:13:31 CDT 2002


The service for conferencing is there all right. During startup, the debug 
output has the following line

<<  Tue Jul  9 17:16:46 2002  deliver.c:288 Registering conference.localhost 
with instance conference.localhost  >>

I noticed this in the main entry function of conference.so library. There is a 
debug output statement

<<   log_debug(ZONE,"conference loading");  >>

in the beginning of  'conference(instance i, xmlnode x)' method but it never 
gets called.

I have verified that the library  gets loaded as the following lines indicate

<< Wed Jul 10 08:22:43 2002  load.c:214 dynamic loader processing    
configuration  
     <load>
        <conference>./conference-0.4/conference.so</conference>
     </load>    >>

Checked the code and it seems that the library is loaded and a pointer to the 
main entry function is stored
but not called at this point. The entry function is called later when the 
conference instance is created and
registered. I entered the following two debug output lines just before and 
after the main entry function is executed(Load.c)

<<      
        log_debug(ZONE,"Calling main function  %s\n",xmlnode2str(x));
        ((load_init)f)(id, x); /* fire up the main function for this extension 
*/
	log_debug(ZONE,"After Calling main function  %s\n",xmlnode2str(x));
>>

It seems that for other modules such as jsm.dll,dnsrv.dll, there are plenty of 
debug outputs between the
before-after calls, but there are none for the conference component. It seems  
that the library is correctly loaded and the pointer to the main entry 
functions is correctly stored but for 
some reason the function is not getting executed.

I have created the conference component using exactly the same makefile 
settings as for the other components.

Thanks,

S. Sarkar

-----Original Message-----
From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
Thomas Muldowney
Sent: Tuesday, July 09, 2002 11:40 AM
To: jdev at jabber.org
Subject: RE: [JDEV] Conference component is silent


Are you sure the service is not commented out?  Watch the debug log
during startup to see if the conference is loaded correctly.

--temas


On Mon, 2002-07-08 at 20:45, sarkar at boo.net wrote:
> The debug output just after a user has connected to the conference:
> 
> ------------------------------------------------------------------------------
-
> Mon Jul  8 22:34:34 2002  mio.c:620 mio while loop, working
> Mon Jul  8 22:34:34 2002  mio.c:760 MIO read from socket 15:
> Mon Jul  8 22:34:34 2002  mio.c:607 mio while loop top
> Mon Jul  8 22:35:10 2002  mio.c:620 mio while loop, working
> Mon Jul  8 22:35:10 2002  mio.c:760 MIO read from socket 15: <presence 
to="ChatR
> oom at conference.localhost/MyNickName"/>
> Mon Jul  8 22:35:10 2002  c2s [client.c:277] pthsock_client_read called with: 
m:
> A05B170 flag:3 arg:A05B270
> Mon Jul  8 22:35:10 2002  deliver.c:474 DELIVER 4:localhost <route 
to='ssarkar at l
> ocalhost/A16CCE0' from='15 at c2s/A05B170'><presence 
to='ChatRoom at conference.localh
> ost/MyNickName'/></route>
> Mon Jul  8 22:35:10 2002  deliver.c:678 delivering to instance 'sessions'
> Mon Jul  8 22:35:10 2002  deliver.c:94 (A01CBC0)incoming packet <route 
to='ssark
> ar at localhost/A16CCE0' from='15 at c2s/A05B170'><presence 
to='ChatRoom at conference.lo
> calhost/MyNickName'/></route>
> Mon Jul  8 22:35:10 2002  users.c:143 js_user(ssarkar at localhost,A0B9F80)
> Mon Jul  8 22:35:10 2002  mtq A0CB938 entering from pth
> Mon Jul  8 22:35:10 2002  mtq A0CB938 queue call A0B8C78
> Mon Jul  8 22:35:10 2002  sessions.c:246 THREAD:SESSION:FROM received a 
packet!
> Mon Jul  8 22:35:10 2002  modules.c:135 mapi_call 1
> Mon Jul  8 22:35:10 2002  modules.c:158 MAPI A16CFA8
> Mon Jul  8 22:35:10 2002  modules.c:158 MAPI A16CFF0
> Mon Jul  8 22:35:10 2002  mod_presence.c:337 track presence sent to jids
> Mon Jul  8 22:35:10 2002  modules.c:158 MAPI A16D000
> Mon Jul  8 22:35:10 2002  modules.c:175 mapi_call returning unhandled
> Mon Jul  8 22:35:10 2002  deliver.c:257 deliver(to
[ChatRoom at conference.localhost
> /MyNickName],from[ssarkar at localhost/Exodus],type[2],packet[<presence 
to='ChatRoo
> m at conference.localhost/MyNickName' from='ssarkar at localhost/Exodus'/>])
> Mon Jul  8 22:35:10 2002  deliver.c:474 DELIVER 1:conference.localhost 
<presence
>  to='ChatRoom at conference.localhost/MyNickName' 
from='ssarkar at localhost/Exodus'/>
> 
> Mon Jul  8 22:35:10 2002  deliver.c:678 delivering to 
instance 'conference.local
> host'
> Mon Jul  8 22:35:10 2002  mtq A0CB938 leaving to pth
> Mon Jul  8 22:35:10 2002  mio.c:607 mio while loop top
> Mon Jul  8 22:35:17 2002  jabberd.c:255 main load check of 1.00 with 14 total 
th
> reads
> Mon Jul  8 22:35:20 2002  users.c:88 checking users for host localhost
> Mon Jul  8 22:35:20 2002  usercount 1   total users
> ------------------------------------------------------------------------------
--
> ----
> S. Sarkar
> 
> -----Original Message-----
> From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
> Thomas Muldowney
> Sent: Friday, July 05, 2002 11:44 AM
> To: jdev at jabber.org
> Subject: Re: [JDEV] Conference component is silent
> 
> 
> Do you have any debug output from the jabberd when a user tries to
> connect to the conference?
> 
> --temas


---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/





More information about the JDev mailing list