Safford is right, the double compjid is confusing things.  It should
look similar to:

     <jid>yahoo.jabber.domain</jid>
     <compjid>yahoolinker-1</compjid>
     <confjid>chat.yahoo.jabber.domain</confjid>
     <discoName>Yahoo! Transport</discoName>

jid & confjid are what show up in the service discovery window in
jabber clients (and what the transport thinks of itself as.  compjid
is what it logs on to the jabber server as (actually very similar to
the way saslUsername is used for jabberd2 binding)

I think you might want to make the XCP config:description value the
same as the PyYIMt discoName too. (That way the disco:items and
disco:info match)

On 2/28/07, Safford, Brian <[EMAIL PROTECTED]> wrote:
> Seems you have compjid defined twice ...
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Nate
> Pinchot
> Sent: Wednesday, February 28, 2007 12:52 PM
> To: [email protected]
> Subject: [py-transports] Help with PyYIMt and Jabber XCP
>
> Hello,
> If anybody can shed any light on the problems I'm running into with
> PyYIMt and Jabber XCP 5.2 (latest version) it would be greatly
> appreciated.
>
> I downloaded the CVS for PyYIMt a few days ago and redownloaded again
> today since I noticed there were some changes.
> I'm pretty much at the point of extreme frustration due to lack of XCP
> documentation on what I need to "do" in order to get it to recognize the
> transport.
> I have set up an OpenPort component in XCP with an id that matches the
> 'compjid' setting in config.xml.
> I downloaded a java based client called JBother and am using that to
> test. If there is a better client I should be using please let me know.
> I am not getting any errors but I am not getting anything good either.
> The XCP control panel shows the component as stopped. When I try to do a
> service discovery there are no extra services. When I try to do a
> register service directly to 'yahoolinker' or 'yahoolinker-1' or
> 'yahoolinker.jabber' etc, I just get a message in the XCP logs that
> says:
>
> [info] deliver.c:1733 20070228T17:24:24 Queueing message until
> 'yahoolinker-1.jabber' is available
>
>
> Here is my config.xml file for PyYIMt:
>
> <?xml version="1.0" ?>
> <pyyimt>
>     <jid>yahoolinker.jabber</jid>
>     <compjid>yahoolinker-1</compjid>
>     <confjid>chat-yahoolinker.jabber</confjid>
>     <compjid>chat-yahoolinker-1</compjid>
>     <discoName>Yahoo! Transport</discoName>
>     <spoolFile>yahoouser.dbm</spoolFile>
>     <pid>PyYIMt.pid</pid>
>     <mainServer>127.0.0.1</mainServer>
>     <mainServerJID>servername.mydomain.com</mainServerJID>
>     <port>7400</port>
>     <secret>secret</secret>
>     <allowRegister/>
>     <admins>
>     </admins>
>     <debugFile>yahooerror.log</debugFile>
>     <dumpProtocol/>
> </pyyimt>
>
>
> Also, here is my Jabber XCP OpenPort config file for 'yahoolinker-1':
>
> <op:component xmlns:op="http://www.jabber.com/config/open-port";
> xmlns:config="http://www.jabber.com/config"; config:description="Yahoo!"
> config:id="yahoolinker-1" config:runlevel="70"
> config:shutdown-timeout="60" config:version="10"
> xmlns="http://www.jabber.com/config";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://www.jabber.com/config/open-port
> /opt/jabber/XCP_5.2/schemas/xsd/config/open-port/open-port.xsd">
>   <properties xmlns="http://www.jabber.com/config";>
>     <queue-size>512</queue-size>
>     <bounce>1</bounce>
>   </properties>
>   <service xmlns="http://www.jabber.com/config";>
>     <hosts>
>       <host>*</host>
>     </hosts>
>   </service>
>   <op:config xmlns:op="http://www.jabber.com/config/open-port"/>
> </op:component>
>
>
>
> Again, any help would be greatly appreciated. I may be doing something
> very wrong and stupid, this is the first time I have set up both Jabber
> XCP and PyYIMt. Thanks.
>
> Nate
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports
>


-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
_______________________________________________
py-transports mailing list
[email protected]
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to