[JDEV] Jabberbean applet -- IE

Leon Kwan leon at icon.com.hk
Wed Oct 18 05:55:43 CDT 2000


Hello all,

I have used JabberBean to implement the client in
Java Applet version.

But what I develop can run on Netscape communicator
but not IE.

when user IE to run my applet, the console will
output:

java.lang.RuntimeException: Death of output thread
 at org/jabber/jabberbeans/sax/ProtocolHandler.onOutputDeath
 at org/jabber/jabberbeans/sax/OutputStreamHandler.run
ISH: SAX:Socket read failed

According to the packet listener, after the applet send
the following two packets, then exception occurs.

1.
<?xml version='1.0'?>
<stream:stream to="redhat.icon.com.hk"
xmlns="jabber:client"xmlns:stream="http://etherx.jabber.org/streams">
2.
<iq id="0" type="set">
<query mlns="jabber:iq:auth">
<username>leonkwan</username>
<password>leonkwan</password>
<resource>JabberApplet</resource>
</query>
</iq>

Any genius know the reason and have the solution?

-Leon





More information about the JDev mailing list