[jdev] Help ! I learned to build xmpp Server.I used the spark as Client.But I am failed.

Matthias Wimmer m at tthias.eu
Wed Jan 17 09:45:19 CST 2007

Zuo Shuai schrieb:
> <?xml version='1.0' encoding='UTF-8'?><stream:stream 
> xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" 
> from="isolation" id="5d19066" xml:lang="en" version="1.0">
> <stream:features><starttls 
> xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms 
> xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><compression 
> xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth 
> xmlns="http://jabber.org/features/iq-auth"/><register 
> xmlns="http://jabber.org/features/iq-register"/></stream:features>
> but the Spark client send:
> name id="sc340" unavailable

I do not think, that Spark sends this - the last line is not correct XMPP.

Either your client is broken, or it is not what it is sending (e.g. it 
might be just a notice in XML console of your client).

If it is not what you already have done: Use something like Wireshark to 
dump the network connection between your client and the server.


Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/

More information about the JDev mailing list