javax.xml.bind.JAXBException when reconnect

Issue #131 invalid
Former user created an issue

Hi Christian,

xmpp.rocks is really great for implementing XMPP clients. However, I have some trouble with reconnection with the following workflow: * Connect to XMPP server with wrong IP -> after a long time -> timeout exception * Configure the correct IP adress -> javax.xml.bind.JAXBException: class rocks.xmpp.extensions.httpbind.model.Body nor any of its super class is known to this context.

After some time a second attempt is successful. Are you aware of this issue? I call xmppClient->close() before reconnecting.

Overall, the software runs very stable. Thx. Best. Rü

Comments (3)

  1. Christian Schudt repo owner

    Hi, no I am not aware of this issue. The JAXContext is built once for each XmppSessionConfiguration and should include the Body class. Can you try a more recent version (0.7.5) please?

  2. Log in to comment