[jadmin] Client not connecting to jadc2s
Sapna Natarajan
snatarajan at building-b.com
Tue Jun 5 13:26:50 CDT 2007
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 !
More information about the JAdmin
mailing list