[jadmin] Client not connecting to jadc2s

jennyferforero jennyferforero at hotmail.com
Wed Jun 6 15:13:59 CDT 2007


Buenos días a todos

En mi empresa manejamos ejabberd y como cliente PSI
Me gustaría saber si alguno sabe si se puede tener un registro de la hora en
que los usuarios se conectan y se desconectan, para controlar la hora de
ingreso del personal.

Gracias por su ayuda

Jennyfer

-----Mensaje original-----
De: jadmin-bounces at jabber.org [mailto:jadmin-bounces at jabber.org] En nombre
de Sapna Natarajan
Enviado el: Miércoles, 06 de Junio de 2007 01:21 p.m.
Para: Jabber server administration list
Asunto: Re: [jadmin] Client not connecting to jadc2s

Does anyone have a sample jabber.xml and jadc2.xml when the c2s is 
running on a separate machine from the jabberd server ? I need one for 
version Jabber14 server.

Thanks in advance for your help.

Sapna Natarajan wrote:
> I have a Jabber14 server "sysmsg" and jadc2s "jadc2s" running on 2 
> separate machines.  I edited the jabber.xml file to add the c2s 
> component as follows
>
> <service id="jadc2s">
>   <accept>
>       <ip/>
>       <port>5111</port>
>       <secret>secret</secret>
>   </accept>
> </service>
>
> I edited the jadc2s.xml as follows.
>
> <jadc2s>
>   <sm>
>       <host>sysmsg</host>
>       <port>5111</port>
>       <secret>secret</secret>
>       <id>jadc2s</id>
>       <retries>5</retries>
>   </sm>
>
>   <!--  local network 
> settings                                           -->
>   <local>
>       <!--  who we identify ourselves as. This should correspond to 
> the  -->
>       <!--  ID (host) that the session manager thinks it 
> is.             -->
>       <id>jadc2s</id>
>       <port>5222</port>
>   </local>
>
>   <!--  input/output 
> settings                                            -->
>   <io>
>       <max_fds>10007</max_fds>
>       <max_bps>0</max_bps>
>       <connection_limits>
>           <connects>0</connects>
>           <seconds>0</seconds>
>       </connection_limits>
>   </io>
> </jadc2s>
>
> After starting up the jadc2s, the logs indicate that the connection to 
> sm at port 5111 completed and it is listening for client connection on 
> port 5222.
> I have a client that is trying to connect to "jadc2s" on port 5222. 
> The jadc2s debug shows that it receives the XML from my client.
>
> <?xml version='1.0' ?><stream:stream to='jadc2s' xmlns='jabber:client' 
> xmlns:stream='http://etherx.jabber.org/streams'  xml:lang='en' 
> version='1.0'>
>
> However, it does not seem to send a response back to the client. The 
> client gets disconnected right away. Can you please point to me what I 
> am doing wrong ? Thanks !
> _______________________________________________
> JAdmin mailing list
> JAdmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________

_______________________________________________
JAdmin mailing list
JAdmin at jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________



More information about the JAdmin mailing list