[JDEV] XDB_SQL & transports

Rodrigo Roman dedalo at ferengi.com.ar
Tue Mar 5 06:01:08 CST 2002


finally I made an advance to make transports work with mysql (it didn't
work for me... and still doesn't)
Now when I add a transport to my roster ther this information is saved
into 2 tables, rosterusers (always did) and aim (this is new).
 
Well now xdb_is saving data, also I saw in the debug that it is getting
the data. but still have a problem.
 
It cannot get presence to the transport. this is my debug:
 
Tue Mar  5 02:49:31 2002  mio.c:760 MIO read from socket 22: <presence
to="aim.hermes.ferengi.com.ar" type="available"/>
Tue Mar  5 02:49:31 2002  c2s [client.c:277] pthsock_client_read called
with: m:81A2198 flag:3 arg:81A22A0
Tue Mar  5 02:49:31 2002  deliver.c:474 DELIVER 4:hermes.ferengi.com.ar
<route to='dedalo at hermes.ferengi.com.ar/825AB08' 
from='22 at c2s/81A2198'><presence <mailto:from='22 at c2s/81A2198'>
to='aim.hermes.ferengi.com.ar' type='available'/></route>
Tue Mar  5 02:49:31 2002  deliver.c:678 delivering to instance
'sessions'
Tue Mar  5 02:49:31 2002  deliver.c:94 (81174D0)incoming packet <route
to='dedalo at hermes.ferengi.com.ar/825AB08' from='22
@c2s/81A2198'><presence to='aim.hermes.ferengi.com.ar'
type='available'/></route>
Tue Mar  5 02:49:31 2002  users.c:143
js_user(dedalo at hermes.ferengi.com.ar,81A4FE8)
Tue Mar  5 02:49:31 2002  mtq 81B69A0 entering from pth
Tue Mar  5 02:49:31 2002  mtq 81B69A0 queue call 8259EB8
Tue Mar  5 02:49:31 2002  sessions.c:246 THREAD:SESSION:FROM received a
packet!
Tue Mar  5 02:49:31 2002  modules.c:135 mapi_call 1
Tue Mar  5 02:49:31 2002  modules.c:158 MAPI 825AE00
Tue Mar  5 02:49:31 2002  modules.c:158 MAPI 825AE48
Tue Mar  5 02:49:31 2002  mod_presence.c:337 track presence sent to jids
Tue Mar  5 02:49:31 2002  modules.c:158 MAPI 825AE58
Tue Mar  5 02:49:31 2002  modules.c:175 mapi_call returning unhandled
Tue Mar  5 02:49:31 2002  deliver.c:257
deliver(to[aim.hermes.ferengi.com.ar],from[dedalo at hermes.ferengi.com.ar/
Hermes],t
ype[2],packet[<presence to='aim.hermes.ferengi.com.ar'
from='dedalo at hermes.ferengi.com.ar/Hermes'/>])
Tue Mar  5 02:49:31 2002  deliver.c:474 DELIVER
1:aim.hermes.ferengi.com.ar <presence to='aim.hermes.ferengi.com.ar'
from
='dedalo at hermes.ferengi.com.ar/Hermes'/>
Tue Mar  5 02:49:31 2002  deliver.c:678 delivering to instance
'aimlinker'
Tue Mar  5 02:49:31 2002  mtq 81B69A0 leaving to pth
Tue Mar  5 02:49:31 2002  mio.c:607 mio while loop top
Tue Mar  5 02:49:49 2002  deliver.c:606 delivery failed (Internal
Timeout)
Tue Mar  5 02:49:49 2002  log.c:116 <log type='notice'
from='aim.hermes.ferengi.com.ar'>bouncing a packet to aim.hermes.f
erengi.com.ar from dedalo at hermes.ferengi.com.ar/Hermes: Internal
Timeout</log>
Tue Mar  5 02:49:49 2002  deliver.c:474 DELIVER
3:aim.hermes.ferengi.com.ar <log type='notice'
from='aim.hermes.ferengi.c
om.ar'>bouncing a packet to aim.hermes.ferengi.com.ar from
dedalo at hermes.ferengi.com.ar/Hermes: Internal Timeout</log>
Tue Mar  5 02:49:49 2002  deliver.c:678 delivering to instance 'elogger'
20020305T10:49:49: [notice] (aim.hermes.ferengi.com.ar): bouncing a
packet to aim.hermes.ferengi.com.ar from dedalo at herme
s.ferengi.com.ar/Hermes: Internal Timeout
Tue Mar  5 02:49:49 2002  deliver.c:474 DELIVER 1:hermes.ferengi.com.ar
<presence to='dedalo at hermes.ferengi.com.ar/Hermes
' from='aim.hermes.ferengi.com.ar' type='error'><error
code='502'>Internal Timeout</error></presence>
Tue Mar  5 02:49:49 2002  deliver.c:678 delivering to instance
'sessions'
Tue Mar  5 02:49:49 2002  deliver.c:94 (81174D0)incoming packet
<presence to='dedalo at hermes.ferengi.com.ar/Hermes' from='
aim.hermes.ferengi.com.ar' type='error'><error code='502'>Internal
Timeout</error></presence>
Tue Mar  5 02:49:49 2002  users.c:143
js_user(dedalo at hermes.ferengi.com.ar,81A4FE8)
Tue Mar  5 02:49:49 2002  deliver.c:55 delivering locally to
dedalo at hermes.ferengi.com.ar/Hermes
Tue Mar  5 02:49:49 2002  modules.c:135 mapi_call 3
Tue Mar  5 02:49:49 2002  modules.c:158 MAPI 8120328
Tue Mar  5 02:49:49 2002  mod_presence deliver phase
Tue Mar  5 02:49:49 2002  modules.c:175 mapi_call returning unhandled
Tue Mar  5 02:49:49 2002  mtq 81B69A0 entering from pth
Tue Mar  5 02:49:49 2002  mtq 81B69A0 queue call 825C9B8
Tue Mar  5 02:49:49 2002  sessions.c:301 THREAD:SESSION:TO received data
from aim.hermes.ferengi.com.ar!
Tue Mar  5 02:49:49 2002  modules.c:135 mapi_call 0
Tue Mar  5 02:49:49 2002  modules.c:158 MAPI 825AE38
Tue Mar  5 02:49:49 2002  mod_presence incoming filter for
dedalo at hermes.ferengi.com.ar/Hermes
Tue Mar  5 02:49:49 2002  modules.c:175 mapi_call returning unhandled
Tue Mar  5 02:49:49 2002  deliver.c:474 DELIVER 4:c2s <route
from='dedalo at hermes.ferengi.com.ar/825AB08' to='22 at c2s/81A21
98'><presence to='dedalo at hermes.ferengi.com.ar/Hermes'
from='aim.hermes.ferengi.com.ar' type='error'><error code='502'>In
ternal Timeout</error></presence></route>
Tue Mar  5 02:49:49 2002  deliver.c:678 delivering to instance 'c2s'
Tue Mar  5 02:49:49 2002  c2s [client.c:164]
dedalo at hermes.ferengi.com.ar/825AB08 has an active session, delivering
packe
t
Tue Mar  5 02:49:49 2002  c2s [client.c:236] Writing packet to MIO:
<presence to='dedalo at hermes.ferengi.com.ar/Hermes' fr
om='aim.hermes.ferengi.com.ar' type='error'><error code='502'>Internal
Timeout</error></presence>
Tue Mar  5 02:49:49 2002  mio.c:1054 mio_write called on x: 8259700
buffer: (null)
Tue Mar  5 02:49:49 2002  mtq 81B69A0 leaving to pth
Tue Mar  5 02:49:49 2002  mio.c:620 mio while loop, working
Tue Mar  5 02:49:49 2002  mio.c:279 write_dump writing data: <presence
to='dedalo at hermes.ferengi.com.ar/Hermes' from='aim
.hermes.ferengi.com.ar' type='error'><error code='502'>Internal
Timeout</error></presence>
Tue Mar  5 02:49:49 2002  mio.c:607 mio while loop top
 
I'm using different processes for transports and I have 2 versions of
multiple.xml one to hadle xdb_file and other for xdb_sql in the sabe
server, if I use xdb_file it get presence OK (so aim transport is
properly installed).
 
any help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20020305/16d432f7/attachment-0002.htm>


More information about the JDev mailing list