Hi Emma!

Emma Willis wrote:

>I am definitely authenticated and when I print out the packet that has
>failed, I also print out the connectionstatus... it says it is connected.
>  
>
As I wrote you some days ago ... don't trust the connection status of 
JabberBeans. Check with a networing tool or in the logfile ot the jabber 
server if you are really connected.
E.g. you loose the connection if a NullPointerException is thrown in a 
method that handles incoming packets. (E.g. because you expect an 
attribute that isn't in the packet. It's a good idea to catch all 
exceptions that you generate in your packet handling functions in the 
method that is invoked for an incoming packet.


Tot kijk
   Matthias

-- 
Fon: +49-700 77007770           http://matthias-wimmer.de/
Fax: +49-89 312 88654           jabber:[EMAIL PROTECTED]


_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to