[JDEV] How to add JIT Transport using xdb_sql for backend

Ju-Shan Cheng raicy at wayi.com.tw
Mon Sep 15 22:04:12 CDT 2003


I cannot find definitely documents about the using xdb_sql for jit's backend.
And I had tried many methods, icq tranport still doesn't work . :(

So I raise some questions and installation procedures, please help me.

1. All I have to change is <xdb> in jabber.xml, right?
   I had changed to the following: 
   
   <xdb id="xdb">
     <host>lnx1.abc.com.tw<host/>
     <ns>jabber:iq:roster</ns>
     <ns>jabber:x:offline</ns>
     <ns>jabber:iq:filter</ns>
     <ns>jabber:iq:last</ns>
     <ns>jabber:iq:auth</ns>
     <ns>jabber:iq:auth:0k</ns>
     <ns>jabber:iq:register</ns>
     <ns>vcard-temp</ns>
     <load>
       <xdb_sql>./xdb_sql/xdb_sql.so</xdb_sql>
     </load>
     <jabberd:include>./xdb_sql/xdb_sql.xml</jabberd:include>
   </xdb>
   
   Is there any error above?

2. Should I change the icq.xml?
   Should I add something like this?
     <xdb id="xdb">
     <host/>
     <load>
       <xdb_sql>./xdb_sql/xdb_sql.so</xdb_sql>
     </load>
 
     <jabberd:include>./xdb_sql/xdb_sql.xml</jabberd:include>
     </xdb>
     
3. Should I change the xdb_sql.xml?
   What should I change?
   
Any pointer will be helpful!!
Thanks a lot!




More information about the JDev mailing list